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

1 2 3 4 5 6 7 8 91011>>

  /packages/apps/Mms/src/com/android/mms/ui/
ViewInterface.java 27 int getWidth();
  /libcore/luni/src/main/java/java/util/
IllegalFormatWidthException.java 48 public int getWidth() {
  /packages/apps/Mms/src/com/android/mms/layout/
LayoutParameters.java 35 int getWidth();
  /packages/apps/Gallery/src/com/android/camera/
RotateBitmap.java 60 int cx = mBitmap.getWidth() / 2;
64 matrix.postTranslate(getWidth() / 2, getHeight() / 2);
75 return mBitmap.getWidth();
81 public int getWidth() {
85 return mBitmap.getWidth();
  /packages/apps/Gallery3D/src/com/cooliris/media/
RotateBitmap.java 60 int cx = mBitmap.getWidth() / 2;
64 matrix.postTranslate(getWidth() / 2, getHeight() / 2);
75 return mBitmap.getWidth();
81 public int getWidth() {
85 return mBitmap.getWidth();
  /cts/tests/tests/widget/src/android/widget/cts/
TableLayoutTest.java 335 int oldWidth0 = column0.getWidth();
336 int oldWidth1 = column1.getWidth();
337 int oldWidth2 = column2.getWidth();
344 int totalSpace = tableLayout.getWidth() - orignalWidth0
354 assertEquals(oldWidth0, column0.getWidth());
355 assertTrue(oldWidth1 < column1.getWidth());
356 assertTrue(oldWidth2 > column2.getWidth());
358 assertEquals(orignalWidth0, column0.getWidth());
359 assertEquals(orignalWidth1 + extraSpace, column1.getWidth());
360 assertEquals(orignalWidth2 + extraSpace, column2.getWidth());
    [all...]
  /development/samples/GlobalTime/src/com/android/globaltime/
Texture.java 36 public int getWidth() {
  /frameworks/base/core/tests/coretests/src/android/widget/layout/table/
WeightTest.java 61 assertEquals(mCell1.getWidth() + mCell2.getWidth() + mCell3.getWidth(), mRow.getWidth());
FixedWidthTest.java 59 assertEquals(150, mFixedWidth.getWidth());
60 assertEquals(mFixedWidth.getWidth(), mNonFixedWidth.getWidth());
  /libcore/luni/src/test/java/org/apache/harmony/luni/tests/java/util/
IllegalFormatWidthExceptionTest.java 35 assertEquals(width, illegalFormatWidthException.getWidth());
40 * @tests java.util.IllegalFormatWidthException#getWidth()
46 assertEquals(width, illegalFormatWidthException.getWidth());
72 assertEquals("Width", initEx.getWidth(), desrEx.getWidth());
  /packages/apps/Mms/src/org/w3c/dom/smil/
ElementLayout.java 50 public int getWidth();
  /cts/tests/tests/graphics/src/android/graphics/drawable/shapes/cts/
ShapeTest.java 35 method = "getWidth",
54 assertEquals(200f, mockShape.getWidth());
59 assertEquals(0f, mockShape.getWidth());
63 assertEquals(Float.MAX_VALUE, mockShape.getWidth());
67 assertEquals(0f, mockShape.getWidth());
103 assertEquals(100f, shape.getWidth());
107 assertEquals(shape.getWidth(), clonedShape.getWidth());
  /cts/tests/tests/dpi/src/android/dpi/cts/
ConfigurationTest.java 99 public int getWidth() {
148 return active.getWidth() >= screenConfig.getWidth();
149 } else if (active.getWidth() == screenConfig.getHeight()) {
151 return active.getHeight() >= screenConfig.getWidth();
156 if (active.getWidth() == screenConfig.getWidth() &&
163 if (active.getHeight() == screenConfig.getWidth() &&
164 active.getWidth() == screenConfig.getHeight() &&
220 return new ActiveScreenConfiguration(display.getWidth(),
    [all...]
  /cts/tests/tests/graphics/src/android/graphics/cts/
NinePatchTest.java 117 Bitmap bitmap = Bitmap.createBitmap(expected.getWidth(), expected.getHeight(),
120 RectF rectf = new RectF(0, 0, c.getWidth(), c.getHeight());
125 bitmap = Bitmap.createBitmap(expected.getWidth(), expected.getHeight(),
128 Rect rect = new Rect(0, 0, c.getWidth(), c.getHeight());
132 bitmap = Bitmap.createBitmap(expected.getWidth(), expected.getHeight(),
135 rect = new Rect(0, 0, c.getWidth(), c.getHeight());
142 bitmap = Bitmap.createBitmap(expected.getWidth(), expected.getHeight(),
145 rectf = new RectF(0, 0, c.getWidth(), c.getHeight());
152 assertEquals(expected.getWidth(), bitmap.getWidth());
    [all...]
  /frameworks/base/core/tests/coretests/src/android/widget/layout/linear/
WeightSumTest.java 52 final int childWidth = mChild.getWidth();
53 final int containerWidth = mContainer.getWidth();
  /sdk/draw9patch/src/com/android/draw9patch/ui/
OpenFilePanel.java 45 int x = (getWidth() - dropHere.getWidth()) / 2;
  /external/skia/include/images/
SkBitmapRegionDecoder.h 22 virtual int getWidth() { return fWidth; }
  /frameworks/base/core/tests/coretests/src/android/view/
ZeroSizedTest.java 63 assertTrue(mWithDimension.getWidth() > 0);
70 assertTrue(mWithNoWdith.getWidth() == 0);
77 assertTrue(mWithNoHeight.getWidth() > 0);
84 assertTrue(mWithNoDimension.getWidth() == 0);
  /packages/apps/Camera/src/com/android/camera/ui/
AbstractIndicator.java 42 .setPreferredContentSize(icon.getWidth(), icon.getHeight())
51 int width = getWidth() - p.left - p.right;
58 icon.draw(root, -icon.getWidth() / 2, -icon.getHeight() / 2);
62 p.left + (width - icon.getWidth()) / 2,
GLOptionItem.java 93 int width = mIcon == null ? sNoIconLeadingSpace : mIcon.getWidth();
94 width += mText.getWidth() + mCheckBox.getWidth();
112 int width = getWidth() - p.left - p.right;
125 xoffset += icon.getWidth();
138 checkbox.draw(root, width - checkbox.getWidth(), yoffset);
PopupWindow.java 80 - mAnchor.getWidth() + mAnchorOffset), widthMode);
94 + p.left + p.right + mAnchor.getWidth() - mAnchorOffset,
104 getWidth() - p.right - mAnchor.getWidth() + mAnchorOffset,
113 int width = getWidth();
115 int aWidth = mAnchor.getWidth();
138 int width = getWidth();
140 int aWidth = mAnchor.getWidth();
199 0.7f, 1f, 0.7f, 1f, getWidth(), mAnchorPosition);
  /frameworks/base/core/java/android/view/
Display.java 70 native public int getWidth();
130 outMetrics.widthPixels = getWidth();
175 public int getWidth() {
  /frameworks/base/cmds/screencap/
screencap.cpp 32 uint32_t w = screenshot.getWidth();
  /frameworks/base/graphics/java/android/graphics/drawable/shapes/
Shape.java 35 public final float getWidth() {
  /frameworks/base/tools/layoutlib/bridge/tests/com/android/layoutlib/bridge/
NinePatchTest.java 48 assertEquals(36, mPatch.getWidth());

Completed in 734 milliseconds

1 2 3 4 5 6 7 8 91011>>