/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...] |
/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/ |
StackLayout.java | 42 int width = child.getMeasuredWidth();
|
RotateLayout.java | 72 w = mChild.getMeasuredWidth(); 79 h = mChild.getMeasuredWidth();
|
ZoomControlBar.java | 98 mIconSize = mZoomIn.getMeasuredWidth(); 197 int sliderWidth = mZoomSlider.getMeasuredWidth();
|
SecondLevelIndicatorControlBar.java | 107 int iconWidth = firstIndicatorButton.getMeasuredWidth(); 229 int iconSize = mCloseIcon.getMeasuredWidth(); 241 (offset + mDivider.getMeasuredWidth()), (height - padding));
|
/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()),
|
/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());
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
Cling.java | 124 return new int[]{getMeasuredWidth() / 2, getMeasuredHeight() - (mButtonBarHeight / 2)}; 126 return new int[]{getMeasuredWidth() - (mButtonBarHeight / 2), getMeasuredHeight() / 2}; 131 return new int[]{getMeasuredWidth() - cornerXOffset, cornerYOffset}; 208 Bitmap b = Bitmap.createBitmap(getMeasuredWidth(), getMeasuredHeight(), 232 mBackground.setBounds(0, 0, getMeasuredWidth(), getMeasuredHeight());
|
PagedView.java | 511 if (DEBUG) Log.d(TAG, "\tmeasure-child" + i + ": " + child.getMeasuredWidth() + ", " 527 if (DEBUG) Log.d(TAG, "getRelativeChildOffset(): " + getMeasuredWidth() + ", " 538 getChildAt(0).getMeasuredWidth()); 581 int widthSpec = MeasureSpec.makeMeasureSpec(getMeasuredWidth(), MeasureSpec.EXACTLY); 625 childLeft + child.getMeasuredWidth(), childTop + childHeight); 716 (getMeasuredWidth() - padding - getChildWidth(index)) / 2; 727 final int measuredWidth = child.getMeasuredWidth(); 737 final int screenWidth = getMeasuredWidth(); 768 int halfScreenSize = getMeasuredWidth() / 2; [all...] |
DragLayer.java | 326 r.set(left, top, left + v.getMeasuredWidth(), top + v.getMeasuredHeight()); 473 toX -= (dragView.getMeasuredWidth() - Math.round(scale * child.getMeasuredWidth())) / 2; 478 toX -= (dragView.getMeasuredWidth() - Math.round(scale * child.getMeasuredWidth())) / 2; 481 toX -= (Math.round(scale * (dragView.getMeasuredWidth() 482 - child.getMeasuredWidth()))) / 2; 505 view.getMeasuredWidth(), fromY + view.getMeasuredHeight()); 506 Rect to = new Rect(toX, toY, toX + view.getMeasuredWidth(), toY + view.getMeasuredHeight()); 566 final int width = view.getMeasuredWidth(); [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();
|
AbsActionBarView.java | 216 availableWidth -= child.getMeasuredWidth(); 223 int childWidth = child.getMeasuredWidth(); 233 int childWidth = child.getMeasuredWidth();
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
IconMerger.java | 57 int width = getMeasuredWidth();
|