/packages/apps/Launcher3/quickstep/src/com/android/launcher3/taskbar/navbutton/ |
D | PhonePortraitNavLayoutter.kt | 56 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()
|
D | PhoneLandscapeNavLayoutter.kt | 56 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/ |
D | TiledTexture.java | 117 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/ |
D | AddItemWidgetsBottomSheet.java | 92 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()
|
D | WidgetCell.java | 346 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()
|
D | WidgetsBottomSheet.java | 101 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/ |
D | ConversationMessageView.java | 137 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/ |
D | ConversationMessageView.java | 198 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/ |
D | Folder.java | 1202 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/ |
D | WidgetsFullSheet.java | 460 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/ |
D | ConversationMessageData.java | 251 final String contentWidth, 262 final int width = Integer.parseInt(contentWidth);
|