Searched refs:getHeight (Results 101 - 125 of 424) sorted by relevance

1234567891011>>

/frameworks/base/packages/FakeOemFeatures/src/com/android/fakeoemfeatures/
H A DFakeView.java75 int y = mRandom.nextInt(getHeight());
/frameworks/base/packages/Keyguard/src/com/android/keyguard/
H A DLiftToActivateListener.java57 && (y < v.getHeight() - v.getPaddingBottom())) {
/frameworks/base/tests/BiDiTests/src/com/android/bidi/
H A DBiDiTestViewDrawText.java57 final int height = getHeight();
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
H A DClipRegion3Activity.java71 canvas.translate(mClipPosition * getWidth(), getHeight() / 2.0f);
H A DRotate3dTextActivity.java79 canvas.drawText(TEXT, getWidth() / 2.0f, getHeight() / 2.0f, mPaint);
H A DViewLayersActivity5.java76 mClipPath.addCircle(getWidth() / 2.0f, getHeight() / 2.0f,
77 Math.min(getWidth(), getHeight()) / 3.0f, Path.Direction.CW);
/frameworks/support/v4/java/android/support/v4/widget/
H A DListViewAutoScrollHelper.java70 if (lastView.getBottom() <= target.getHeight()) {
/frameworks/base/packages/WallpaperCropper/src/com/android/photos/
H A DBitmapRegionTileSource.java50 int getHeight(); method in interface:SimpleBitmapRegionDecoder
88 public int getHeight() { method in class:SimpleBitmapRegionDecoderWrapper
89 return mDecoder.getHeight();
120 public int getHeight() { method in class:DumbBitmapRegionDecoder
121 return mBuffer.getHeight();
184 int height = mDecoder.getHeight();
384 mHeight = mDecoder.getHeight();
396 if (preview.getWidth() <= GL_SIZE_LIMIT && preview.getHeight() <= GL_SIZE_LIMIT) {
403 preview.getWidth(), preview.getHeight()));
508 float scale = (float) targetSize / (float) (Math.max(result.getWidth(), result.getHeight()));
[all...]
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
H A DBitmap_Delegate.java286 int height = srcImage.getHeight();
338 g.fillRect(0, 0, image.getWidth(), image.getHeight());
363 return delegate.mImage.getHeight();
570 image1.getHeight() != image2.getHeight()) {
576 int h = image2.getHeight();
611 int height = delegate.mImage.getHeight();
640 int h = image.getHeight();
645 image.getRGB(0, 0, image.getWidth(), image.getHeight(), argb, 0, image.getWidth());
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/
H A DVideoEditorHelper.java329 export_height + "\tActual VideoHeight = " + mvi.getHeight());
331 "\t<expected> " + export_height + "\t<actual> " + mvi.getHeight(),
332 export_height, mvi.getHeight());
383 export_height + "\tActual VideoHeight = " + mvi.getHeight());
385 "\t<expected> " + export_height + "\t<actual> " + mvi.getHeight(),
386 export_height, mvi.getHeight());
/frameworks/opt/photoviewer/src/com/android/ex/photo/views/
H A DPhotoView.java465 mDrawable.getIntrinsicHeight() != photoBitmap.getHeight());
623 final int drawTop = (getHeight() - videoImage.getHeight()) / 2;
635 canvas.drawRect(0, 0, getWidth(), getHeight(), sCropDimPaint);
655 final int layoutHeight = getHeight();
719 final int vheight = getHeight();
750 final int vheight = mAllowCrop ? sCropSize : getHeight();
784 final int vheight = mAllowCrop ? getCropSize() : getHeight();
826 mMatrix.postRotate(-mRotation, getWidth() / 2, getHeight() / 2);
842 mMatrix.postRotate(mRotation, getWidth() / 2, getHeight() /
[all...]
/frameworks/base/core/java/com/android/internal/widget/
H A DDrawableHolder.java134 canvas.translate(-0.5f*getWidth(), -0.5f*getHeight());
206 public int getHeight() { method in class:DrawableHolder
/frameworks/base/core/tests/coretests/src/android/view/
H A DDrawableBgMinSizeTest.java87 view.getHeight() >= mBackgroundDrawable.getMinimumHeight());
124 .getHeight() >= mBigBackgroundDrawable.getMinimumHeight());
/frameworks/base/core/tests/coretests/src/android/widget/listview/arrowscroll/
H A DListOfItemsShorterThanScreenTest.java150 mListView.getHeight() - mListView.getListPaddingBottom(),
158 return mListView.getHeight() - (mListView.getVerticalFadingEdgeLength() + mListView.getListPaddingBottom());
H A DListOfItemsTallerThanScreenTest.java110 (mListView.getSelectedView().getHeight() / mListView.getMaxScrollAmount()) + 1;
152 final int realBottom = mListView.getHeight() - mListView.getListPaddingBottom();
/frameworks/base/core/tests/coretests/src/android/widget/listview/touch/
H A DListTouchBottomGravityManyTest.java95 mListView.getHeight() - mListView.getListPaddingBottom(), lastChild.getBottom());
149 (int)(mActivity.getWindowManager().getDefaultDisplay().getHeight() * 0.75f));
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/imageproc/
H A DFisheyeFilter.java121 if (inputFormat.getWidth() != mWidth || inputFormat.getHeight() != mHeight) {
122 updateFrameSize(inputFormat.getWidth(), inputFormat.getHeight());
H A DRedEyeFilter.java130 if (inputFormat.getWidth() != mWidth || inputFormat.getHeight() != mHeight) {
132 mHeight = inputFormat.getHeight();
H A DRotateFilter.java100 if (inputFormat.getWidth() != mWidth || inputFormat.getHeight() != mHeight) {
102 mHeight = inputFormat.getHeight();
H A DStraightenFilter.java102 if (inputFormat.getWidth() != mWidth || inputFormat.getHeight() != mHeight) {
104 mHeight = inputFormat.getHeight();
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
H A DDelegateViewHelper.java130 bounds.set(p[0], p[1], p[0] + view.getWidth(), p[1] + view.getHeight());
132 bounds.union(p[0], p[1], p[0] + view.getWidth(), p[1] + view.getHeight());
/frameworks/base/test-runner/src/android/test/
H A DTouchUtils.java231 int screenHeight = activity.getWindowManager().getDefaultDisplay().getHeight();
237 final int viewHeight = v.getHeight();
257 final int viewHeight = v.getHeight();
297 final int viewHeight = v.getHeight();
332 final int viewHeight = v.getHeight();
393 final int viewHeight = v.getHeight();
480 final int viewHeight = v.getHeight();
502 final int viewHeight = v.getHeight();
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
H A DSurfaceHolderTarget.java148 Rect frameRect = new Rect(0, 0, image.getWidth(), image.getHeight());
166 Rect sourceRect = new Rect(0, 0, bitmap.getWidth(), bitmap.getHeight());
/frameworks/base/tests/CanvasCompare/src/com/android/test/hwuicompare/
H A DResourceModifiers.java58 mTexHeight = mBitmap.getHeight();
94 final float height = mBitmap.getHeight() / 8.0f;
/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/
H A DLinearLayoutICS.java126 bottom = getHeight() - getPaddingBottom() - mDividerHeight;
165 left + mDividerWidth, getHeight() - getPaddingBottom() - mDividerPadding);

Completed in 858 milliseconds

1234567891011>>