Searched refs:parentWidth (Results 1 – 7 of 7) sorted by relevance
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/ |
D | CenteredLinearLayout.java | 39 int parentWidth = MeasureSpec.getSize(widthMeasureSpec); in onMeasure() local 42 float value = TypedValue.applyDimension(TypedValue.COMPLEX_UNIT_DIP, parentWidth, in onMeasure() 44 if (mMaxWidth > 0 && parentWidth > mMaxWidth) { in onMeasure()
|
/packages/apps/Contacts/src/com/android/contacts/widget/ |
D | InterpolatingLayout.java | 205 int parentWidth = MeasureSpec.getSize(widthMeasureSpec); in onMeasure() local 228 int childWidth = params.resolveWidth(parentWidth); in onMeasure() 261 width += params.resolveLeftMargin(parentWidth) + params.resolveRightMargin(parentWidth); in onMeasure() 265 int remainder = parentWidth - width; in onMeasure()
|
/packages/apps/Dialer/java/com/android/contacts/common/util/ |
D | ContactListViewUtils.java | 32 ListView listView, int parentWidth, int listSpaceWeight, int listViewWeight) { in addPaddingToView() argument 37 (int) (parentWidth * paddingPercent * TEXT_LEFT_PADDING_TO_CARD_PADDING_RATIO), in addPaddingToView() 39 (int) (parentWidth * paddingPercent * TEXT_LEFT_PADDING_TO_CARD_PADDING_RATIO), in addPaddingToView()
|
/packages/apps/DeskClock/src/com/android/deskclock/widget/ |
D | EllipsizeLayout.kt | 80 val parentWidth = MeasureSpec.getSize(widthMeasureSpec) in onMeasure() constant 122 if (!outOfSpec && totalLength > parentWidth) { in onMeasure() 123 var maxWidth = ellipsizeView!!.measuredWidth - (totalLength - parentWidth) in onMeasure()
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
D | Utilities.java | 788 public static void rotateBounds(Rect inOutBounds, int parentWidth, int parentHeight, 797 inOutBounds.top = parentWidth - inOutBounds.right; 799 inOutBounds.bottom = parentWidth - origLeft; 802 inOutBounds.left = parentWidth - inOutBounds.right; 803 inOutBounds.right = parentWidth - origLeft;
|
/packages/modules/Permission/PermissionController/src/android/support/wearable/view/ |
D | WearableListView.java | 1153 final int parentWidth = getWidth(); in recycleViewsOutOfBounds() local 1162 if (v.hasFocus() || (v.getRight() >= 0 && v.getLeft() <= parentWidth && in recycleViewsOutOfBounds()
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/ |
D | ImageShow.java | 207 int parentWidth = MeasureSpec.getSize(widthMeasureSpec); in onMeasure() local 209 setMeasuredDimension(parentWidth, parentHeight); in onMeasure()
|