Searched refs:getWidth (Results 1 - 25 of 451) sorted by relevance

1234567891011>>

/packages/apps/Mms/src/com/android/mms/ui/
H A DViewInterface.java27 int getWidth(); method in interface:ViewInterface
/packages/inputmethods/LatinIME/tools/dicttool/compat/com/android/inputmethod/keyboard/
H A DKey.java22 public final int getWidth() { return 0; } method in class:Key
/packages/apps/Contacts/src/com/android/contacts/quickcontact/
H A DWhitenessUtils.java61 final int[] rgbPixels = new int[smallBitmap.getWidth() * smallBitmap.getHeight()];
62 smallBitmap.getPixels(rgbPixels, 0, smallBitmap.getWidth(), 0, 0,
63 smallBitmap.getWidth(), smallBitmap.getHeight());
68 for (int x = (int) (smallBitmap.getWidth() * (1 - THIRD));
69 x < smallBitmap.getWidth(); x++) {
70 final int rgb = rgbPixels[y * smallBitmap.getWidth() + x];
76 int totalPixels = (int) (smallBitmap.getHeight() * smallBitmap.getWidth()
86 for (int x = 0; x < smallBitmap.getWidth(); x++) {
87 final int rgb = rgbPixels[y * smallBitmap.getWidth() + x];
95 * smallBitmap.getWidth() * HEIGHT_PERCENT_ANALYZE
[all...]
/packages/apps/Gallery2/src/com/android/gallery3d/glrenderer/
H A DTexture.java39 public int getWidth(); method in interface:Texture
H A DFadeInTexture.java30 super(texture.getWidth(), texture.getHeight(), texture.isOpaque());
H A DFadeOutTexture.java29 super(texture.getWidth(), texture.getHeight(), texture.isOpaque());
/packages/apps/Launcher3/WallpaperPicker/src/com/android/gallery3d/glrenderer/
H A DTexture.java39 public int getWidth(); method in interface:Texture
/packages/apps/Mms/src/com/android/mms/layout/
H A DLayoutParameters.java35 int getWidth(); method in interface:LayoutParameters
/packages/apps/Gallery/src/com/android/camera/
H A DRotateBitmap.java60 int cx = mBitmap.getWidth() / 2;
64 matrix.postTranslate(getWidth() / 2, getHeight() / 2);
75 return mBitmap.getWidth();
81 public int getWidth() { method in class:RotateBitmap
85 return mBitmap.getWidth();
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
H A DScreenNail.java23 public int getWidth(); method in interface:ScreenNail
H A DProgressSpinner.java41 mWidth = Math.max(mOuter.getWidth(), mInner.getWidth());
45 public int getWidth() { method in class:ProgressSpinner
75 mOuter.draw(canvas, -mOuter.getWidth() / 2, -mOuter.getHeight() / 2);
77 mInner.draw(canvas, -mInner.getWidth() / 2, -mInner.getHeight() / 2);
H A DBitmapScreenNail.java33 public int getWidth() { method in class:BitmapScreenNail
34 return mBitmapTexture.getWidth();
/packages/apps/Mms/src/org/w3c/dom/smil/
H A DElementLayout.java50 public int getWidth(); method in interface:ElementLayout
/packages/apps/Gallery2/src/com/android/gallery3d/app/
H A DTrimTimeBar.java80 return mTrimStartScrubber.getWidth() * 3 / 4;
84 return mTrimEndScrubber.getWidth() / 4;
97 mScrubberLeft = mPlayedBar.right - mScrubber.getWidth() / 2;
106 mScrubberLeft = mProgressBar.left - mScrubber.getWidth() / 2;
150 int scrubberRight = startX + scrubber.getWidth();
173 int margin = mScrubber.getWidth() / 3;
203 getWidth() - getPaddingRight() - mTimeBounds.width() / 2,
219 mCurrentTime = getScrubberTime(mScrubberLeft, mScrubber.getWidth() / 2);
264 mScrubber.getWidth() / 2,
267 mScrubber.getWidth() /
[all...]
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/category/
H A DCategorySelected.java27 canvas.drawCircle(getWidth()/2, getHeight()/2,
28 getWidth()/2 - mMargin, mPaint);
H A DIconView.java102 int x = (int) (canvas.getWidth() - textWidth - 2*mMargin);
104 x = (int) ((canvas.getWidth() - textWidth) / 2.0f);
181 mBitmapBounds = new Rect(mMargin/2, mMargin, getWidth() - mMargin/2,
185 mBitmapBounds = new Rect(mMargin/2, mMargin, getWidth()/2, getHeight());
187 mBitmapBounds = new Rect(mMargin/2, mMargin, getWidth() - mMargin/2, getHeight());
206 m.setRectToRect(new RectF(0, 0, mBitmap.getWidth(), mBitmap.getHeight()),
209 float scaleWidth = mBitmapBounds.width() / (float) mBitmap.getWidth();
212 float dx = (mBitmapBounds.width() - (mBitmap.getWidth() * scale)) / 2f;
234 startGradient = getWidth()/2;
236 canvas.drawRect(new RectF(startGradient, start, getWidth(), en
[all...]
/packages/apps/Launcher3/src/com/android/launcher3/
H A DFastBitmapView.java41 invalidate(0, 0, mBitmap.getWidth(), mBitmap.getHeight());
45 invalidate(0, 0, mBitmap.getWidth(), mBitmap.getHeight());
/packages/apps/Camera2/src/com/android/camera/filmstrip/
H A DImageData.java46 * SIZE_FULL can be returned by {@link ImageData#getWidth()} and
59 * {@link ImageData#getWidth()} and
62 public int getWidth(); method in interface:ImageData
69 * {@link ImageData#getWidth()} and
/packages/apps/Camera2/src/com/android/camera/util/
H A DSize.java34 converted[i] = new Size(sizes[i].getWidth(), sizes[i].getHeight());
53 this.width = size.getWidth();
62 public int getWidth() { method in class:Size
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/tools/
H A DIconFactory.java47 int sourceWidth = sourceImage.getWidth();
74 int sourceWidth = sourceImage.getWidth();
76 int iconWidth = dest.getWidth();
/packages/apps/LegacyCamera/src/com/android/camera/ui/
H A DRightAlignedHorizontalScrollView.java41 if (child != null) scrollTo(child.getWidth(), 0);
/packages/apps/Camera2/src/com/android/camera/widget/
H A DCling.java84 int refCenterX = mLocation[0] + mReferenceView.getWidth() / 2;
87 int left = refCenterX - getWidth() / 2;
/packages/apps/ContactsCommon/src/com/android/contacts/common/util/
H A DBitmapUtil.java101 original.getWidth(), original.getHeight(), Bitmap.Config.ARGB_8888);
105 tempCanvas.rotate(angle, original.getWidth()/2, original.getHeight()/2);
H A DViewUtil.java62 outline.setOval(0, 0, view.getWidth(), view.getHeight());
69 outline.setRect(0, 0, view.getWidth(), view.getHeight());
/packages/apps/Launcher2/src/com/android/launcher2/
H A DFastBitmapDrawable.java38 mWidth = mBitmap.getWidth();
99 mWidth = mBitmap.getWidth();

Completed in 535 milliseconds

1234567891011>>