/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/glrenderer/ |
H A D | Texture.java | 39 public int getWidth(); method in interface:Texture
|
/frameworks/support/leanback/src/androidTest/java/androidx/leanback/widget/ |
H A D | ShadowOverlayContainerTest.java | 58 assertTrue(textView.getWidth() > 0); 59 assertTrue(textView.getWidth() < 500); 62 assertEquals(container.getWidth(), textView.getWidth()); 70 assertTrue(textView.getWidth() == 123); 72 assertEquals(container.getWidth(), textView.getWidth()); 89 assertTrue(textView.getWidth() == 200); 92 assertEquals(container.getWidth(), textView.getWidth()); [all...] |
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/tests/src/androidx/media/filterfw/samples/simplecamera/ |
H A D | FaceSquareFilterTest.java | 80 bitmap.getPixels(pixels, 0, bitmap.getWidth(), 0, 0, bitmap.getWidth(), 89 int left = (faceRect.left+WIDTH_OFFSET)*bitmap.getWidth()/FACE_X_RANGE; 90 int right = (faceRect.right+WIDTH_OFFSET)*bitmap.getWidth()/FACE_X_RANGE; 99 } else if (left > bitmap.getWidth()) { 100 left = bitmap.getWidth(); 107 if (right > bitmap.getWidth()) { 108 right = bitmap.getWidth(); 116 pixels[ImageConstants.PIX_CHANNELS * (bitmap.getWidth() * (top + j) + left) + 118 pixels[ImageConstants.PIX_CHANNELS * (bitmap.getWidth() * (to [all...] |
/frameworks/base/core/java/android/view/ |
H A D | ViewOutlineProvider.java | 40 outline.setRect(0, 0, view.getWidth(), view.getHeight()); 55 outline.setRect(0, 0, view.getWidth(), view.getHeight()); 70 view.getWidth() - view.getPaddingRight(),
|
/frameworks/base/core/tests/coretests/src/android/widget/layout/table/ |
H A D | WeightTest.java | 61 assertEquals(mCell1.getWidth() + mCell2.getWidth() + mCell3.getWidth(), mRow.getWidth());
|
H A D | FixedWidthTest.java | 59 assertEquals(150, mFixedWidth.getWidth()); 60 assertEquals(mFixedWidth.getWidth(), mNonFixedWidth.getWidth());
|
/frameworks/ex/framesequence/jni/ |
H A D | FrameSequence.cpp | 28 !frameSequence->getWidth() || !frameSequence->getHeight()) {
|
H A D | FrameSequence.h | 47 virtual int getWidth() const = 0;
|
/frameworks/base/core/java/android/hardware/camera2/params/ |
H A D | InputConfiguration.java | 60 public int getWidth() { method in class:InputConfiguration 100 if (otherInputConfig.getWidth() == mWidth &&
|
/frameworks/base/core/java/android/hardware/camera2/utils/ |
H A D | SizeAreaComparator.java | 45 long width = size.getWidth(); 46 long width2 = size2.getWidth();
|
/frameworks/base/core/tests/coretests/src/android/widget/layout/linear/ |
H A D | WeightSumTest.java | 52 final int childWidth = mChild.getWidth(); 53 final int containerWidth = mContainer.getWidth();
|
/frameworks/base/services/core/java/com/android/server/wm/utils/ |
H A D | WmDisplayCutout.java | 69 mFrameSize.getWidth() - insetLeft - insetRight, 88 mFrameSize.getWidth() - frame.right, mFrameSize.getHeight() - frame.bottom); 102 if (displaySize.getWidth() < displaySize.getHeight()) { 109 } else if (displaySize.getWidth() > displaySize.getHeight()) { 111 new Rect(displaySize.getWidth() / 2, 0, displaySize.getWidth() / 2, 0)) 144 if (boundingRect.right == display.getWidth()) { 145 inset = Math.max(inset, display.getWidth() - boundingRect.left);
|
/frameworks/rs/tests/java_api/Refocus/src/com/android/rs/test/ |
H A D | ImageBuffersForRenderScript.java | 37 outputImage = Bitmap.createBitmap(inputImage.getWidth(), 42 imageWidthPadded = inputImage.getWidth() + 2 * margin;
|
H A D | ImageCompare.java | 49 if (bitmap1.getWidth() != bitmap2.getWidth() || 60 final int width = bitmap1.getWidth();
|
/frameworks/layoutlib/bridge/src/android/view/ |
H A D | ShadowPainter.java | 82 int width = source.getWidth(); 90 int dstWidth = image.getWidth(); 191 int width = source.getWidth(); 218 int width = source.getWidth(); 299 assert ShadowBottomRight.getWidth(null) == SHADOW_SIZE; 302 int blWidth = ShadowBottomLeft.getWidth(null); 311 gc.drawImage(ShadowBottomLeft, x - ShadowBottomLeft.getWidth(null), y + height, null); 314 gc.drawImage(ShadowTopLeft, x - ShadowTopLeft.getWidth(null), y, null); 317 0, 0, ShadowBottom.getWidth(null), ShadowBottom.getHeight(null), null); 319 x + width, y + ShadowTopRight.getHeight(null), x + width + ShadowRight.getWidth(nul [all...] |
/frameworks/base/core/tests/coretests/src/android/view/ |
H A D | ZeroSizedTest.java | 63 assertTrue(mWithDimension.getWidth() > 0); 70 assertTrue(mWithNoWdith.getWidth() == 0); 77 assertTrue(mWithNoHeight.getWidth() > 0); 84 assertTrue(mWithNoDimension.getWidth() == 0);
|
/frameworks/base/libs/hwui/ |
H A D | LayerUpdateQueue.cpp | 30 damage.doIntersect(0, 0, renderNode->getWidth(), renderNode->getHeight());
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/ |
H A D | FrameBuffer2D.java | 21 public int getWidth() { method in class:FrameBuffer2D
|
H A D | FrameImage2D.java | 137 if (bitmap.getWidth() != dimensions[0] || bitmap.getHeight() != dimensions[1]) { 138 throw new IllegalArgumentException("Cannot assign bitmap of size " + bitmap.getWidth() 160 Rect srcIRect = new Rect((int) srcRect.left * srcImage.getWidth(), 162 (int) srcRect.right * srcImage.getWidth(), 164 Rect dstIRect = new Rect((int) dstRect.left * srcImage.getWidth(), 166 (int) dstRect.right * srcImage.getWidth(), 171 Bitmap dstBitmap = Bitmap.createBitmap(dstImage.getWidth(), dstImage.getHeight(), config);
|
/frameworks/base/media/java/android/media/ |
H A D | Image.java | 166 public abstract int getWidth(); method in class:Image 258 return new Rect(0, 0, getWidth(), getHeight()); 275 if (!cropRect.intersect(0, 0, getWidth(), getHeight())) {
|
/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 | Transform3dActivity.java | 57 final float centerX = getWidth() / 2.0f - mBitmap1.getWidth() / 2.0f; 67 drawBitmap(canvas, centerX, centerY, -mBitmap1.getWidth(), matrix); 70 drawBitmap(canvas, centerX, centerY, mBitmap1.getWidth(), matrix); 73 drawBitmap(canvas, centerX, centerY, mBitmap1.getWidth() * 2.0f, matrix);
|
/frameworks/support/percent/src/androidTest/java/androidx/percentlayout/widget/ |
H A D | PercentDynamicLayoutTest.java | 114 final int containerWidth = percentFrameLayout.getWidth(); 126 0.5f * availableWidth, child1.getWidth()); 130 0.5f * availableWidth, child2.getWidth()); 144 final int containerWidth = percentFrameLayout.getWidth(); 156 availableWidth, child1.getWidth()); 160 availableWidth, child2.getWidth()); 174 final int containerWidth = percentRelativeLayout.getWidth(); 186 0.5f * availableWidth, child1.getWidth()); 190 0.5f * availableWidth, child2.getWidth()); 204 final int containerWidth = percentRelativeLayout.getWidth(); [all...] |
/frameworks/support/gridlayout/src/androidTest/java/androidx/gridlayout/widget/ |
H A D | GridLayoutTest.java | 80 int left = mLeftView.getWidth(); 81 int right = mRightView.getWidth(); 82 int total = mGridView.getWidth(); 93 int left = mLeftView.getWidth(); 94 int right = mRightView.getWidth(); 95 int total = mGridView.getWidth(); 106 int left = mLeftView.getWidth(); 107 int right = mRightView.getWidth(); 108 int total = mGridView.getWidth(); 124 left = mActivityTestRule.getActivity().findViewById(R.id.leftView).getWidth(); [all...] |
/frameworks/base/libs/hwui/pipeline/skia/ |
H A D | LayerDrawable.h | 40 return SkRect::MakeWH(mLayerUpdater->getWidth(), mLayerUpdater->getHeight());
|