HomeSort by relevance Sort by last modified time
    Searched refs:getMeasuredWidth (Results 26 - 50 of 308) sorted by null

12 3 4 5 6 7 8 91011>>

  /cts/tests/tests/widget/src/android/widget/cts/
FrameLayoutTest.java 154 compareScaledPixels(60, textView.getMeasuredWidth());
156 assertEquals(textView.getMeasuredWidth(), frameLayout.getMeasuredWidth());
167 compareScaledPixels(50, button.getMeasuredWidth());
169 assertEquals(button.getMeasuredWidth(), frameLayout.getMeasuredWidth());
179 assertEquals(textView.getMeasuredWidth(), frameLayout.getMeasuredWidth());
  /frameworks/base/tests/WindowAnimationJank/src/android/windowanimationjank/
FlowLayout.java 59 final int childWidth = child.getMeasuredWidth();
100 final int childWidth = child.getMeasuredWidth();
  /frameworks/support/design/src/android/support/design/internal/
BaselineLayout.java 66 maxWidth = Math.max(maxWidth, child.getMeasuredWidth());
97 final int width = child.getMeasuredWidth();
BottomNavigationMenuView.java 149 params.width = child.getMeasuredWidth();
150 totalWidth += child.getMeasuredWidth();
170 child.layout(width - used - child.getMeasuredWidth(), 0, width - used, height);
172 child.layout(used, 0, child.getMeasuredWidth() + used, height);
174 used += child.getMeasuredWidth();
  /packages/apps/Camera2/src/com/android/camera/widget/
FilmstripLayout.java 71 // 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/LegacyCamera/src/com/android/camera/ui/
ZoomControlBar.java 76 mIconWidth = mZoomIn.getMeasuredWidth();
148 int sliderWidth = mZoomSlider.getMeasuredWidth();
IndicatorControlWheelContainer.java 104 int shutterButtonWidth = mShutterButton.getMeasuredWidth();
124 int desiredWidth = mShutterButton.getMeasuredWidth()
  /developers/build/prebuilts/gradle/ActivitySceneTransitionBasic/Application/src/main/java/com/example/android/activityscenetransitionbasic/
SquareFrameLayout.java 55 final int minSize = Math.min(getMeasuredWidth(), getMeasuredHeight());
  /developers/samples/android/ui/activityscenetransition/ActivitySceneTransitionBasic/Application/src/main/java/com/example/android/activityscenetransitionbasic/
SquareFrameLayout.java 55 final int minSize = Math.min(getMeasuredWidth(), getMeasuredHeight());
  /development/samples/ApiDemos/src/com/example/android/apis/view/
CustomLayout.java 102 child.getMeasuredWidth() + lp.leftMargin + lp.rightMargin);
105 child.getMeasuredWidth() + lp.leftMargin + lp.rightMargin);
108 child.getMeasuredWidth() + lp.leftMargin + lp.rightMargin);
153 final int width = child.getMeasuredWidth();
  /development/samples/browseable/ActivitySceneTransitionBasic/src/com.example.android.activityscenetransitionbasic/
SquareFrameLayout.java 55 final int minSize = Math.min(getMeasuredWidth(), getMeasuredHeight());
  /frameworks/base/core/java/com/android/internal/widget/
NotificationActionListLayout.java 134 usedWidth += c.getMeasuredWidth() + lp.rightMargin + lp.leftMargin;
145 usedWidth -= lastNotGoneChild.getMeasuredWidth() + lp.rightMargin + lp.leftMargin;
154 usedWidth += lastNotGoneChild.getMeasuredWidth() + lp.rightMargin + lp.leftMargin;
241 final int childWidth = child.getMeasuredWidth();
DialogViewAnimator.java 71 maxWidth = Math.max(maxWidth, child.getMeasuredWidth()
115 getMeasuredWidth() - getPaddingLeft() - getPaddingRight()
  /frameworks/base/packages/Keyguard/src/com/android/keyguard/
NumPadKey.java 157 int left = centerX - mDigitText.getMeasuredWidth() / 2;
159 mDigitText.layout(left, top, left + mDigitText.getMeasuredWidth(), bottom);
163 left = centerX - mKlondikeText.getMeasuredWidth() / 2;
164 mKlondikeText.layout(left, top, left + mKlondikeText.getMeasuredWidth(), bottom);
  /frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
KeyboardShortcutKeysLayout.java 66 int childWidth = child.getMeasuredWidth();
122 int currentChildWidth = currentChild.getMeasuredWidth();
169 int currentChildWidth = currentChild.getMeasuredWidth();
184 ? getChildAt(j + 1).getMeasuredWidth()
  /frameworks/rs/java/tests/RsCameraDemo/src/com/android/example/rscamera/
VerticalSeekBar.java 49 setMeasuredDimension(getMeasuredHeight(), getMeasuredWidth());
  /packages/apps/Launcher3/src/com/android/launcher3/shortcuts/
DeepShortcutTextView.java 61 mDragHandleBounds.offset(getMeasuredWidth() - mDragHandleBounds.width(), 0);
  /frameworks/base/core/java/android/app/
FragmentBreadCrumbs.java 215 childLeft = childRight - child.getMeasuredWidth();
219 childLeft = mPaddingLeft + (mRight - mLeft - child.getMeasuredWidth()) / 2;
220 childRight = childLeft + child.getMeasuredWidth();
226 childRight = childLeft + child.getMeasuredWidth();
254 maxWidth = Math.max(maxWidth, child.getMeasuredWidth());
  /packages/apps/Launcher2/src/com/android/launcher2/
Cling.java 125 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());
PagedView.java 552 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;
    [all...]
  /packages/apps/Launcher3/src/com/android/launcher3/dragndrop/
DragLayer.java 501 (int) (mTmpXY[0] + scale * descendant.getMeasuredWidth()),
553 r.set(left, top, left + v.getMeasuredWidth(), top + v.getMeasuredHeight());
708 coord[0] = lp.x + (int) (child.getMeasuredWidth() * (1 - childScale) / 2);
735 toX -= (dragView.getMeasuredWidth() - Math.round(scale * child.getMeasuredWidth())) / 2;
742 toX -= (dragView.getMeasuredWidth() - Math.round(scale * child.getMeasuredWidth())) / 2;
745 toX -= (Math.round(scale * (dragView.getMeasuredWidth()
746 - child.getMeasuredWidth()))) / 2;
769 view.getMeasuredWidth(), fromY + view.getMeasuredHeight())
    [all...]
  /frameworks/base/core/java/android/widget/
AbsoluteLayout.java 78 childRight = lp.x + child.getMeasuredWidth();
124 childLeft + child.getMeasuredWidth(),
DayPickerViewPager.java 77 maxWidth = Math.max(maxWidth, child.getMeasuredWidth());
119 getMeasuredWidth() - getPaddingLeft() - getPaddingRight(),
  /frameworks/base/packages/PrintSpooler/src/com/android/printspooler/widget/
PrintOptionsLayout.java 103 rowWidth += child.getMeasuredWidth() + childParams.getMarginStart()
153 final int childRight = childLeft + child.getMeasuredWidth();
  /frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
SignalTileView.java 96 left = right - indicator.getMeasuredWidth();
99 right = left + indicator.getMeasuredWidth();

Completed in 533 milliseconds

12 3 4 5 6 7 8 91011>>