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

1234567891011>>

/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/media/java/android/media/videoeditor/
H A DVideoEditor.java239 overlayCanvas.getHeight());
241 mOverlayBitmap.getHeight());
249 (float)(mOverlayBitmap.getHeight());
252 (float)(overlayCanvas.getHeight());
255 int newHeight = ((overlayCanvas.getWidth() * mOverlayBitmap.getHeight())
258 top = (overlayCanvas.getHeight() - newHeight) / 2;
262 int newWidth = ((overlayCanvas.getHeight() * mOverlayBitmap.getWidth())
263 / mOverlayBitmap.getHeight());
267 bottom = overlayCanvas.getHeight();
271 srcRect = new Rect(0, 0, mOverlayBitmap.getWidth(), mOverlayBitmap.getHeight());
[all...]
H A DOverlayFrame.java201 mOFHeight = mBitmap.getHeight();
333 resizedRGBFileHeight = overlayBitmap.getHeight();
351 overlayCanvas.getHeight());
353 overlayBitmap.getHeight());
361 (float)(overlayBitmap.getHeight());
364 (float)(overlayCanvas.getHeight());
367 int newHeight = ((overlayCanvas.getWidth() * overlayBitmap.getHeight())
370 top = (overlayCanvas.getHeight() - newHeight) / 2;
374 int newWidth = ((overlayCanvas.getHeight() * overlayBitmap.getWidth())
375 / overlayBitmap.getHeight());
[all...]
/frameworks/base/media/java/android/media/
H A DImage.java101 public abstract int getHeight(); method in class:Image
/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/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/tests/coretests/src/android/widget/layout/linear/
H A DLinearLayoutEditTextsTest.java52 final int childHeight = mChild.getHeight();
53 final int containerHeight = mContainer.getHeight();
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DQuickSettingsScrollView.java45 child.getHeight() - (getHeight() - mPaddingBottom - mPaddingTop));
/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/java/android/transition/
H A DSlide.java46 endView.setTranslationY(-2 * endView.getHeight());
48 -2 * endView.getHeight(), 0);
60 -2 * startView.getHeight());
/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/tests/Camera2Tests/SmartCamera/SimpleCamera/tests/src/androidx/media/filterfw/samples/simplecamera/
H A DFaceSquareFilterTest.java81 bitmap.getHeight());
87 int top = (faceRect.top+HEIGHT_OFFSET)*bitmap.getHeight()/FACE_X_RANGE;
88 int bottom = (faceRect.bottom+HEIGHT_OFFSET)*bitmap.getHeight()/FACE_X_RANGE;
94 } else if (top > bitmap.getHeight()) {
95 top = bitmap.getHeight();
102 if (bottom > bitmap.getHeight()) {
103 bottom = bitmap.getHeight();
137 if (top < bitmap.getHeight()) {
147 if (bottom < bitmap.getHeight()) {
160 outputBitmap.getWidth(), outputBitmap.getHeight());
[all...]
/frameworks/base/libs/hwui/
H A DLayerCache.cpp79 LAYER_LOGD("Destroying layer %dx%d, fbo %d", layer->getWidth(), layer->getHeight(),
81 mSize -= layer->getWidth() * layer->getHeight() * 4;
105 mSize -= layer->getWidth() * layer->getHeight() * 4;
107 LAYER_LOGD("Reusing layer %dx%d", layer->getWidth(), layer->getHeight());
141 const uint32_t size = layer->getWidth() * layer->getHeight() * 4;
155 victim->layer.getHeight());

Completed in 661 milliseconds

1234567891011>>