/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
H A D | ClipRegion2Activity.java | 72 mRegion.set(0, 0, getWidth(), getHeight()); 73 mRegion.op(getWidth() / 4, getHeight() / 4, 3 * getWidth() / 4, 3 * getHeight() / 4,
|
H A D | ColorFiltersActivity.java | 78 canvas.translate(0.0f, 50.0f + mBitmap1.getHeight()); 81 canvas.translate(0.0f, 50.0f + mBitmap1.getHeight()); 89 canvas.translate(0.0f, 50.0f + mBitmap2.getHeight()); 92 canvas.translate(0.0f, 50.0f + mBitmap2.getHeight());
|
/frameworks/rs/tests/java_api/CannyLive/src/com/android/example/cannylive/ |
H A D | VerticalSeekBar.java | 54 c.translate(-getHeight(), 0); 69 setProgress(getMax() - (int) (getMax() * event.getY() / getHeight())); 70 onSizeChanged(getWidth(), getHeight(), 0, 0);
|
/frameworks/rs/tests/java_api/Refocus/src/com/android/rs/test/ |
H A D | ImageCompare.java | 50 bitmap1.getHeight() != bitmap2.getHeight()) { 61 final int height = bitmap1.getHeight();
|
H A D | DepthOfFieldOptions.java | 31 this.focalDepth = rgbz.getDepth((int)(x * rgbz.getWidth()), (int)(y * rgbz.getHeight()));
|
/frameworks/rs/tests/java_api/RsCameraDemo/src/com/android/example/rscamera/ |
H A D | VerticalSeekBar.java | 54 c.translate(-getHeight(), 0); 69 setProgress(getMax() - (int) (getMax() * event.getY() / getHeight())); 70 onSizeChanged(getWidth(), getHeight(), 0, 0);
|
/frameworks/support/leanback/src/main/java/androidx/leanback/widget/ |
H A D | MediaRowFocusView.java | 55 mRoundRectRadius = getHeight() / 2; 57 int drawOffset = (drawHeight - getHeight()) / 2; 58 mRoundRectF.set(0, -drawOffset, getWidth(), getHeight() + drawOffset);
|
H A D | HorizontalGridView.java | 284 || mTempBitmapLow.getHeight() != getHeight()) { 285 mTempBitmapLow = Bitmap.createBitmap(mLowFadeShaderLength, getHeight(), 294 || mTempBitmapHigh.getHeight() != getHeight()) { 298 && mTempBitmapLow.getHeight() == getHeight()) { 302 mTempBitmapHigh = Bitmap.createBitmap(mHighFadeShaderLength, getHeight(), 331 highEdge - (mFadingHighEdge ? mHighFadeShaderLength : 0), getHeight()); 337 mTempRect.bottom = getHeight(); [all...] |
/frameworks/support/percent/src/androidTest/java/androidx/percentlayout/widget/ |
H A D | PercentDynamicLayoutTest.java | 115 final int containerHeight = percentFrameLayout.getHeight(); 128 availableHeight, child1.getHeight()); 132 availableHeight, child2.getHeight()); 145 final int containerHeight = percentFrameLayout.getHeight(); 158 0.5f * availableHeight, child1.getHeight()); 162 0.5f* availableHeight, child2.getHeight()); 175 final int containerHeight = percentRelativeLayout.getHeight(); 188 availableHeight, child1.getHeight()); 192 availableHeight, child2.getHeight()); 205 final int containerHeight = percentRelativeLayout.getHeight(); [all...] |
/frameworks/base/core/tests/coretests/src/android/widget/listview/arrowscroll/ |
H A D | ListItemsExpandOnSelectionTest.java | 44 mListBottom = mListView.getHeight() - mListView.getListPaddingBottom(); 45 mExpandedHeight = mListView.getChildAt(0).getHeight(); 46 mNormalHeight = mListView.getChildAt(1).getHeight(); 93 assertEquals("expanded height", mExpandedHeight, mListView.getSelectedView().getHeight()); 116 assertEquals("expanded height", mExpandedHeight, mListView.getSelectedView().getHeight());
|
/frameworks/layoutlib/bridge/src/android/view/ |
H A D | ShadowPainter.java | 83 int height = source.getHeight(); 91 int dstHeight = image.getHeight(); 192 int height = source.getHeight(); 219 int height = source.getHeight(); 300 assert ShadowBottomRight.getHeight(null) == SHADOW_SIZE; 303 int trHeight = ShadowTopRight.getHeight(null); 316 x, y + height, x + width, y + height + ShadowBottom.getHeight(null), 317 0, 0, ShadowBottom.getWidth(null), ShadowBottom.getHeight(null), null); 319 x + width, y + ShadowTopRight.getHeight(null), x + width + ShadowRight.getWidth(null), y + height, 320 0, 0, ShadowRight.getWidth(null), ShadowRight.getHeight(nul [all...] |
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/ |
H A D | FrameImage2D.java | 137 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/base/tests/Camera2Tests/SmartCamera/SimpleCamera/tests/src/androidx/media/filterfw/samples/simplecamera/ |
H A D | FaceSquareFilterTest.java | 81 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/support/wear/src/main/java/androidx/wear/widget/ |
H A D | CurvingLayoutCallback.java | 64 || mParentView.getHeight() != parent.getHeight()))) { 67 mLayoutHeight = mParentView.getHeight(); 72 mAnchorOffsetXY[1] = child.getHeight() / 2.0f; 74 float minCenter = -(float) child.getHeight() / 2; 75 float maxCenter = mLayoutHeight + (float) child.getHeight() / 2;
|
/frameworks/support/emoji/core/src/main/java/androidx/emoji/text/ |
H A D | EmojiSpan.java | 82 mRatio = fontHeight * 1.0f / mMetadata.getHeight(); 83 mHeight = (short) (mMetadata.getHeight() * mRatio); 120 final int getHeight() { method in class:EmojiSpan
|
/frameworks/base/core/tests/coretests/src/android/widget/layout/linear/ |
H A D | BaselineButtonsTest.java | 74 assertEquals("Layout incorrect height", pauseHeight, mLayout.getHeight()); 75 assertEquals("Pause incorrect height", pauseHeight, mPause.getHeight()); 76 assertEquals("Prev incorrect height", prevHeight, mPrev.getHeight()); 77 assertEquals("Next incorrect height", nextHeight, mNext.getHeight());
|
/frameworks/base/libs/hwui/pipeline/skia/ |
H A D | LayerDrawable.h | 40 return SkRect::MakeWH(mLayerUpdater->getWidth(), mLayerUpdater->getHeight());
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/tuner/ |
H A D | AutoScrollView.java | 35 int height = getHeight();
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/samples/simplecamera/ |
H A D | ExposureFilter.java | 63 inputImage.getHeight(), 66 inputImage.getHeight(), 76 underOutFrame.setValue(underExposedPixels*inputImage.getWidth()*inputImage.getHeight()); 91 overOutFrame.setValue(overExposedPixels*inputImage.getWidth()*inputImage.getHeight());
|
/frameworks/native/services/surfaceflinger/ |
H A D | RenderArea.cpp | 24 uint32_t height = getHeight();
|
/frameworks/support/coordinatorlayout/src/androidTest/java/androidx/coordinatorlayout/custom/ |
H A D | TestFloatingBehavior.java | 45 dependency.getTranslationY() - dependency.getHeight()));
|
/frameworks/base/media/java/android/media/ |
H A D | ImageUtils.java | 115 Size srcSize = new Size(src.getWidth(), src.getHeight()); 116 Size dstSize = new Size(dst.getWidth(), dst.getHeight()); 155 for (int row = 0; row < effectivePlaneSize.getHeight(); row++) { 156 if (row == effectivePlaneSize.getHeight() - 1) { 241 return new Size(image.getWidth(), image.getHeight()); 243 return new Size(image.getWidth() / 2, image.getHeight() / 2); 247 return new Size(image.getWidth(), image.getHeight()); 249 return new Size(image.getWidth(), image.getHeight() / 2); 263 return new Size(image.getWidth(), image.getHeight());
|
/frameworks/base/services/tests/servicestests/src/com/android/server/wm/ |
H A D | TaskSnapshotSurfaceTest.java | 81 when(mockCanvas.getHeight()).thenReturn(100); 91 when(mockCanvas.getHeight()).thenReturn(200); 101 when(mockCanvas.getHeight()).thenReturn(200); 112 when(mockCanvas.getHeight()).thenReturn(100); 122 when(mockCanvas.getHeight()).thenReturn(100); 176 when(mockCanvas.getHeight()).thenReturn(100); 189 when(mockCanvas.getHeight()).thenReturn(100); 202 when(mockCanvas.getHeight()).thenReturn(100); 216 when(mockCanvas.getHeight()).thenReturn(100); 229 when(mockCanvas.getHeight()) [all...] |
/frameworks/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/intensive/util/ |
H A D | ImageUtils.java | 63 int maxDimension = Math.max(image.getWidth(), image.getHeight()); 90 BufferedImage temp = new BufferedImage(goldenImage.getWidth(), goldenImage.getHeight(), 98 int imageHeight = Math.min(goldenImage.getHeight(), image.getHeight()); 158 goldenImage.getWidth() + "x" + goldenImage.getHeight() + 159 "vs" + image.getWidth() + "x" + image.getHeight(); 160 } else if (Math.abs(goldenImage.getHeight() - image.getHeight()) >= 2) { 162 goldenImage.getWidth() + "x" + goldenImage.getHeight() + 163 "vs" + image.getWidth() + "x" + image.getHeight(); [all...] |
/frameworks/base/core/tests/coretests/src/android/view/ |
H A D | BigCacheTest.java | 59 assertTrue(mTiny.getWidth() * mTiny.getHeight() * 2 < max); 67 assertTrue(mLarge.getWidth() * mLarge.getHeight() * 2 > max);
|