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

1234567891011>>

/frameworks/base/graphics/java/android/graphics/
H A DBitmapRegionDecoder.java188 || rect.top >= getHeight())
204 public int getHeight() { method in class:BitmapRegionDecoder
206 checkRecycled("getHeight called on recycled region decoder");
214 * getWidth() or getHeight() is called.
H A DNinePatch.java141 public int getHeight() { method in class:NinePatch
142 return mBitmap.getHeight();
H A DBitmap.java483 final int height = src.getHeight();
505 return createBitmap(src, 0, 0, src.getWidth(), src.getHeight());
556 if (y + height > source.getHeight()) {
562 height == source.getHeight() && (m == null || m.isIdentity())) {
921 public final int getHeight() { method in class:Bitmap
938 return scaleFromDensity(getHeight(), mDensity, canvas.mDensity);
954 return scaleFromDensity(getHeight(), mDensity, metrics.densityDpi);
976 return scaleFromDensity(getHeight(), mDensity, targetDensity);
1008 return getRowBytes() * getHeight();
1165 if (y >= getHeight()) {
[all...]
/frameworks/base/libs/hwui/
H A DRenderBufferCache.cpp95 buffer->getWidth(), buffer->getHeight());
158 buffer->getWidth(), buffer->getHeight());
/frameworks/base/media/java/android/media/
H A DThumbnailUtils.java181 int height = bitmap.getHeight();
225 if (source.getWidth() < source.getHeight()) {
228 scale = height / (float) source.getHeight();
371 int deltaY = source.getHeight() - targetHeight;
389 deltaYHalf + Math.min(targetHeight, source.getHeight()));
405 float bitmapHeightF = source.getHeight();
430 source.getWidth(), source.getHeight(), scaler, true);
440 int dy1 = Math.max(0, b1.getHeight() - targetHeight);
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/imageproc/
H A DCropRectFilter.java110 if (inputFormat.getWidth() != mWidth || inputFormat.getHeight() != mHeight) {
111 updateSourceRect(inputFormat.getWidth(), inputFormat.getHeight());
H A DDocumentaryFilter.java126 if (inputFormat.getWidth() != mWidth || inputFormat.getHeight() != mHeight) {
128 mHeight = inputFormat.getHeight();
H A DImageStitcher.java79 mInputHeight = format.getHeight();
102 (format.getHeight() != mInputHeight)) {
H A DLomoishFilter.java190 if (inputFormat.getWidth() != mWidth || inputFormat.getHeight() != mHeight) {
192 mHeight = inputFormat.getHeight();
H A DSharpenFilter.java118 if (inputFormat.getWidth() != mWidth || inputFormat.getHeight() != mHeight) {
119 updateFrameSize(inputFormat.getWidth(), inputFormat.getHeight());
H A DToPackedGrayFilter.java88 int h = inputFormat.getHeight();
123 int oh = outputFormat.getHeight();
H A DVignetteFilter.java140 if (inputFormat.getWidth() != mWidth || inputFormat.getHeight() != mHeight) {
142 mHeight = inputFormat.getHeight();
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
H A DDelegateViewHelper.java123 bounds.set(p[0], p[1], p[0] + view.getWidth(), p[1] + view.getHeight());
125 bounds.union(p[0], p[1], p[0] + view.getWidth(), p[1] + view.getHeight());
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
H A DBitmapMutateActivity.java74 mPixels = new int[mBitmap1.getWidth() * mBitmap1.getHeight()];
88 int height = mBitmap1.getHeight();
H A DBitmapsAlphaActivity.java73 canvas.translate(0.0f, mBitmap1.getHeight());
77 canvas.translate(0.0f, mBitmap2.getHeight());
H A DPathDestructionActivity.java61 top = MathUtils.random(getHeight() - MIN_SIZE);
63 bottom = top + MathUtils.random(getHeight() - top);
H A DTransform3dActivity.java58 final float centerY = getHeight() / 2.0f - mBitmap1.getHeight() / 2.0f;
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
H A DBitmap_Delegate.java232 int height = srcImage.getHeight();
282 g.fillRect(0, 0, image.getWidth(), image.getHeight());
307 return delegate.mImage.getHeight();
514 image1.getHeight() != image2.getHeight()) {
520 int h = image2.getHeight();
570 int h = image.getHeight();
575 image.getRGB(0, 0, image.getWidth(), image.getHeight(), argb, 0, image.getWidth());
/frameworks/av/services/camera/libcameraservice/camera3/
H A DCamera3StreamInterface.h44 virtual uint32_t getHeight() const = 0;
/frameworks/base/core/java/android/text/style/
H A DIconMarginSpan.java59 int ht = mBitmap.getHeight();
/frameworks/base/core/java/android/view/
H A DHardwareLayer.java87 int getHeight() { method in class:HardwareLayer
H A DTouchDelegate.java142 event.setLocation(delegateView.getWidth() / 2, delegateView.getHeight() / 2);
/frameworks/base/core/tests/coretests/src/android/util/
H A DListUtil.java66 return mListView.getHeight() - mListView.getListPaddingBottom();
/frameworks/base/core/tests/coretests/src/android/widget/gridview/touch/
H A DGridTouchStackFromBottomManyTest.java84 mGridView.getHeight() - mGridView.getListPaddingBottom(), lastChild.getBottom());
/frameworks/base/core/tests/coretests/src/android/widget/layout/table/
H A DFixedWidthTest.java66 assertEquals(48, mFixedHeight.getHeight());

Completed in 876 milliseconds

1234567891011>>