HomeSort by relevance Sort by last modified time
    Searched refs:getMeasuredWidth (Results 1 - 25 of 156) sorted by null

1 2 3 4 5 6 7

  /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...]
  /sdk/apps/NotificationStudio/src/com/android/notificationstudio/
MaxHeightScrollView.java 38 setMeasuredDimension(getMeasuredWidth(), Math.min(getMeasuredHeight(), mMaxHeight));
  /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);
  /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/base/core/tests/coretests/src/android/widget/listview/
ListUnspecifiedMeasure.java 50 assertTrue(mListView.getMeasuredWidth() > 0);
  /packages/apps/Camera/src/com/android/camera/ui/
RotateLayout.java 81 final int w = getMeasuredWidth();
109 int w = getMeasuredWidth();
139 w = mChild.getMeasuredWidth();
146 h = mChild.getMeasuredWidth();
  /packages/apps/LegacyCamera/src/com/android/camera/ui/
StackLayout.java 41 int width = child.getMeasuredWidth();
RotateLayout.java 71 w = mChild.getMeasuredWidth();
78 h = mChild.getMeasuredWidth();
ZoomControlBar.java 76 mIconWidth = mZoomIn.getMeasuredWidth();
148 int sliderWidth = mZoomSlider.getMeasuredWidth();
IndicatorControlWheelContainer.java 104 int shutterButtonWidth = mShutterButton.getMeasuredWidth();
124 int desiredWidth = mShutterButton.getMeasuredWidth()
SecondLevelIndicatorControlBar.java 85 int iconWidth = firstIndicatorButton.getMeasuredWidth();
178 int iconWidth = mCloseIcon.getMeasuredWidth();
191 mDivider.layout(offsetX, padding, (offsetX + mDivider.getMeasuredWidth()),
  /packages/apps/DeskClock/src/com/android/deskclock/widget/
EllipsizeLayout.java 54 totalLength += child.getMeasuredWidth() + lp.leftMargin + lp.rightMargin;
61 int maxWidth = ellipView.getMeasuredWidth() - (totalLength - parentWidth);
  /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/test-runner/src/android/test/
ViewAsserts.java 137 int firstRight = xy[0] + first.getMeasuredWidth();
140 int secondRight = xy[0] + second.getMeasuredWidth();
156 int firstRight = xy[0] + first.getMeasuredWidth();
159 int secondRight = xy[0] + second.getMeasuredWidth();
290 int center = (reference.getMeasuredWidth() - test.getMeasuredWidth()) / 2;
  /cts/tests/tests/widget/src/android/widget/cts/
FrameLayoutTest.java 159 compareScaledPixels(100, textView.getMeasuredWidth());
161 assertEquals(textView.getMeasuredWidth(), frameLayout.getMeasuredWidth());
174 compareScaledPixels(50, button.getMeasuredWidth());
176 assertEquals(button.getMeasuredWidth(), frameLayout.getMeasuredWidth());
188 assertEquals(textView.getMeasuredWidth(), frameLayout.getMeasuredWidth());
  /frameworks/base/core/java/android/app/
FragmentBreadCrumbs.java 196 childLeft = childRight - child.getMeasuredWidth();
200 childLeft = mPaddingLeft + (mRight - mLeft - child.getMeasuredWidth()) / 2;
201 childRight = childLeft + child.getMeasuredWidth();
207 childRight = childLeft + child.getMeasuredWidth();
235 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 530 if (DEBUG) Log.d(TAG, "\tmeasure-child" + i + ": " + child.getMeasuredWidth() + ", "
546 if (DEBUG) Log.d(TAG, "getRelativeChildOffset(): " + getMeasuredWidth() + ", "
557 getChildAt(0).getMeasuredWidth());
600 int widthSpec = MeasureSpec.makeMeasureSpec(getMeasuredWidth(), MeasureSpec.EXACTLY);
644 childLeft + child.getMeasuredWidth(), childTop + childHeight);
735 (getMeasuredWidth() - padding - getChildWidth(index)) / 2;
746 final int measuredWidth = child.getMeasuredWidth();
756 final int screenWidth = getMeasuredWidth();
787 int halfScreenSize = getMeasuredWidth() / 2;
    [all...]
  /frameworks/base/core/java/android/widget/
AbsoluteLayout.java 75 childRight = lp.x + child.getMeasuredWidth();
121 childLeft + child.getMeasuredWidth(),
  /cts/tests/tests/holo/src/android/holo/cts/
ReferenceViewGroup.java 82 child.layout(0, 0, child.getMeasuredWidth(), child.getMeasuredHeight());
  /development/samples/ApiDemos/src/com/example/android/apis/animation/
FixedGridLayout.java 89 int w = child.getMeasuredWidth();
  /frameworks/base/core/java/com/android/internal/widget/
WeightedLinearLayout.java 66 int width = getMeasuredWidth();
  /frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
IconMerger.java 57 int width = getMeasuredWidth();

Completed in 564 milliseconds

1 2 3 4 5 6 7