Searched refs:getBounds (Results 1 - 25 of 214) sorted by relevance

123456789

/frameworks/opt/chips/src/com/android/ex/chips/recipientchip/
H A DDrawableRecipientChip.java30 Rect getBounds(); method in interface:DrawableRecipientChip
H A DReplacementDrawableSpan.java33 final Rect bounds = getBounds();
47 return getBounds().right;
54 int transY = (bottom - mDrawable.getBounds().bottom + top) / 2;
60 protected Rect getBounds() { method in class:ReplacementDrawableSpan
61 return mDrawable.getBounds();
H A DVisibleRecipientChip.java94 public Rect getBounds() { method in class:VisibleRecipientChip
95 return super.getBounds();
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
H A DKeyButtonRipple.java104 final float w = getBounds().width();
105 final float h = getBounds().height();
147 return getBounds().width() > getBounds().height();
340 return isHorizontal() ? getBounds().width() : getBounds().height();
344 int size = isHorizontal() ? getBounds().width() : getBounds().height();
370 mBottomProp = CanvasProperty.createFloat(getBounds().height());
371 mRxProp = CanvasProperty.createFloat(getBounds()
[all...]
/frameworks/base/services/tests/servicestests/src/com/android/server/wm/utils/
H A DWmDisplayCutoutTest.java94 assertEquals(new Rect(-5, -10, 95, 10), cutout.getDisplayCutout().getBounds().getBounds());
134 assertEquals(mCutoutTop.getBounds().getBounds(),
135 cutout.getBounds().getBounds());
/frameworks/support/compat/src/androidTest/java/androidx/core/widget/
H A DTextViewCompatTest.java184 drawablesAbsolute[0].getBounds().width(), 20);
186 drawablesAbsolute[0].getBounds().height(), 20);
190 drawablesAbsolute[1].getBounds().width(), 30);
192 drawablesAbsolute[1].getBounds().height(), 25);
196 drawablesAbsolute[2].getBounds().width(), 25);
198 drawablesAbsolute[2].getBounds().height(), 20);
229 drawablesAbsolute[0].getBounds().width(), 25);
231 drawablesAbsolute[0].getBounds().height(), 20);
235 drawablesAbsolute[1].getBounds().width(), 30);
237 drawablesAbsolute[1].getBounds()
[all...]
/frameworks/support/leanback/src/androidTest/java/androidx/leanback/graphics/
H A DCompositeDrawableTest.java57 Rect adjustedBounds = drawable.getBounds();
77 Rect adjustedBounds = drawable.getBounds();
87 adjustedBounds = drawable.getBounds();
97 adjustedBounds = drawable.getBounds();
108 adjustedBounds = drawable.getBounds();
122 assertEquals(HEIGHT, drawable.getBounds().height());
123 assertEquals(WIDTH, drawable.getBounds().width());
135 Rect adjustedBounds = drawable.getBounds();
146 adjustedBounds = drawable.getBounds();
156 adjustedBounds = drawable.getBounds();
[all...]
/frameworks/base/libs/hwui/
H A DRevealClip.h44 void getBounds(Rect* outBounds) const { function in class:android::uirenderer::RevealClip
H A DOutline.h68 mBounds.set(outline->getBounds());
119 const Rect& getBounds() const { return mBounds; } function in class:android::uirenderer::Outline::Type
/frameworks/native/services/inputflinger/
H A DPointerControllerInterface.h43 virtual bool getBounds(float* outMinX, float* outMinY,
/frameworks/support/wear/src/androidTest/java/androidx/wear/widget/
H A DRoundedDrawableTest.java121 assertEquals(BITMAP_WIDTH - 10, mBitmapDrawable.getBounds().width());
122 assertEquals(BITMAP_HEIGHT - 10, mBitmapDrawable.getBounds().height());
123 assertEquals(bounds.centerX(), mBitmapDrawable.getBounds().centerX());
124 assertEquals(bounds.centerY(), mBitmapDrawable.getBounds().centerY());
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/drawable/
H A DUserIconDrawable.java136 onBoundsChange(getBounds());
151 onBoundsChange(getBounds());
165 onBoundsChange(getBounds());
185 onBoundsChange(getBounds());
190 onBoundsChange(getBounds());
199 onBoundsChange(getBounds());
214 onBoundsChange(getBounds());
220 onBoundsChange(getBounds());
341 canvas.drawCircle(getBounds().exactCenterX(), getBounds()
[all...]
/frameworks/base/core/java/android/text/style/
H A DDynamicDrawableSpan.java120 Rect rect = d.getBounds();
140 int transY = bottom - b.getBounds().bottom;
/frameworks/minikin/libs/minikin/
H A DMeasuredText.cpp66 MinikinRect MeasuredText::getBounds(const U16StringPiece& textBuf, const Range& range) { function in class:minikin::MeasuredText
75 run->getBounds(textBuf, Range::intersection(runRange, range), layoutPieces);
/frameworks/base/core/tests/coretests/src/android/view/
H A DDisplayCutoutTest.java72 assertEquals(new Rect(50, 0, 75, 100), mCutoutTop.getBounds().getBounds());
156 assertEquals(new Rect(49, -2, 74, 98), cutout.getBounds().getBounds());
163 DisplayCutout.fromBoundingRect(50, 0, 75, 100).getBounds().getBounds());
/frameworks/base/services/core/java/com/android/server/wm/
H A DTask.java348 mPreparedFrozenBounds.set(getBounds());
366 getBounds(mTmpRect2);
387 public void getBounds(Rect out) { method in class:Task
391 super.getBounds(out);
397 mStack.getDisplayContent().getBounds(out);
465 mStack.getBounds(out);
467 mStack.getBounds(mTmpRect);
468 mTmpRect.intersect(getBounds());
472 out.set(getBounds());
480 displayContent.getBounds(ou
[all...]
/frameworks/base/libs/hwui/tests/unit/
H A DClipAreaTests.cpp107 auto skRect(clipRegion.getBounds());
167 EXPECT_EQ(SkIRect::MakeWH(200, 200), clipRegion->region.getBounds())
256 EXPECT_EQ(SkIRect::MakeLTRB(60, 20, 160, 200), clipRegion->region.getBounds());
305 EXPECT_EQ(SkIRect::MakeLTRB(100, 100, 300, 300), clipRegion->region.getBounds());
312 EXPECT_EQ(SkIRect::MakeLTRB(1, 2, 3, 4), region.getBounds());
321 EXPECT_EQ(SkIRect::MakeLTRB(11, 22, 13, 24), region.getBounds());
330 EXPECT_EQ(SkIRect::MakeLTRB(2, 6, 6, 12), region.getBounds());
340 EXPECT_EQ(SkIRect::MakeLTRB(12, 26, 16, 32), region.getBounds());
349 EXPECT_EQ(SkIRect::MakeLTRB(-4, 1, -2, 3), region.getBounds());
/frameworks/base/packages/SystemUI/src/com/android/systemui/pip/phone/
H A DPipTouchHandler.java170 mMenuController.showMenu(MENU_STATE_FULL, mMotionHelper.getBounds(),
195 () -> mMenuController.showMenu(MENU_STATE_FULL, mMotionHelper.getBounds(),
216 mMenuController.showMenu(MENU_STATE_FULL, mMotionHelper.getBounds(),
238 mMenuController.showMenu(MENU_STATE_CLOSE, mMotionHelper.getBounds(),
363 mMenuController.showMenu(MENU_STATE_FULL, mMotionHelper.getBounds(),
449 Rect bounds = mMotionHelper.getBounds();
588 Rect bounds = mMotionHelper.getBounds();
643 mTmpBounds.set(mMotionHelper.getBounds());
685 && mMotionHelper.isGestureToDismissArea(mMotionHelper.getBounds(), vel.x,
694 mMotionHelper.animateDismiss(mMotionHelper.getBounds(), ve
[all...]
/frameworks/layoutlib/bridge/src/android/graphics/
H A DRegion_Delegate.java217 regionDelegate.mArea.getBounds().intersects(
218 targetRegionDelegate.mArea.getBounds()) == false;
303 return dstRegion.mArea.getBounds().isEmpty() == false;
325 return dstRegion.mArea.getBounds().isEmpty() == false;
335 Rectangle bounds = region.mArea.getBounds();
385 return region.mArea.getBounds().isEmpty() == false;
403 return region.mArea.getBounds().isEmpty() == false;
431 return dstRegion.mArea.getBounds().isEmpty() == false;
/frameworks/base/graphics/java/android/graphics/drawable/
H A DPictureDrawable.java65 Rect bounds = getBounds();
H A DRippleComponent.java85 public void getBounds(Rect bounds) { method in class:RippleComponent
/frameworks/base/libs/hwui/hwui/
H A DAnimatedImageDrawable.cpp139 canvas->translate(mSkAnimatedImage->getBounds().width(), 0);
151 canvas->saveLayer(mSkAnimatedImage->getBounds(), lazyPaint.get());
212 canvas->saveLayer(mSkAnimatedImage->getBounds(), &paint);
216 canvas->translate(mSkAnimatedImage->getBounds().width(), 0);
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/
H A DRestrictedLockImageSpan.java56 float transY = (bottom - drawable.getBounds().bottom) / 2.0f;
/frameworks/base/tests/UiBench/src/com/android/test/uibench/
H A DFullscreenOverdrawActivity.java52 canvas.drawRect(getBounds(), paint);
/frameworks/minikin/include/minikin/
H A DMeasuredText.h51 virtual std::pair<float, MinikinRect> getBounds(const U16StringPiece& text, const Range& range,
92 std::pair<float, MinikinRect> getBounds(const U16StringPiece& text, const Range& range,
128 std::pair<float, MinikinRect> getBounds(const U16StringPiece& /* text */,
185 MinikinRect getBounds(const U16StringPiece& textBuf, const Range& range);

Completed in 746 milliseconds

123456789