Searched refs:getMeasuredWidth (Results 1 - 25 of 121) sorted by relevance

12345

/packages/apps/Camera2/src/com/android/camera/widget/
H A DSettingsCling.java63 float referenceRight = referenceView.getX() + referenceView.getMeasuredWidth();
64 setTranslationX(referenceRight - getMeasuredWidth());
70 float triangleStartX = getMeasuredWidth() - referenceView.getMeasuredWidth() / 2;
82 float triangleStartX = getMeasuredWidth() - referenceView.getMeasuredWidth() / 2;
H A DFilmstripLayout.java71 // thus getMeasuredWidth() can be 0.
306 mFilmstripContentLayout.setTranslationX(fraction * getMeasuredWidth());
311 mFilmstripContentTranslationProgress = pixel / getMeasuredWidth();
356 if (dx > 0 && mFilmstripContentLayout.getTranslationX() == getMeasuredWidth()) {
366 if (translate > getMeasuredWidth()) {
367 translate = getMeasuredWidth();
461 if (mFilmstripContentLayout.getTranslationX() >= getMeasuredWidth() / 2) {
525 int width = getMeasuredWidth() - mOffset;
532 canvas.drawRect(0, 0, getMeasuredWidth(), getMeasuredHeight(), mPaint);
/packages/apps/PackageInstaller/src/com/android/packageinstaller/permission/ui/
H A DManualLayoutFrame.java58 mWidth = getMeasuredWidth();
62 setMeasuredDimension(getMeasuredWidth(), mHeight);
/packages/apps/Launcher3/src/com/android/launcher3/
H A DBaseContainerView.java105 getMeasuredWidth() - (mInsets.right + mContainerBoundsInset), 0);
111 getMeasuredWidth() - mFixedSearchBarBounds.right,
117 getMeasuredWidth() - padding.right,
134 searchBarBounds.right <= getMeasuredWidth() &&
H A DDragLayer.java391 (int) (mTmpXY[0] + scale * descendant.getMeasuredWidth()),
443 r.set(left, top, left + v.getMeasuredWidth(), top + v.getMeasuredHeight());
600 coord[0] = lp.x + (int) (child.getMeasuredWidth() * (1 - childScale) / 2);
627 toX -= (dragView.getMeasuredWidth() - Math.round(scale * child.getMeasuredWidth())) / 2;
634 toX -= (dragView.getMeasuredWidth() - Math.round(scale * child.getMeasuredWidth())) / 2;
637 toX -= (Math.round(scale * (dragView.getMeasuredWidth()
638 - child.getMeasuredWidth()))) / 2;
661 view.getMeasuredWidth(), from
[all...]
/packages/apps/Gallery/src/com/android/camera/
H A DEvenlySpacedLayout.java58 width += child.getMeasuredWidth();
62 width = Math.max(width, child.getMeasuredWidth());
77 usedWidth += child.getMeasuredWidth();
88 int w = child.getMeasuredWidth();
115 int w = child.getMeasuredWidth();
/packages/apps/Calendar/src/com/android/calendar/recurrencepicker/
H A DWeekButton.java47 int w = getMeasuredWidth();
/packages/apps/Camera/src/com/android/camera/ui/
H A DRotateLayout.java81 final int w = getMeasuredWidth();
109 int w = getMeasuredWidth();
139 w = mChild.getMeasuredWidth();
146 h = mChild.getMeasuredWidth();
/packages/apps/LegacyCamera/src/com/android/camera/ui/
H A DStackLayout.java41 int width = child.getMeasuredWidth();
H A DRotateLayout.java71 w = mChild.getMeasuredWidth();
78 h = mChild.getMeasuredWidth();
H A DZoomControlBar.java76 mIconWidth = mZoomIn.getMeasuredWidth();
148 int sliderWidth = mZoomSlider.getMeasuredWidth();
H A DIndicatorControlWheelContainer.java104 int shutterButtonWidth = mShutterButton.getMeasuredWidth();
124 int desiredWidth = mShutterButton.getMeasuredWidth()
H A DSecondLevelIndicatorControlBar.java85 int iconWidth = firstIndicatorButton.getMeasuredWidth();
178 int iconWidth = mCloseIcon.getMeasuredWidth();
191 mDivider.layout(offsetX, padding, (offsetX + mDivider.getMeasuredWidth()),
/packages/apps/Messaging/src/com/android/messaging/ui/
H A DMaxHeightScrollView.java47 setMeasuredDimension(getMeasuredWidth(), Math.min(getMeasuredHeight(), mMaxHeight));
H A DLineWrapLayout.java71 int childMeasuredWidth = currChild.getMeasuredWidth() + startMargin + endMargin;
116 int childWidth = currChild.getMeasuredWidth();
145 int childWidth = currChild.getMeasuredWidth();
/packages/apps/Messaging/src/com/android/messaging/ui/conversation/
H A DMessageBubbleBackground.java38 int bubbleWidth = getMeasuredWidth() - widthPadding;
/packages/apps/Camera2/src/com/android/camera/ui/
H A DRotateLayout.java76 w = mChild.getMeasuredWidth();
83 h = mChild.getMeasuredWidth();
/packages/apps/DeskClock/src/com/android/deskclock/widget/
H A DEllipsizeLayout.java101 totalLength += child.getMeasuredWidth()
112 int maxWidth = ellipsizeView.getMeasuredWidth() - (totalLength - parentWidth);
/packages/experimental/Bummer/src/com/android/dreams/bummer/
H A DBummerView.java47 final float framew = parent.getMeasuredWidth();
49 final float textw = getMeasuredWidth();
/packages/screensavers/PhotoTable/src/com/android/dreams/phototable/
H A DBummerView.java47 final float framew = parent.getMeasuredWidth();
49 final float textw = getMeasuredWidth();
/packages/apps/Launcher2/src/com/android/launcher2/
H A DCling.java125 return new int[]{getMeasuredWidth() / 2, getMeasuredHeight() - (mButtonBarHeight / 2)};
127 return new int[]{getMeasuredWidth() - (mButtonBarHeight / 2), getMeasuredHeight() / 2};
132 return new int[]{getMeasuredWidth() - cornerXOffset, cornerYOffset};
201 Bitmap b = Bitmap.createBitmap(getMeasuredWidth(), getMeasuredHeight(),
225 mBackground.setBounds(0, 0, getMeasuredWidth(), getMeasuredHeight());
H A DPagedView.java552 if (DEBUG) Log.d(TAG, "\tmeasure-child" + i + ": " + child.getMeasuredWidth() + ", "
568 if (DEBUG) Log.d(TAG, "getRelativeChildOffset(): " + getMeasuredWidth() + ", "
579 getChildAt(0).getMeasuredWidth());
623 int widthSpec = MeasureSpec.makeMeasureSpec(getMeasuredWidth(), MeasureSpec.EXACTLY);
671 childLeft + child.getMeasuredWidth(), childTop + childHeight);
766 (getMeasuredWidth() - padding - getChildWidth(index)) / 2;
777 final int measuredWidth = child.getMeasuredWidth();
788 final int screenWidth = getMeasuredWidth();
821 int halfScreenSize = getMeasuredWidth() / 2;
966 return (x > (getMeasuredWidth()
[all...]
/packages/apps/Settings/src/com/android/settings/
H A DCreateShortcut.java82 Bitmap bitmap = Bitmap.createBitmap(view.getMeasuredWidth(), view.getMeasuredHeight(),
85 view.layout(0, 0, view.getMeasuredWidth(), view.getMeasuredHeight());
/packages/apps/Camera2/src/com/android/camera/tinyplanet/
H A DTinyPlanetPreview.java98 int size = Math.min(getMeasuredWidth(), getMeasuredHeight());
/packages/apps/UnifiedEmail/src/com/android/mail/ui/
H A DAttachmentTileGrid.java192 final int width = getMeasuredWidth();
193 int childLeft = (isRtl) ? width - getChildAt(0).getMeasuredWidth() : 0;
201 final int childWidth = child.getMeasuredWidth();

Completed in 864 milliseconds

12345