Home
last modified time | relevance | path

Searched refs:contentWidth (Results 1 – 19 of 19) sorted by relevance

/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/
H A DAuthPanelController.java120 public void updateForContentDimensions(int contentWidth, int contentHeight, in updateForContentDimensions() argument
123 Log.v(TAG, "Content Width: " + contentWidth in updateForContentDimensions()
159 ValueAnimator widthAnimator = ValueAnimator.ofInt(mContentWidth, contentWidth); in updateForContentDimensions()
174 mContentWidth = contentWidth; in updateForContentDimensions()
/aosp12/frameworks/base/core/java/com/android/internal/widget/
H A DTextProgressBar.java154 int contentWidth = mProgressBar.getWidth() - (params.leftMargin + params.rightMargin); in onChronometerTick() local
155 int leadingEdge = ((contentWidth * mProgressBar.getProgress()) / in onChronometerTick()
169 int rightLimit = contentWidth - params.rightMargin - textWidth; in onChronometerTick()
H A DActionBarContextView.java316 final int contentWidth = MeasureSpec.getSize(widthMeasureSpec); in onMeasure() local
322 int availableWidth = contentWidth - getPaddingLeft() - getPaddingRight(); in onMeasure()
339 final int titleWidthSpec = MeasureSpec.makeSafeMeasureSpec(contentWidth, in onMeasure()
377 setMeasuredDimension(contentWidth, measuredHeight); in onMeasure()
379 setMeasuredDimension(contentWidth, maxHeight); in onMeasure()
H A DActionBarView.java914 int contentWidth = MeasureSpec.getSize(widthMeasureSpec); in onMeasure() local
926 int availableWidth = contentWidth - paddingLeft - paddingRight; in onMeasure()
1077 setMeasuredDimension(contentWidth, measuredHeight); in onMeasure()
1079 setMeasuredDimension(contentWidth, maxHeight); in onMeasure()
1088 contentWidth - mProgressBarPadding * 2, MeasureSpec.EXACTLY), in onMeasure()
/aosp12/packages/apps/Launcher3/src/com/android/launcher3/views/
H A DWidgetsEduView.java90 int contentWidth = mContent.getMeasuredWidth(); in onLayout() local
91 int contentLeft = (width - contentWidth - mInsets.left - mInsets.right) / 2 + mInsets.left; in onLayout()
93 contentLeft + contentWidth, height); in onLayout()
/aosp12/packages/apps/Launcher3/quickstep/src/com/android/launcher3/taskbar/
H A DTaskbarEduView.java118 int contentWidth = mContent.getMeasuredWidth(); in onLayout() local
119 int contentLeft = (width - contentWidth - mInsets.left - mInsets.right) / 2 + mInsets.left; in onLayout()
121 contentLeft + contentWidth, height); in onLayout()
/aosp12/packages/apps/Gallery2/src/com/android/gallery3d/glrenderer/
H A DTiledTexture.java117 public int contentWidth; field in TiledTexture.Tile
122 contentWidth = width; in setSize()
285 src.set(0, 0, t.contentWidth, t.contentHeight); in drawMixed()
304 src.set(0, 0, t.contentWidth, t.contentHeight); in draw()
327 src.set(0, 0, t.contentWidth, t.contentHeight); in draw()
/aosp12/packages/apps/Settings/src/com/android/settings/display/
H A DConversationMessageView.java135 final int contentWidth = (right -left) - iconWidth - getPaddingLeft() - getPaddingRight(); in onLayout() local
145 contentLeft = iconLeft - contentWidth; in onLayout()
156 contentLeft = iconLeft - contentWidth; in onLayout()
162 mMessageBubble.layout(contentLeft, contentTop, contentLeft + contentWidth, in onLayout()
/aosp12/packages/apps/Launcher3/src/com/android/launcher3/widget/
H A DAddItemWidgetsBottomSheet.java97 int contentWidth = mContent.getMeasuredWidth(); in onLayout() local
98 int contentLeft = (width - contentWidth - mInsets.left - mInsets.right) / 2 + mInsets.left; in onLayout()
100 contentLeft + contentWidth, height); in onLayout()
H A DWidgetsBottomSheet.java152 int contentWidth = mContent.getMeasuredWidth(); in onLayout() local
153 int contentLeft = (width - contentWidth - mInsets.left - mInsets.right) / 2 + mInsets.left; in onLayout()
155 contentLeft + contentWidth, height); in onLayout()
/aosp12/frameworks/base/core/java/android/widget/
H A DActivityChooserView.java404 final int contentWidth = Math.min(mAdapter.measureContentWidth(), mListPopupMaxWidth); in showPopupUnchecked() local
405 popupWindow.setContentWidth(contentWidth); in showPopupUnchecked()
806 int contentWidth = 0; in measureContentWidth() local
816 contentWidth = Math.max(contentWidth, itemView.getMeasuredWidth()); in measureContentWidth()
821 return contentWidth; in measureContentWidth()
H A DSpinner.java1240 int contentWidth = measureContentWidth( in computeContentWidth() local
1244 if (contentWidth > contentWidthLimit) { in computeContentWidth()
1245 contentWidth = contentWidthLimit; in computeContentWidth()
1248 contentWidth, spinnerWidth - spinnerPaddingLeft - spinnerPaddingRight)); in computeContentWidth()
H A DHorizontalScrollView.java1358 final int contentWidth = getWidth() - mPaddingLeft - mPaddingRight; in computeHorizontalScrollRange() local
1360 return contentWidth; in computeHorizontalScrollRange()
1365 final int overscrollRight = Math.max(0, scrollRange - contentWidth); in computeHorizontalScrollRange()
H A DEditor.java5226 final float contentWidth = Math.round(mMagnifierAnimator.mMagnifier.getWidth() in obtainMagnifierShowCoordinates() local
5228 if (touchXInView < leftBound - contentWidth / 2 in obtainMagnifierShowCoordinates()
5229 || touchXInView > rightBound + contentWidth / 2) { in obtainMagnifierShowCoordinates()
/aosp12/frameworks/base/tests/JankBench/app/src/main/java/com/android/benchmark/app/
H A DPerfTimeline.java122 int contentWidth = getWidth() - paddingLeft - paddingRight; in onDraw() local
/aosp12/packages/apps/Launcher3/src/com/android/launcher3/widget/picker/
H A DWidgetsFullSheet.java412 int contentWidth = mContent.getMeasuredWidth(); in onLayout() local
413 int contentLeft = (width - contentWidth - mInsets.left - mInsets.right) / 2 + mInsets.left; in onLayout()
415 contentLeft + contentWidth, height); in onLayout()
/aosp12/packages/apps/Messaging/src/com/android/messaging/ui/conversation/
H A DConversationMessageView.java198 final int contentWidth = (right -left) - iconWidth - getPaddingLeft() - getPaddingRight(); in onLayout() local
207 contentLeft = iconLeft - contentWidth; in onLayout()
218 contentLeft = iconLeft - contentWidth; in onLayout()
224 mMessageBubble.layout(contentLeft, contentTop, contentLeft + contentWidth, in onLayout()
/aosp12/packages/apps/Launcher3/src/com/android/launcher3/folder/
H A DFolder.java1164 int contentWidth = getContentAreaWidth(); in onMeasure() local
1167 int contentAreaWidthSpec = MeasureSpec.makeMeasureSpec(contentWidth, MeasureSpec.EXACTLY); in onMeasure()
1170 mContent.setFixedSize(contentWidth, contentHeight); in onMeasure()
1184 int folderWidth = getPaddingLeft() + getPaddingRight() + contentWidth; in onMeasure()
/aosp12/packages/apps/Messaging/src/com/android/messaging/datamodel/data/
H A DConversationMessageData.java251 final String contentWidth,
262 final int width = Integer.parseInt(contentWidth);