Home
last modified time | relevance | path

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

/packages/apps/Launcher3/quickstep/src/com/android/launcher3/taskbar/navbutton/
DPhonePortraitNavLayoutter.kt56 val contentWidth = totalWidth - roundedCornerContentMargin * 2 - contentPadding * 2 in layoutButtons() constant
59 val contextualButtonWidth = contentWidth / (0.25f + 0.5f + 1f + 0.5f + 0.25f) * 0.25f in layoutButtons()
61 val navButtonContainerWidth = contentWidth - contextualButtonWidth * 2 in layoutButtons()
DPhoneLandscapeNavLayoutter.kt56 val contentWidth = totalHeight - roundedCornerContentMargin * 2 - contentPadding * 2 in layoutButtons() constant
59 val contextualButtonHeight = contentWidth / (0.25f + 0.5f + 1f + 0.5f + 0.25f) * 0.25f in layoutButtons()
61 val navButtonContainerHeight = contentWidth - contextualButtonHeight * 2 in layoutButtons()
/packages/apps/Gallery2/src/com/android/gallery3d/glrenderer/
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()
/packages/apps/Launcher3/src/com/android/launcher3/widget/
DAddItemWidgetsBottomSheet.java92 int contentWidth = mContent.getMeasuredWidth(); in onLayout() local
93 int contentLeft = (width - contentWidth - mInsets.left - mInsets.right) / 2 + mInsets.left; in onLayout()
95 contentLeft + contentWidth, height); in onLayout()
DWidgetCell.java346 float contentWidth = view.getWidth(); in updateAppWidgetHostScale() local
353 contentWidth = 2 * Math.max(contentWidth / 2 - content.getLeft(), in updateAppWidgetHostScale()
354 content.getRight() - contentWidth / 2); in updateAppWidgetHostScale()
359 if (contentWidth <= 0 || contentHeight <= 0) { in updateAppWidgetHostScale()
364 mAppWidgetHostViewScale = Math.min(pWidth / contentWidth, pHeight / contentHeight); in updateAppWidgetHostScale()
DWidgetsBottomSheet.java101 int contentWidth = mContent.getMeasuredWidth(); in onLayout() local
102 int contentLeft = (width - contentWidth - mInsets.left - mInsets.right) / 2 + mInsets.left; in onLayout()
104 contentLeft + contentWidth, height); in onLayout()
/packages/apps/Settings/src/com/android/settings/display/
DConversationMessageView.java137 final int contentWidth = (right -left) - iconWidth - getPaddingLeft() - getPaddingRight(); in onLayout() local
147 contentLeft = iconLeft - contentWidth; in onLayout()
158 contentLeft = iconLeft - contentWidth; in onLayout()
164 mMessageBubble.layout(contentLeft, contentTop, contentLeft + contentWidth, in onLayout()
/packages/apps/Messaging/src/com/android/messaging/ui/conversation/
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()
/packages/apps/Launcher3/src/com/android/launcher3/folder/
DFolder.java1202 int contentWidth = getContentAreaWidth(); in onMeasure() local
1205 int contentAreaWidthSpec = MeasureSpec.makeMeasureSpec(contentWidth, MeasureSpec.EXACTLY); in onMeasure()
1208 mContent.setFixedSize(contentWidth, contentHeight); in onMeasure()
1214 int folderWidth = getPaddingLeft() + getPaddingRight() + contentWidth; in onMeasure()
/packages/apps/Launcher3/src/com/android/launcher3/widget/picker/
DWidgetsFullSheet.java460 int contentWidth = mContent.getMeasuredWidth(); in onLayout() local
461 int contentLeft = (width - contentWidth - mInsets.left - mInsets.right) / 2 + mInsets.left; in onLayout()
463 contentLeft + contentWidth, height); in onLayout()
/packages/apps/Messaging/src/com/android/messaging/datamodel/data/
DConversationMessageData.java251 final String contentWidth,
262 final int width = Integer.parseInt(contentWidth);