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

12 3 4 5 6 7 8 91011>>

  /packages/apps/Gallery3D/src/com/cooliris/media/
Texture.java 62 public final int getWidth() {
ImageViewTouchBase.java 142 final int viewWidth = getWidth();
180 RectF rect = new RectF(0, 0, mBitmapDisplayed.getBitmap().getWidth(), mBitmapDisplayed.getBitmap().getHeight());
201 int viewWidth = getWidth();
245 float viewWidth = getWidth();
248 float w = bitmap.getWidth();
284 float fw = (float) mBitmapDisplayed.getWidth() / (float) mThisWidth;
323 float cx = getWidth() / 2F;
345 float cx = getWidth() / 2F;
357 float cx = getWidth() / 2F;
Util.java 52 m.setRotate(degrees, (float) b.getWidth() / 2, (float) b.getHeight() / 2);
54 Bitmap b2 = Bitmap.createBitmap(b, 0, 0, b.getWidth(), b.getHeight(), m, true);
67 int deltaX = source.getWidth() - targetWidth;
81 Rect src = new Rect(deltaXHalf, deltaYHalf, deltaXHalf + Math.min(targetWidth, source.getWidth()), deltaYHalf
89 float bitmapWidthF = source.getWidth();
114 b1 = Bitmap.createBitmap(source, 0, 0, source.getWidth(), source.getHeight(), scaler, true);
119 int dx1 = Math.max(0, b1.getWidth() - targetWidth);
146 if (source.getWidth() < source.getHeight()) {
147 scale = width / (float) source.getWidth();
  /development/samples/ApiDemos/src/com/example/android/apis/graphics/
Pictures.java 70 canvas.drawPicture(mPicture, new RectF(0, 100, getWidth(), 200));
72 mDrawable.setBounds(0, 200, getWidth(), 300);
  /frameworks/base/core/java/android/text/style/
IconMarginSpan.java 39 return mBitmap.getWidth() + mPad;
50 x -= mBitmap.getWidth();
  /frameworks/base/core/tests/coretests/src/android/view/
BigCacheTest.java 59 assertTrue(mTiny.getWidth() * mTiny.getHeight() * 2 < max);
67 assertTrue(mLarge.getWidth() * mLarge.getHeight() * 2 > max);
  /frameworks/base/core/tests/coretests/src/android/widget/layout/table/
AddColumnTest.java 68 assertEquals(row2.getChildAt(i).getWidth(), row1.getChildAt(i).getWidth());
  /frameworks/base/graphics/java/android/graphics/
LargeBitmap.java 64 if (rect.left < 0 || rect.top < 0 || rect.right > getWidth() || rect.bottom > getHeight())
71 public int getWidth() {
72 checkRecycled("getWidth called on recycled large bitmap");
85 * getWidth() or getHeight() is called.
  /frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
TrackingPatternView.java 40 mTextureWidth = mTexture.getWidth();
52 final int width = getWidth();
  /frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/
NinePatchDrawable.java 36 return m9Patch.getWidth();
50 return m9Patch.getWidth();
  /packages/apps/Camera/src/com/android/camera/ui/
GLOptionHeader.java 63 .setPreferredContentSize(mTitle.getWidth(), mTitle.getHeight())
70 mBackground.draw(root, 0, 0, getWidth(), getHeight());
ZoomController.java 118 + sTickMark.getWidth() + sHorizontalPadding;
125 float sx = mSliderLeft + sSlider.getWidth() / 2;
176 maxWidth = Math.max(maxWidth, mTickLabels[i].getWidth());
201 int width = mMaxLabelWidth + sHorizontalPadding + sTickMark.getWidth()
202 + sHorizontalPadding + sBackground.getWidth();
225 t.draw(root, xoffset - t.getWidth(),
243 xoffset += sTickMark.getWidth() - tickMark.getWidth();
259 sBackground.draw(root, left, top, sBackground.getWidth(), bottom - top);
ResourceTexture.java 43 setSize(mBitmap.getWidth(), mBitmap.getHeight());
  /packages/apps/Launcher2/src/com/android/launcher2/
FastBitmapDrawable.java 33 mWidth = mBitmap.getWidth();
81 mWidth = mBitmap.getWidth();
  /sdk/ddms/libs/ddmuilib/src/com/android/ddmuilib/
TableHelper.java 63 prefs.setValue(pref_name, col.getWidth());
81 int w = ((TableColumn)e.widget).getWidth();
122 prefs.setValue(pref_name, col.getWidth());
140 int w = ((TreeColumn)e.widget).getWidth();
195 int w = ((TreeColumn)e.widget).getWidth();
  /cts/tests/tests/graphics/src/android/graphics/cts/
BitmapFactoryTest.java 90 assertEquals(START_WIDTH, b.getWidth());
105 assertEquals(START_WIDTH * mTargetDensity / mDefaultDensity, b.getWidth(), 1.1);
119 assertEquals(START_WIDTH, b.getWidth());
135 assertEquals(START_WIDTH, b.getWidth());
151 assertEquals(START_WIDTH, b.getWidth());
167 assertEquals(START_WIDTH, b.getWidth());
183 assertEquals(START_WIDTH, b.getWidth());
199 assertEquals(START_WIDTH, b.getWidth());
212 assertEquals(START_WIDTH, b.getWidth());
227 assertEquals(START_WIDTH, b.getWidth());
    [all...]
  /packages/apps/Gallery/src/com/android/camera/
ImageViewTouchBase.java 155 final int viewWidth = getWidth();
194 mBitmapDisplayed.getBitmap().getWidth(),
216 int viewWidth = getWidth();
260 float viewWidth = getWidth();
263 float w = bitmap.getWidth();
301 float fw = (float) mBitmapDisplayed.getWidth() / (float) mThisWidth;
341 float cx = getWidth() / 2F;
348 float cx = getWidth() / 2F;
371 float cx = getWidth() / 2F;
383 float cx = getWidth() / 2F
    [all...]
  /cts/tests/tests/widget/src/android/widget/cts/
PopupWindowTest.java 133 assertEquals(0, mPopupWindow.getWidth());
141 assertEquals(50, mPopupWindow.getWidth());
149 assertEquals(-1, mPopupWindow.getWidth());
160 assertEquals(0, mPopupWindow.getWidth());
165 assertEquals(50, mPopupWindow.getWidth());
170 assertEquals(-1, mPopupWindow.getWidth());
175 assertEquals(0, mPopupWindow.getWidth());
181 assertEquals(50, mPopupWindow.getWidth());
187 assertEquals(-1, mPopupWindow.getWidth());
358 method = "getWidth",
    [all...]
  /cts/tests/src/android/widget/cts/
WidgetTestUtils.java 51 if (b1.getWidth() != b2.getWidth() || b1.getHeight() != b2.getHeight()
56 int w = b1.getWidth();
  /cts/tests/tests/graphics/src/android/graphics/drawable/shapes/cts/
RoundRectShapeTest.java 121 assertEquals(100f, roundRectShape.getWidth());
125 assertEquals(roundRectShape.getWidth(), clonedShape.getWidth());
  /frameworks/base/graphics/java/android/graphics/utils/
BoundaryPatch.java 89 mTexture.getWidth() != texture.getWidth() ||
164 mTexture.getWidth(), mTexture.getHeight(),
  /external/proguard/src/proguard/gui/splash/
ImageSprite.java 71 int width = (int)(image.getWidth(null) * scale_x);
  /frameworks/base/core/tests/coretests/src/android/widget/listview/
ListUnspecifiedMeasure.java 51 assertTrue(mListView.getWidth() > 0);
  /frameworks/base/opengl/java/android/opengl/
ETC1.java 130 public static native int getWidth(Buffer header);
  /packages/apps/Gallery/src/com/android/camera/gallery/
IImage.java 63 public abstract int getWidth();

Completed in 459 milliseconds

12 3 4 5 6 7 8 91011>>