/frameworks/base/packages/FakeOemFeatures/src/com/android/fakeoemfeatures/ |
H A D | FakeView.java | 75 int y = mRandom.nextInt(getHeight());
|
/frameworks/base/packages/Keyguard/src/com/android/keyguard/ |
H A D | LiftToActivateListener.java | 57 && (y < v.getHeight() - v.getPaddingBottom())) {
|
/frameworks/base/tests/BiDiTests/src/com/android/bidi/ |
H A D | BiDiTestViewDrawText.java | 57 final int height = getHeight();
|
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
H A D | ClipRegion3Activity.java | 71 canvas.translate(mClipPosition * getWidth(), getHeight() / 2.0f);
|
H A D | Rotate3dTextActivity.java | 79 canvas.drawText(TEXT, getWidth() / 2.0f, getHeight() / 2.0f, mPaint);
|
H A D | ViewLayersActivity5.java | 76 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 D | ListViewAutoScrollHelper.java | 70 if (lastView.getBottom() <= target.getHeight()) {
|
/frameworks/base/packages/WallpaperCropper/src/com/android/photos/ |
H A D | BitmapRegionTileSource.java | 50 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 D | Bitmap_Delegate.java | 286 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 D | VideoEditorHelper.java | 329 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 D | PhotoView.java | 465 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 D | DrawableHolder.java | 134 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 D | DrawableBgMinSizeTest.java | 87 view.getHeight() >= mBackgroundDrawable.getMinimumHeight()); 124 .getHeight() >= mBigBackgroundDrawable.getMinimumHeight());
|
/frameworks/base/core/tests/coretests/src/android/widget/listview/arrowscroll/ |
H A D | ListOfItemsShorterThanScreenTest.java | 150 mListView.getHeight() - mListView.getListPaddingBottom(), 158 return mListView.getHeight() - (mListView.getVerticalFadingEdgeLength() + mListView.getListPaddingBottom());
|
H A D | ListOfItemsTallerThanScreenTest.java | 110 (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 D | ListTouchBottomGravityManyTest.java | 95 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 D | FisheyeFilter.java | 121 if (inputFormat.getWidth() != mWidth || inputFormat.getHeight() != mHeight) { 122 updateFrameSize(inputFormat.getWidth(), inputFormat.getHeight());
|
H A D | RedEyeFilter.java | 130 if (inputFormat.getWidth() != mWidth || inputFormat.getHeight() != mHeight) { 132 mHeight = inputFormat.getHeight();
|
H A D | RotateFilter.java | 100 if (inputFormat.getWidth() != mWidth || inputFormat.getHeight() != mHeight) { 102 mHeight = inputFormat.getHeight();
|
H A D | StraightenFilter.java | 102 if (inputFormat.getWidth() != mWidth || inputFormat.getHeight() != mHeight) { 104 mHeight = inputFormat.getHeight();
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
H A D | DelegateViewHelper.java | 130 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 D | TouchUtils.java | 231 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 D | SurfaceHolderTarget.java | 148 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 D | ResourceModifiers.java | 58 mTexHeight = mBitmap.getHeight(); 94 final float height = mBitmap.getHeight() / 8.0f;
|
/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/ |
H A D | LinearLayoutICS.java | 126 bottom = getHeight() - getPaddingBottom() - mDividerHeight; 165 left + mDividerWidth, getHeight() - getPaddingBottom() - mDividerPadding);
|