Searched refs:getHeight (Results 26 - 50 of 385) sorted by relevance

1234567891011>>

/frameworks/base/graphics/java/android/graphics/
H A DLargeBitmap.java64 if (rect.left < 0 || rect.top < 0 || rect.right > getWidth() || rect.bottom > getHeight())
77 public int getHeight() { method in class:LargeBitmap
78 checkRecycled("getHeight called on recycled large bitmap");
85 * getWidth() or getHeight() is called.
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DTrackingPatternView.java41 mTextureHeight = mTexture.getHeight();
53 final int height = getHeight();
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/tablet/
H A DNotificationPeekPanel.java39 final int b = getHeight() - getPaddingBottom();
62 if (x >= 0 && x < getWidth() && y >= 0 && y < getHeight()) {
/frameworks/base/core/tests/coretests/src/android/widget/scroll/
H A DScrollViewButtonsAndLabelsTest.java52 mScreenBottom = origin[1] + mScrollView.getHeight();
84 int buttonBottom = buttonLoc[1] + firstButtonOffScreen.getHeight();
103 mLinearLayout.getHeight(), lastButton.getBottom());
114 int buttonBottom = buttonLoc[1] + lastButton.getHeight();
180 int screenHeight = mScrollView.getHeight();
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/videoeditor/
H A DMediaItemThumbnailTest.java74 assertEquals("Thumbnail Height", outHeight, thumbNailBmp.getHeight());
96 final int outHeight = mediaVideoItem.getHeight();
116 final int outHeight = mediaVideoItem.getHeight();
135 final int outHeight = mediaVideoItem.getHeight() / 2;
155 final int outHeight = mediaVideoItem.getHeight();
175 final int outHeight = mediaVideoItem.getHeight() * 2;
195 final int outHeight = mediaVideoItem.getHeight() * 2;
292 final int outHeight = mediaVideoItem.getHeight() / 2;
315 final int outHeight = mediaVideoItem.getHeight();
345 final int outHeight = mediaVideoItem.getHeight();
[all...]
/frameworks/base/core/tests/coretests/src/android/widget/listview/arrowscroll/
H A DListItemFocusablesCloseTest.java40 mListBottom = mListView.getHeight() - mListView.getListPaddingBottom();
57 first.getHeight() < mListView.getHeight());
H A DListOfThinItemsTest.java44 mListView.getSelectedView().getHeight() < mListView.getVerticalFadingEdgeLength());
52 final int listBottom = mListView.getHeight() - mListView.getListPaddingBottom();
88 final int listBottom = mListView.getHeight() - mListView.getListPaddingBottom();
H A DListOfShortShortTallShortShortTest.java45 int firstTwoHeight = mListView.getChildAt(0).getHeight() + mListView.getChildAt(1).getHeight();
H A DListWithOffScreenNextSelectableTest.java61 final int listBottom = mListView.getHeight() - mListView.getListPaddingBottom();
80 final int listBottom = mListView.getHeight() - mListView.getListPaddingBottom();
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
H A DEventHole.java75 final boolean visible = isShown() && mWindowVis && getWidth() > 0 && getHeight() > 0;
81 final int b = t + getHeight();
91 info.touchableRegion.set(0, 0, top.getWidth(), top.getHeight());
/frameworks/base/core/java/android/widget/
H A DScrollView.java198 final int bottomEdge = getHeight() - mPaddingBottom;
271 int childHeight = child.getHeight();
272 return getHeight() < childHeight + mPaddingTop + mPaddingBottom;
644 mEdgeGlowTop.onPull((float) deltaY / getHeight());
649 mEdgeGlowBottom.onPull((float) deltaY / getHeight());
779 final int viewportHeight = getHeight() - mPaddingBottom - mPaddingTop;
787 final int viewportHeight = getHeight() - mPaddingBottom - mPaddingTop;
833 child.getHeight() - (getHeight() - mPaddingBottom - mPaddingTop));
935 int height = getHeight();
[all...]
/frameworks/base/core/tests/coretests/src/android/widget/listview/
H A DListUnspecifiedMeasure.java53 assertTrue(mListView.getHeight() > 0);
/frameworks/base/graphics/tests/graphicstests/src/android/graphics/
H A DBitmapFactoryTest.java44 assertEquals("Bitmap height", 1, bitmap.getHeight());
/frameworks/base/opengl/java/android/opengl/
H A DETC1.java136 public static native int getHeight(Buffer header); method in class:ETC1
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
H A DBitmapsActivity.java85 canvas.translate(0.0f, mBitmap1.getHeight());
90 canvas.translate(0.0f, mBitmap2.getHeight());
95 canvas.translate(0.0f, mBitmap1.getHeight());
98 canvas.drawRect(0.0f, 0.0f, mBitmap2.getWidth(), mBitmap2.getHeight(), mBitmapPaint);
H A DBitmapsRectActivity.java57 final float half = mBitmap1.getHeight() / 2.0f;
72 canvas.translate(0.0f, mBitmap1.getHeight());
/frameworks/base/graphics/java/android/renderscript/
H A DRSTextureView.java162 mRS.setSurfaceTexture(mSurfaceTexture, getWidth(), getHeight());
187 mRS.setSurfaceTexture(mSurfaceTexture, getWidth(), getHeight());
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/
H A DGLFrame.java120 if (!nativeAllocate(mGLEnvironment, getFormat().getWidth(), getFormat().getHeight())) {
128 int height = getFormat().getHeight();
138 int height = getFormat().getHeight();
230 getFormat().getHeight() != bitmap.getHeight()) {
245 getFormat().getHeight(),
H A DNativeFrame.java175 getFormat().getHeight() != bitmap.getHeight()) {
193 getFormat().getHeight(),
/frameworks/base/core/java/android/view/
H A DTextureView.java325 nSetDefaultBufferSize(mSurface, getWidth(), getHeight());
328 mListener.onSurfaceTextureSizeChanged(mSurface, getWidth(), getHeight());
365 nSetDefaultBufferSize(mSurface, getWidth(), getHeight());
385 mListener.onSurfaceTextureAvailable(mSurface, getWidth(), getHeight());
402 nSetDefaultBufferSize(mSurface, getWidth(), getHeight());
454 mLayer.update(getWidth(), getHeight(), mOpaque);
533 return getBitmap(getWidth(), getHeight());
/frameworks/base/libs/hwui/
H A DLayer.cpp75 if (desiredWidth <= getWidth() && desiredHeight <= getHeight()) {
87 uint32_t oldHeight = getHeight();
157 const float height = layer.getHeight();
175 renderer->setViewport(layer.getWidth(), layer.getHeight());
190 renderer->setViewport(layer.getWidth(), layer.getHeight());
/frameworks/base/core/tests/coretests/src/android/widget/listview/touch/
H A DListTouchManyTest.java90 mListView.getHeight() - mListView.getListPaddingBottom(), lastChild.getBottom());
108 mListView.getHeight() - mListView.getListPaddingBottom())) {
136 mListView.getHeight() - mListView.getListPaddingBottom())) {
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/imageproc/
H A DGrainFilter.java163 inputFormat.getHeight() / 2,
180 if (inputFormat.getWidth() != mWidth || inputFormat.getHeight() != mHeight) {
181 updateFrameSize(inputFormat.getWidth(), inputFormat.getHeight());
/frameworks/base/tests/ImfTest/tests/src/com/android/imftest/samples/
H A DImfBaseTestCase.java127 origHeight = rootView.getHeight();
133 newHeight = rootView.getHeight();
136 newHeight = rootView.getHeight();
/frameworks/base/core/jni/android/graphics/
H A DPicture.cpp78 static int getHeight(JNIEnv* env, jobject jpic) { function in class:android::SkPictureGlue
101 {"getHeight", "()I", (void*) SkPictureGlue::getHeight},

Completed in 504 milliseconds

1234567891011>>