Searched refs:getHeight (Results 51 - 75 of 463) sorted by relevance

1234567891011>>

/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/category/
H A DAction.java162 int minSide = Math.min(destination.getWidth(), destination.getHeight());
164 float scaleFactor = minSide / (float) Math.min(source.getWidth(), source.getHeight());
167 float dy = (destination.getHeight() - source.getHeight() * scaleFactor) / 2.0f;
194 canvas.drawBitmap(mOverlayBitmap, new Rect(0, 0, mOverlayBitmap.getWidth(), mOverlayBitmap.getHeight()),
195 new Rect(0, 0, mImage.getWidth(), mImage.getHeight()), new Paint());
H A DCategoryView.java94 canvas.drawCircle(getWidth() / 2, getHeight() / 2, getHeight() / 5, mPaint);
96 canvas.drawCircle(getWidth() / 2, getHeight() / 2, getWidth() / 5, mPaint);
117 mAction.setImageFrame(new Rect(0, 0, getWidth(), getHeight()), getOrientation());
125 getWidth(), getHeight(),
/packages/apps/Launcher3/WallpaperPicker/src/com/android/gallery3d/common/
H A DBitmapUtils.java119 int height = Math.round(bitmap.getHeight() * scale);
121 && height == bitmap.getHeight()) return bitmap;
142 int srcHeight = bitmap.getHeight();
151 int h = bitmap.getHeight();
160 int height = Math.round(scale * bitmap.getHeight());
182 int h = source.getHeight();
/packages/apps/Launcher3/src/com/android/launcher3/
H A DHolographicOutlineHelper.java94 int[] srcBuffer = new int[srcDst.getWidth() * srcDst.getHeight()];
96 0, srcDst.getWidth(), 0, 0, srcDst.getWidth(), srcDst.getHeight());
104 0, srcDst.getWidth(), 0, 0, srcDst.getWidth(), srcDst.getHeight());
128 srcDstCanvas.drawRect(0, 0, -thickInnerBlurOffset[0], thickInnerBlur.getHeight(),
158 view.getHeight() + shadowBitmapPadding + shadowBitmapPadding + mShadowOffset,
175 view.getHeight() / 2 + shadowBitmapPadding);
H A DDragView.java178 setMeasuredDimension(mBitmap.getWidth(), mBitmap.getHeight());
189 canvas.drawRect(0, 0, getWidth(), getHeight(), p);
203 float sY = (mBitmap.getHeight() * 1.0f) / mCrossFadeBitmap.getHeight();
263 lp.height = mBitmap.getHeight();
/packages/apps/Mms/src/com/android/mms/dom/smil/
H A DSmilRegionElementImpl.java108 int bbh = ((SMILDocument) getOwnerDocument()).getLayout().getRootLayout().getHeight();
159 public int getHeight() { method in class:SmilRegionElementImpl
163 ((SMILDocument) getOwnerDocument()).getLayout().getRootLayout().getHeight() :
170 int bbh = ((SMILDocument) getOwnerDocument()).getLayout().getRootLayout().getHeight();
264 value *= ((SMILDocument) getOwnerDocument()).getLayout().getRootLayout().getHeight();
281 + ", height=" + getHeight()
/packages/apps/Mms/src/com/android/mms/model/
H A DImageModel.java94 mHeight = uriImage.getHeight();
107 mHeight = uriImage.getHeight();
130 public int getHeight() { method in class:ImageModel
195 if (image.getHeight() > image.getWidth()) {
204 + " image.getHeight(): " + image.getHeight()
216 image.getHeight() <= heightLimit &&
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/widget/
H A DBitmapWorkerTask.java169 if (bitmap.getHeight() > outputOptions.getHeight()) {
170 heightScale = (float) outputOptions.getHeight() / (float) bitmap.getHeight();
185 int height = (int) (bitmap.getHeight() * scale);
190 + bitmap.getWidth() + "x" + bitmap.getHeight() + " to " + width
219 int height = options.getHeight();
238 + options.getHeight() + "). Chosen scale: " + scale + " -> "
332 height = workerOptions.getHeight();
371 .height(options.getHeight())
[all...]
/packages/apps/Contacts/src/com/android/contacts/widget/
H A DMultiShrinkScroller.java340 mMaximumPortraitHeaderHeight = mIsTwoPanel ? getHeight()
343 mMaximumHeaderTextSize = mLargeTextView.getHeight();
345 mMaximumHeaderHeight = getHeight();
387 titleGradientLayoutParams.height = (int) ((mLargeTextView.getHeight()
477 mEdgeGlowBottom.onPull(delta / getHeight(), 1 - event.getX() / getWidth());
627 final float heightRatio = (float) transparentHeight / getHeight();
658 - (getHeight() - getTransparentViewHeight()) + 1;
790 return getHeight() + getScroll_ignoreOversizedHeaderForSnapping()
829 final int height = getHeight();
887 if (velocity < 0 && mTransparentView.getHeight() <
[all...]
/packages/apps/Launcher2/src/com/android/launcher2/
H A DDragView.java169 setMeasuredDimension(mBitmap.getWidth(), mBitmap.getHeight());
180 canvas.drawRect(0, 0, getWidth(), getHeight(), p);
194 float sY = (mBitmap.getHeight() * 1.0f) / mCrossFadeBitmap.getHeight();
254 lp.height = mBitmap.getHeight();
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
H A DPhotoProcessor.java208 int cropHeight = original.getHeight();
235 c.drawRect(0, 0, scaledBitmap.getWidth(), scaledBitmap.getHeight(), WHITE_PAINT);
240 final RectF dst = new RectF(0, 0, scaledBitmap.getWidth(), scaledBitmap.getHeight());
294 mDisplayPhoto.getHeight() > mThumbnailPhoto.getHeight());
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/
H A DImageShow.java126 Bitmap a = Bitmap.createBitmap(b.getWidth(), b.getHeight(), Bitmap.Config.ALPHA_8);
229 reflectRotation, master.getOriginalBounds(), getWidth(), getHeight());
233 m.postScale(scaleFactor, scaleFactor, getWidth() / 2.0f, getHeight() / 2.0f);
261 getHeight() - 2*mShadowMargin);
298 float dx = (getHeight() - getWidth()) / 2f;
299 if (getWidth() > getHeight()) {
300 dx = - (getWidth() - getHeight()) / 2f;
303 canvas.rotate(180, getWidth()/2, getHeight()/2);
305 canvas.rotate(90, getWidth()/2, getHeight()/2);
308 canvas.rotate(270, getWidth()/2, getHeight()/
[all...]
H A DImageTinyPlanet.java112 mCenterY = getHeight() / 2;
155 float sh = canvas.getHeight();
157 float ih = bitmap.getHeight();
H A DImageCrop.java234 int height = image.getHeight();
265 mImageBounds.set(0, 0, bitmap.getWidth(), bitmap.getHeight());
270 bitmap.getWidth(), bitmap.getHeight(), canvas.getWidth(), canvas.getHeight());
274 bitmap.getWidth(), bitmap.getHeight(), canvas.getWidth(), canvas.getHeight());
291 int delta = Math.min(canvas.getWidth(), canvas.getHeight()) / 4;
313 bitmap.getHeight());
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/filters/
H A DImageFilterTinyPlanet.java78 int h = bitmapIn.getHeight();
90 if (outputSize != mBitmapOut.getHeight()) {
104 nativeApplyFilter(bitmapIn, bitmapIn.getWidth(), bitmapIn.getHeight(), mBitmapOut,
H A DImageFilterCurves.java60 nativeApplyGradientFilter(bitmap, bitmap.getWidth(), bitmap.getHeight(),
80 nativeApplyGradientFilter(bitmap, bitmap.getWidth(), bitmap.getHeight(),
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
H A DAbstractSlotRenderer.java62 (float) height / content.getHeight());
73 float scale = (float) height / v.getHeight();
75 int h = Math.round(scale * v.getHeight());
/packages/apps/LegacyCamera/tests/src/com/android/camera/functional/
H A DImageCaptureIntentTest.java69 assertTrue(bitmap.getHeight() > 0);
103 assertTrue(b.getHeight() > 0);
122 assertTrue(bitmap.getHeight() > 0);
/packages/apps/Launcher3/WallpaperPicker/src/com/android/launcher3/
H A DCropView.java85 final float height = getHeight();
128 float cropBottom = cropTop + getHeight() / scale;
145 updateMinScale(getWidth(), getHeight(), source, true);
194 if (getWidth() == 0 || getHeight() == 0) {
304 } else if (edges.bottom < getHeight()) {
305 adjustment[1] = (edges.bottom - getHeight()) / scale;
/packages/apps/Calendar/src/com/android/calendar/
H A DMultiStateButton.java173 y = getHeight() - height;
176 y = (getHeight() - height) / 2;
/packages/apps/Gallery2/src/com/android/gallery3d/glrenderer/
H A DBasicTexture.java103 public int getHeight() { method in class:BasicTexture
138 canvas.drawTexture(this, x, y, getWidth(), getHeight());
/packages/apps/Launcher3/WallpaperPicker/src/com/android/gallery3d/glrenderer/
H A DBasicTexture.java103 public int getHeight() { method in class:BasicTexture
138 canvas.drawTexture(this, x, y, getWidth(), getHeight());
/packages/apps/Settings/src/com/android/settings/widget/
H A DStickyHeaderListView.java112 canvas.clipRect(0, 0, drawTarget.getWidth(), drawTarget.getHeight());
115 drawTarget.getHeight() - drawOffset + mStatusBarInset);
/packages/apps/UnifiedEmail/src/com/android/mail/text/
H A DFolderSpan.java61 private int getHeight(Paint p) { method in class:FolderSpan
79 final int height = getHeight(mWorkPaint);
/packages/apps/Browser/src/com/android/browser/view/
H A DScrollerView.java233 final int bottomEdge = getHeight() - mPaddingBottom;
297 return getHeight() < child.getHeight() + mPaddingTop + mPaddingBottom;
915 child.getHeight() - (getHeight() - mPaddingBottom - mPaddingTop));
947 final int bottomWithoutFadingEdge = top + (mHorizontal ? getWidth() : getHeight()) - fadingEdgeLength;
1060 int height = getHeight();
1096 int height = getHeight();
1128 int height = getHeight();
1166 if (nextFocused != null && isWithinDeltaOfScreen(nextFocused, maxJump, getHeight())) {
[all...]

Completed in 1137 milliseconds

1234567891011>>