HomeSort by relevance Sort by last modified time
    Searched full:getmeasuredwidth (Results 1 - 25 of 344) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /frameworks/base/core/tests/coretests/src/android/widget/layout/table/
CellSpanTest.java 67 int spanWidth = mA.getMeasuredWidth() + mB.getMeasuredWidth();
69 mSpanThenCell.getMeasuredWidth());
74 int spanWidth = mB.getMeasuredWidth() + mC.getMeasuredWidth();
76 mCellThenSpan.getMeasuredWidth());
81 int spanWidth = mA.getMeasuredWidth() + mB.getMeasuredWidth() +
82 mC.getMeasuredWidth();
83 assertEquals("span is broken", spanWidth, mSpan.getMeasuredWidth());
    [all...]
  /packages/apps/PackageInstaller/src/com/android/packageinstaller/permission/ui/
ManualLayoutFrame.java 56 mWidth = getMeasuredWidth();
68 final int contentLeft = (getMeasuredWidth() - content.getMeasuredWidth()) / 2;
70 final int contentRight = contentLeft + content.getMeasuredWidth();
  /packages/apps/Camera2/src/com/android/camera/widget/
SettingsCling.java 63 float referenceRight = referenceView.getX() + referenceView.getMeasuredWidth();
64 setTranslationX(referenceRight - getMeasuredWidth());
70 float triangleStartX = getMeasuredWidth() - referenceView.getMeasuredWidth() / 2;
82 float triangleStartX = getMeasuredWidth() - referenceView.getMeasuredWidth() / 2;
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/Gallery/src/com/android/camera/
EvenlySpacedLayout.java 58 width += child.getMeasuredWidth();
62 width = Math.max(width, child.getMeasuredWidth());
77 usedWidth += child.getMeasuredWidth();
88 int w = child.getMeasuredWidth();
115 int w = child.getMeasuredWidth();
  /frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
ControlBar.java 76 int measuredWidth = first.getMeasuredWidth() + second.getMeasuredWidth();
84 setMeasuredDimension(getMeasuredWidth() + totalExtraMargin, getMeasuredHeight());
HorizontalHoverCardSwitcher.java 52 if (!isRtl && mCardLeft + view.getMeasuredWidth() > rightLimit) {
53 params.leftMargin = rightLimit - view.getMeasuredWidth();
57 params.leftMargin = mCardRight - view.getMeasuredWidth();
  /frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
QSIconView.java 67 final int w = getMeasuredWidth();
70 final int iconLeft = (w - mIcon.getMeasuredWidth()) / 2;
121 child.layout(left, top, left + child.getMeasuredWidth(), top + child.getMeasuredHeight());
  /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/packages/SystemUI/src/com/android/systemui/recents/views/
FixedSizeFrameLayout.java 73 measureContents(getMeasuredWidth(), getMeasuredHeight());
92 int width = getMeasuredWidth();
  /packages/apps/LegacyCamera/src/com/android/camera/ui/
RotateLayout.java 71 w = mChild.getMeasuredWidth();
78 h = mChild.getMeasuredWidth();
  /packages/experimental/Bummer/src/com/android/dreams/bummer/
BummerView.java 47 final float framew = parent.getMeasuredWidth();
49 final float textw = getMeasuredWidth();
  /packages/screensavers/PhotoTable/src/com/android/dreams/phototable/
BummerView.java 47 final float framew = parent.getMeasuredWidth();
49 final float textw = getMeasuredWidth();
  /frameworks/base/core/tests/coretests/src/android/widget/gridview/
GridInHorizontalTest.java 46 assertTrue("Grid has 0 width", mGridView.getMeasuredWidth() > 0);
GridInVerticalTest.java 46 assertTrue("Grid has 0 width", mGridView.getMeasuredWidth() > 0);
  /frameworks/base/core/tests/coretests/src/android/widget/listview/
ListUnspecifiedMeasure.java 50 assertTrue(mListView.getMeasuredWidth() > 0);
  /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()
  /packages/apps/Calendar/src/com/android/calendar/recurrencepicker/
WeekButton.java 47 int w = getMeasuredWidth();
  /packages/apps/Messaging/src/com/android/messaging/ui/
MaxHeightScrollView.java 47 setMeasuredDimension(getMeasuredWidth(), Math.min(getMeasuredHeight(), mMaxHeight));
  /packages/apps/Messaging/src/com/android/messaging/ui/conversation/
MessageBubbleBackground.java 38 int bubbleWidth = getMeasuredWidth() - widthPadding;
  /packages/apps/Settings/src/com/android/settings/display/
MessageBubbleBackground.java 38 int bubbleWidth = getMeasuredWidth() - widthPadding;
  /packages/apps/Settings/src/com/android/settings/widget/
SlidingTabLayout.java 76 mTitleView.getMeasuredWidth() / titleCount, MeasureSpec.EXACTLY);
86 mTitleView.layout(0, 0, mTitleView.getMeasuredWidth(), mTitleView.getMeasuredHeight());
89 final int indicatorWidth = mIndicatorView.getMeasuredWidth();
90 final int totalWidth = getMeasuredWidth();
  /sdk/apps/NotificationStudio/src/com/android/notificationstudio/
MaxHeightScrollView.java 38 setMeasuredDimension(getMeasuredWidth(), Math.min(getMeasuredHeight(), mMaxHeight));
  /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());

Completed in 467 milliseconds

1 2 3 4 5 6 7 8 91011>>