Searched refs:getHeight (Results 1 - 25 of 558) sorted by relevance

1234567891011>>

/frameworks/base/media/java/android/media/
H A DImage.java113 public abstract int getHeight(); method in class:Image
136 return new Rect(0, 0, getWidth(), getHeight());
151 cropRect.intersect(0, 0, getWidth(), getHeight());
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/glrenderer/
H A DTexture.java40 public int getHeight(); method in interface:Texture
/frameworks/base/core/tests/coretests/src/android/widget/scroll/arrowscroll/
H A DMultiPageTextWithPaddingTest.java49 mTextView.getHeight() > mScrollView.getHeight());
56 (mTextView.getHeight() - mScrollView.getHeight()))
64 getActivity().getLinearLayout().getHeight()
65 - (mScrollView.getHeight() - mScrollView.getPaddingTop() - mScrollView
H A DButtonsWithTallTextViewInBetweenTest.java69 mTopButton.getHeight() <
95 final int screenBottom = mScrollView.getScrollY() + mScrollView.getHeight();
106 getActivity().getLinearLayout().getHeight() - mScrollView.getHeight(),
121 final int maxScroll = getActivity().getLinearLayout().getHeight()
122 - mScrollView.getHeight();
135 getTopWithinScrollView(mBottomButton) > mScrollView.getScrollY() + mScrollView.getHeight());
H A DShortButtonsTest.java47 getActivity().getButtonAt(0).getHeight()
48 < mScrollView.getHeight());
51 getActivity().getLinearLayout().getHeight()
52 > getActivity().getScrollView().getHeight());
68 getActivity().getLinearLayout().getHeight() - mScrollView.getHeight(),
106 && mTempRect.top <= (mScrollView.getScrollY() + mScrollView.getHeight());
/frameworks/base/core/java/android/view/
H A DViewOutlineProvider.java40 outline.setRect(0, 0, view.getWidth(), view.getHeight());
55 outline.setRect(0, 0, view.getWidth(), view.getHeight());
71 view.getHeight() - view.getPaddingBottom());
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
H A DAssetsAtlasActivity.java56 final Rect src = new Rect(0, 0, mBitmap.getWidth() / 2, mBitmap.getHeight() / 2);
57 final Rect dst = new Rect(0, 0, mBitmap.getWidth(), mBitmap.getHeight());
60 canvas.translate(0.0f, mBitmap.getHeight());
62 canvas.translate(0.0f, mBitmap.getHeight());
H A DAlpha8BitmapActivity.java50 mBitmap1 = Bitmap.createBitmap(texture.getWidth(), texture.getHeight(),
60 final float height = texture.getHeight() / 3.0f;
83 matrix.postTranslate(0.0f, mBitmap1.getHeight());
86 Rect src = new Rect(0, 0, mBitmap1.getWidth() / 2, mBitmap1.getHeight() / 2);
87 Rect dst = new Rect(0, mBitmap1.getHeight() * 3, mBitmap1.getWidth(),
88 mBitmap1.getHeight() * 4);
91 canvas.translate(0.0f, mBitmap1.getHeight() * 4);
H A DBigGradientActivity.java44 p.setShader(new LinearGradient(0.0f, 0.0f, 0.0f, getHeight(), 0xff000000,
47 canvas.drawRect(0.0f, 0.0f, getWidth(), getHeight(), p);
H A DClipRegion2Activity.java72 mRegion.set(0, 0, getWidth(), getHeight());
73 mRegion.op(getWidth() / 4, getHeight() / 4, 3 * getWidth() / 4, 3 * getHeight() / 4,
/frameworks/ex/framesequence/jni/
H A DFrameSequence.cpp28 !frameSequence->getWidth() || !frameSequence->getHeight()) {
H A DFrameSequence.h48 virtual int getHeight() const = 0;
/frameworks/base/core/tests/coretests/src/android/widget/scroll/
H A DRequestRectangleVisible.java50 int screenHeight = getWindowManager().getDefaultDisplay().getHeight();
61 rect.set(0, 0, childToMakeVisible.getLeft(), childToMakeVisible.getHeight());
69 rect.set(0, 0, topBlob.getWidth(), topBlob.getHeight());
77 rect.set(0, 0, childToMakeVisible.getLeft(), childToMakeVisible.getHeight());
85 rect.set(0, 0, bottomBlob.getWidth(), bottomBlob.getHeight());
H A DButtonAboveTallInternalSelectionViewTest.java41 getActivity().getIsv().getHeight() > getActivity().getScrollView().getHeight());
H A DRequestRectangleVisibleTest.java86 mTopBlob.getHeight() > mScrollView.getHeight());
90 mBottomBlob.getHeight() > mScrollView.getHeight());
112 mScrollView.getHeight()
113 - mChildToScrollTo.getHeight()
170 mScrollView.getHeight() - mBottomBlob.getHeight()
206 int bottom = xy[1] + view.getHeight();
207 int bottomOfRoot = xyRoot[1] + origin.getHeight();
[all...]
/frameworks/base/core/java/android/hardware/camera2/utils/
H A DSizeAreaComparator.java47 long area = width * size.getHeight();
48 long area2 = width2 * size2.getHeight();
/frameworks/base/core/tests/coretests/src/android/widget/layout/linear/
H A DLinearLayoutEditTextsTest.java52 final int childHeight = mChild.getHeight();
53 final int containerHeight = mContainer.getHeight();
/frameworks/base/core/tests/coretests/src/android/view/
H A DZeroSizedTest.java64 assertTrue(mWithDimension.getHeight() > 0);
71 assertTrue(mWithNoWdith.getHeight() > 0);
78 assertTrue(mWithNoHeight.getHeight() == 0);
85 assertTrue(mWithNoDimension.getHeight() == 0);
/frameworks/base/core/tests/coretests/src/android/widget/gridview/touch/
H A DGridTouchStackFromBottomTest.java66 mGridView.getHeight() - mGridView.getListPaddingBottom(), lastChild.getBottom());
83 mGridView.getHeight() - mGridView.getListPaddingBottom(), lastChild.getBottom());
100 mGridView.getHeight() - mGridView.getListPaddingBottom(), lastChild.getBottom());
117 mGridView.getHeight() - mGridView.getListPaddingBottom(), lastChild.getBottom());
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
H A DFrameBuffer2D.java25 public int getHeight() { method in class:FrameBuffer2D
H A DFrameImage2D.java137 if (bitmap.getWidth() != dimensions[0] || bitmap.getHeight() != dimensions[1]) {
139 + "x" + bitmap.getHeight() + " to frame of size " + dimensions[0] + "x"
161 (int) srcRect.top * srcImage.getHeight(),
163 (int) srcRect.bottom * srcImage.getHeight());
165 (int) dstRect.top * srcImage.getHeight(),
167 (int) dstRect.bottom * srcImage.getHeight());
171 Bitmap dstBitmap = Bitmap.createBitmap(dstImage.getWidth(), dstImage.getHeight(), config);
/frameworks/native/services/surfaceflinger/DisplayHardware/
H A DFloatRect.h37 inline float getHeight() const { return bottom - top; } function in class:android::FloatRect
/frameworks/base/core/tests/coretests/src/android/widget/listview/arrowscroll/
H A DListItemsExpandOnSelectionTest.java43 mListBottom = mListView.getHeight() - mListView.getListPaddingBottom();
44 mExpandedHeight = mListView.getChildAt(0).getHeight();
45 mNormalHeight = mListView.getChildAt(1).getHeight();
91 assertEquals("expanded height", mExpandedHeight, mListView.getSelectedView().getHeight());
113 assertEquals("expanded height", mExpandedHeight, mListView.getSelectedView().getHeight());
/frameworks/base/tools/layoutlib/bridge/src/android/view/
H A DShadowPainter.java74 int height = source.getHeight();
82 int dstHeight = image.getHeight();
183 int height = source.getHeight();
210 int height = source.getHeight();
291 assert ShadowBottomRight.getHeight(null) == SHADOW_SIZE;
294 int trHeight = ShadowTopRight.getHeight(null);
307 x, y + height, x + width, y + height + ShadowBottom.getHeight(null),
308 0, 0, ShadowBottom.getWidth(null), ShadowBottom.getHeight(null), null);
310 x + width, y + ShadowTopRight.getHeight(null), x + width + ShadowRight.getWidth(null), y + height,
311 0, 0, ShadowRight.getWidth(null), ShadowRight.getHeight(nul
[all...]
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
H A DHorizontalGridView.java273 || mTempBitmapLow.getHeight() != getHeight()) {
274 mTempBitmapLow = Bitmap.createBitmap(mLowFadeShaderLength, getHeight(),
283 || mTempBitmapHigh.getHeight() != getHeight()) {
287 && mTempBitmapLow.getHeight() == getHeight()) {
291 mTempBitmapHigh = Bitmap.createBitmap(mHighFadeShaderLength, getHeight(),
320 highEdge - (mFadingHighEdge ? mHighFadeShaderLength : 0), getHeight());
326 mTempRect.bottom = getHeight();
[all...]

Completed in 496 milliseconds

1234567891011>>