Home
last modified time | relevance | path

Searched refs:Bounds (Results 1 – 25 of 27) sorted by relevance

12

/frameworks/base/tools/aapt2/compile/
DImage.h88 struct Bounds { struct
94 explicit Bounds() = default; argument
95 inline explicit Bounds(int32_t l, int32_t t, int32_t r, int32_t b) in Bounds() argument
101 inline bool Bounds::nonZero() const { in nonZero()
105 inline bool operator==(const Bounds& left, const Bounds& right) {
131 Bounds padding;
140 Bounds layout_bounds;
145 Bounds outline;
204 ::std::ostream& operator<<(::std::ostream& out, const Bounds& bounds);
DNinePatch_test.cpp237 EXPECT_EQ(Bounds(1, 0, 1, 0), nine_patch->padding); in TEST()
245 EXPECT_EQ(Bounds(1, 1, 1, 1), nine_patch->padding); in TEST()
266 EXPECT_EQ(Bounds(1, 1, 1, 1), nine_patch->layout_bounds); in TEST()
270 EXPECT_EQ(Bounds(1, 1, 0, 0), nine_patch->layout_bounds); in TEST()
278 EXPECT_EQ(Bounds(1, 1, 1, 1), nine_patch->padding); in TEST()
279 EXPECT_EQ(Bounds(1, 1, 1, 1), nine_patch->layout_bounds); in TEST()
304 EXPECT_EQ(Bounds(2, 2, 2, 2), nine_patch->outline); in TEST()
314 EXPECT_EQ(Bounds(3, 3, 3, 3), nine_patch->outline); in TEST()
332 EXPECT_EQ(Bounds(4, 3, 3, 3), nine_patch->outline); in TEST()
343 EXPECT_EQ(Bounds(0, 0, 0, 0), nine_patch->outline); in TEST()
DNinePatch.cpp302 static uint32_t GetRegionColor(uint8_t** rows, const Bounds& region) { in GetRegionColor()
346 Bounds bounds; in CalculateRegionColors()
683 ::std::ostream& operator<<(::std::ostream& out, const Bounds& bounds) { in operator <<()
/frameworks/base/core/java/android/view/
DWindowInsetsAnimation.java187 public static final class Bounds { class in WindowInsetsAnimation
192 public Bounds(@NonNull Insets lowerBound, @NonNull Insets upperBound) { in Bounds() method in WindowInsetsAnimation.Bounds
256 public Bounds inset(@NonNull Insets insets) { in inset()
257 return new Bounds( in inset()
405 public Bounds onStart( in onStart()
406 @NonNull WindowInsetsAnimation animation, @NonNull Bounds bounds) { in onStart()
DInsetsAnimationControlCallbacks.java20 import android.view.WindowInsetsAnimation.Bounds;
40 WindowInsetsAnimation animation, Bounds bounds); in startAnimation()
DDisplayCutout.java162 private static class Bounds { class in DisplayCutout
165 private Bounds(Rect left, Rect top, Rect right, Rect bottom, boolean copyArguments) { in Bounds() method in DisplayCutout.Bounds
174 private Bounds(Rect[] rects, boolean copyArguments) { in Bounds() method in DisplayCutout.Bounds
237 if (o instanceof Bounds) { in equals()
238 Bounds b = (Bounds) o; in equals()
251 private final Bounds mBounds;
502 mBounds = new Bounds(boundLeft, boundTop, boundRight, boundBottom, copyArguments); in DisplayCutout()
510 mBounds = new Bounds(bounds, copyArguments); in DisplayCutout()
514 private DisplayCutout(Rect safeInsets, Insets waterfallInsets, Bounds bounds, in DisplayCutout()
1370 final Bounds bounds = new Bounds(mInner.mBounds.mRects, true); in scale()
DWindowInsetsAnimationController.java25 import android.view.WindowInsetsAnimation.Bounds;
DInsetsAnimationThreadControlRunner.java35 import android.view.WindowInsetsAnimation.Bounds;
59 WindowInsetsAnimation animation, Bounds bounds) {
DInsetsResizeAnimationRunner.java38 import android.view.WindowInsetsAnimation.Bounds;
71 new Bounds(Insets.min(fromInsets, toInsets), Insets.max(fromInsets, toInsets))); in InsetsResizeAnimationRunner()
DViewRootInsetsControllerHost.java84 public WindowInsetsAnimation.Bounds dispatchWindowInsetsAnimationStart( in dispatchWindowInsetsAnimationStart()
86 @NonNull WindowInsetsAnimation.Bounds bounds) { in dispatchWindowInsetsAnimationStart()
DInsetsAnimationControlImpl.java58 import android.view.WindowInsetsAnimation.Bounds;
156 new Bounds(mHiddenInsets, mShownInsets)); in InsetsAnimationControlImpl()
DInsetsController.java55 import android.view.WindowInsetsAnimation.Bounds;
93 Bounds dispatchWindowInsetsAnimationStart( in dispatchWindowInsetsAnimationStart()
94 @NonNull WindowInsetsAnimation animation, @NonNull Bounds bounds); in dispatchWindowInsetsAnimationStart()
1558 WindowInsetsAnimation animation, Bounds bounds) { in startAnimation()
DViewGroup.java59 import android.view.WindowInsetsAnimation.Bounds;
7440 public Bounds dispatchWindowInsetsAnimationStart( in dispatchWindowInsetsAnimationStart()
7441 @NonNull WindowInsetsAnimation animation, @NonNull Bounds bounds) { in dispatchWindowInsetsAnimationStart()
DView.java131 import android.view.WindowInsetsAnimation.Bounds;
11720 public Bounds dispatchWindowInsetsAnimationStart( in dispatchWindowInsetsAnimationStart()
11721 @NonNull WindowInsetsAnimation animation, @NonNull Bounds bounds) { in dispatchWindowInsetsAnimationStart()
/frameworks/base/core/java/android/widget/
DGridLayout.java1188 Bounds boundsX = mHorizontalAxis.getGroupBounds().getValue(i); in onLayout()
1189 Bounds boundsY = mVerticalAxis.getGroupBounds().getValue(i); in onLayout()
1246 PackedMap<Spec, Bounds> groupBounds;
1324 private PackedMap<Spec, Bounds> createGroupBounds() { in createGroupBounds()
1325 Assoc<Spec, Bounds> assoc = Assoc.of(Spec.class, Bounds.class); in createGroupBounds()
1331 Bounds bounds = spec.getAbsoluteAlignment(horizontal).getBounds(); in createGroupBounds()
1338 Bounds[] values = groupBounds.values; in computeGroupBounds()
1353 public PackedMap<Spec, Bounds> getGroupBounds() { in getGroupBounds()
1382 Bounds[] bounds = getGroupBounds().values; in computeLinks()
2398 static class Bounds {
[all …]
/frameworks/base/tests/InputMethodStressTest/src/com/android/inputmethod/stresstest/
DImeOpenCloseStressTest.java170 public WindowInsetsAnimation.Bounds onStart(WindowInsetsAnimation animation,
171 WindowInsetsAnimation.Bounds bounds) {
/frameworks/base/tests/WindowInsetsTests/src/com/google/android/test/windowinsetstests/
DChatActivity.java180 public WindowInsetsAnimation.Bounds onStart(WindowInsetsAnimation animation, in onCreate()
181 WindowInsetsAnimation.Bounds bounds) { in onCreate()
/frameworks/base/apct-tests/perftests/inputmethod/src/android/inputmethod/
DImePerfTest.java445 public WindowInsetsAnimation.Bounds onStart( in setImeListener()
447 @NonNull WindowInsetsAnimation.Bounds bounds) { in setImeListener()
/frameworks/base/services/core/java/com/android/server/wm/
DInsetsPolicy.java69 import android.view.WindowInsetsAnimation.Bounds;
844 Bounds bounds) { in startAnimation()
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DKeyguardSecurityContainer.java200 public WindowInsetsAnimation.Bounds onStart(WindowInsetsAnimation animation,
201 WindowInsetsAnimation.Bounds bounds) {
/frameworks/base/boot/
Dboot-image-profile.txt15976 HSPLandroid/view/DisplayCutout$Bounds;->-$$Nest$mgetRects(Landroid/view/DisplayCutout$Bounds;)[Land…
15977 HSPLandroid/view/DisplayCutout$Bounds;-><init>([Landroid/graphics/Rect;Z)V
15978 HSPLandroid/view/DisplayCutout$Bounds;-><init>([Landroid/graphics/Rect;ZLandroid/view/DisplayCutout…
15979 HSPLandroid/view/DisplayCutout$Bounds;->equals(Ljava/lang/Object;)Z
15980 HSPLandroid/view/DisplayCutout$Bounds;->getRects()[Landroid/graphics/Rect;
15981 HSPLandroid/view/DisplayCutout$Bounds;->isEmpty()Z
16277 …nControlListener;ILandroid/view/WindowInsetsAnimation;Landroid/view/WindowInsetsAnimation$Bounds;)V
18422 HSPLandroid/view/WindowInsetsAnimation$Bounds;-><init>(Landroid/graphics/Insets;Landroid/graphics/I…
19758 HSPLandroid/widget/GridLayout$Bounds;->getOffset(Landroid/widget/GridLayout;Landroid/view/View;Land…
19759 HSPLandroid/widget/GridLayout$Bounds;->include(II)V
[all …]
Dpreloaded-classes7912 android.view.DisplayCutout$Bounds
8425 android.view.WindowInsetsAnimation$Bounds
8994 android.widget.GridLayout$Bounds
13286 [Landroid.widget.GridLayout$Bounds;
/frameworks/base/config/
Dpreloaded-classes7943 android.view.DisplayCutout$Bounds
8456 android.view.WindowInsetsAnimation$Bounds
9025 android.widget.GridLayout$Bounds
16157 [Landroid.widget.GridLayout$Bounds;
Dboot-image-profile.txt16039 HSPLandroid/view/DisplayCutout$Bounds;->-$$Nest$mgetRects(Landroid/view/DisplayCutout$Bounds;)[Land…
16040 HSPLandroid/view/DisplayCutout$Bounds;-><init>([Landroid/graphics/Rect;Z)V
16041 HSPLandroid/view/DisplayCutout$Bounds;-><init>([Landroid/graphics/Rect;ZLandroid/view/DisplayCutout…
16042 HSPLandroid/view/DisplayCutout$Bounds;->equals(Ljava/lang/Object;)Z
16043 HSPLandroid/view/DisplayCutout$Bounds;->getRects()[Landroid/graphics/Rect;
16044 HSPLandroid/view/DisplayCutout$Bounds;->isEmpty()Z
16340 …nControlListener;ILandroid/view/WindowInsetsAnimation;Landroid/view/WindowInsetsAnimation$Bounds;)V
18485 HSPLandroid/view/WindowInsetsAnimation$Bounds;-><init>(Landroid/graphics/Insets;Landroid/graphics/I…
19821 HSPLandroid/widget/GridLayout$Bounds;->getOffset(Landroid/widget/GridLayout;Landroid/view/View;Land…
19822 HSPLandroid/widget/GridLayout$Bounds;->include(II)V
[all …]
/frameworks/base/core/api/
Dcurrent.txt49599 …imation.Bounds dispatchWindowInsetsAnimationStart(@NonNull android.view.WindowInsetsAnimation, @No…
51345 public static final class WindowInsetsAnimation.Bounds {
51346 …ctor public WindowInsetsAnimation.Bounds(@NonNull android.graphics.Insets, @NonNull android.graphi…
51349 …method @NonNull public android.view.WindowInsetsAnimation.Bounds inset(@NonNull android.graphics.I…
51358 …indowInsetsAnimation.Bounds onStart(@NonNull android.view.WindowInsetsAnimation, @NonNull android.…

12