Home
last modified time | relevance | path

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

12

/frameworks/base/libs/androidfw/include/androidfw/
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
102 inline bool Bounds::nonZero() const { in nonZero()
106 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);
/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.java182 private static class Bounds { class in DisplayCutout
185 private Bounds(Rect left, Rect top, Rect right, Rect bottom, boolean copyArguments) { in Bounds() method in DisplayCutout.Bounds
194 private Bounds(Rect[] rects, boolean copyArguments) { in Bounds() method in DisplayCutout.Bounds
257 if (o instanceof Bounds) { in equals()
258 Bounds b = (Bounds) o; in equals()
271 private final Bounds mBounds;
425 new Bounds(boundLeft, boundTop, boundRight, boundBottom, true), null, null); in DisplayCutout()
453 new Bounds(boundLeft, boundTop, boundRight, boundBottom, true), info, null); in DisplayCutout()
481 new Bounds(boundLeft, boundTop, boundRight, boundBottom, true), in DisplayCutout()
507 new Bounds(boundLeft, boundTop, boundRight, boundBottom, true), null, null); in DisplayCutout()
[all …]
DWindowInsetsAnimationController.java25 import android.view.WindowInsetsAnimation.Bounds;
DInsetsAnimationThreadControlRunner.java35 import android.view.WindowInsetsAnimation.Bounds;
60 WindowInsetsAnimation animation, Bounds bounds) {
DViewRootInsetsControllerHost.java83 public WindowInsetsAnimation.Bounds dispatchWindowInsetsAnimationStart( in dispatchWindowInsetsAnimationStart()
85 @NonNull WindowInsetsAnimation.Bounds bounds) { in dispatchWindowInsetsAnimationStart()
DInsetsResizeAnimationRunner.java39 import android.view.WindowInsetsAnimation.Bounds;
73 new Bounds(Insets.min(fromInsets, toInsets), Insets.max(fromInsets, toInsets))); in InsetsResizeAnimationRunner()
DInsetsAnimationControlImpl.java65 import android.view.WindowInsetsAnimation.Bounds;
172 new Bounds(mHiddenInsets, mShownInsets)); in InsetsAnimationControlImpl()
DInsetsController.java60 import android.view.WindowInsetsAnimation.Bounds;
101 Bounds dispatchWindowInsetsAnimationStart( in dispatchWindowInsetsAnimationStart()
102 @NonNull WindowInsetsAnimation animation, @NonNull Bounds bounds); in dispatchWindowInsetsAnimationStart()
2025 WindowInsetsAnimation animation, Bounds bounds) { in startAnimation()
DViewGroup.java57 import android.view.WindowInsetsAnimation.Bounds;
7568 public Bounds dispatchWindowInsetsAnimationStart( in dispatchWindowInsetsAnimationStart()
7569 @NonNull WindowInsetsAnimation animation, @NonNull Bounds bounds) { in dispatchWindowInsetsAnimationStart()
DView.java173 import android.view.WindowInsetsAnimation.Bounds;
12653 public Bounds dispatchWindowInsetsAnimationStart(
12654 @NonNull WindowInsetsAnimation animation, @NonNull Bounds bounds) {
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/screenshot/data/model/
DDisplayContentScenarios.kt21 import com.android.systemui.screenshot.data.model.DisplayContentScenarios.Bounds.FREE_FORM
22 import com.android.systemui.screenshot.data.model.DisplayContentScenarios.Bounds.FULL_SCREEN
23 import com.android.systemui.screenshot.data.model.DisplayContentScenarios.Bounds.PIP
24 import com.android.systemui.screenshot.data.model.DisplayContentScenarios.Bounds.SPLIT_BOTTOM
25 import com.android.systemui.screenshot.data.model.DisplayContentScenarios.Bounds.SPLIT_TOP
155 object Bounds { object
/frameworks/base/libs/androidfw/tests/
DNinePatch_test.cpp213 EXPECT_EQ(Bounds(1, 0, 1, 0), nine_patch->padding); in TEST()
220 EXPECT_EQ(Bounds(1, 1, 1, 1), nine_patch->padding); in TEST()
239 EXPECT_EQ(Bounds(1, 1, 1, 1), nine_patch->layout_bounds); in TEST()
243 EXPECT_EQ(Bounds(1, 1, 0, 0), nine_patch->layout_bounds); in TEST()
250 EXPECT_EQ(Bounds(1, 1, 1, 1), nine_patch->padding); in TEST()
251 EXPECT_EQ(Bounds(1, 1, 1, 1), nine_patch->layout_bounds); in TEST()
271 EXPECT_EQ(Bounds(2, 2, 2, 2), nine_patch->outline); in TEST()
280 EXPECT_EQ(Bounds(3, 3, 3, 3), nine_patch->outline); in TEST()
298 EXPECT_EQ(Bounds(4, 3, 3, 3), nine_patch->outline); in TEST()
308 EXPECT_EQ(Bounds(0, 0, 0, 0), nine_patch->outline); in TEST()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/screenshot/policy/
DWorkProfilePolicyTest.kt28 import com.android.systemui.screenshot.data.model.DisplayContentScenarios.Bounds.FREE_FORM
29 import com.android.systemui.screenshot.data.model.DisplayContentScenarios.Bounds.FULL_SCREEN
30 import com.android.systemui.screenshot.data.model.DisplayContentScenarios.Bounds.SPLIT_TOP
/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/WindowInsetsTests/src/com/google/android/test/windowinsetstests/
DChatActivity.java181 public WindowInsetsAnimation.Bounds onStart(WindowInsetsAnimation animation, in onCreate()
182 WindowInsetsAnimation.Bounds bounds) { in onCreate()
/frameworks/base/tests/InputMethodStressTest/src/com/android/inputmethod/stresstest/
DImeStressTestUtil.java333 public WindowInsetsAnimation.Bounds onStart(
335 @NonNull WindowInsetsAnimation.Bounds bounds) {
/frameworks/base/libs/androidfw/
DNinePatch.cpp297 static uint32_t GetRegionColor(uint8_t** rows, const Bounds& region) { in GetRegionColor()
341 Bounds bounds; in CalculateRegionColors()
660 ::std::ostream& operator<<(::std::ostream& out, const Bounds& bounds) { in operator <<()
/frameworks/base/apct-tests/perftests/inputmethod/src/android/inputmethod/
DImePerfTest.java466 public WindowInsetsAnimation.Bounds onStart( in setImeListener()
468 @NonNull WindowInsetsAnimation.Bounds bounds) { in setImeListener()
/frameworks/base/services/core/java/com/android/server/wm/
DInsetsPolicy.java48 import android.view.WindowInsetsAnimation.Bounds;
778 public Bounds dispatchWindowInsetsAnimationStart( in dispatchWindowInsetsAnimationStart()
780 @NonNull Bounds bounds) { in dispatchWindowInsetsAnimationStart()
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DKeyguardSecurityContainer.java203 public WindowInsetsAnimation.Bounds onStart(WindowInsetsAnimation animation,
204 WindowInsetsAnimation.Bounds bounds) {
/frameworks/base/boot/
Dboot-image-profile.txt16034 HSPLandroid/view/DisplayCutout$Bounds;->-$$Nest$mgetRects(Landroid/view/DisplayCutout$Bounds;)[Land…
16035 HSPLandroid/view/DisplayCutout$Bounds;-><init>([Landroid/graphics/Rect;Z)V
16036 HSPLandroid/view/DisplayCutout$Bounds;-><init>([Landroid/graphics/Rect;ZLandroid/view/DisplayCutout…
16037 HSPLandroid/view/DisplayCutout$Bounds;->equals(Ljava/lang/Object;)Z
16038 HSPLandroid/view/DisplayCutout$Bounds;->getRects()[Landroid/graphics/Rect;
16039 HSPLandroid/view/DisplayCutout$Bounds;->isEmpty()Z
16054 …droid/graphics/Rect;Landroid/graphics/Insets;Landroid/view/DisplayCutout$Bounds;Landroid/view/Disp…
16055 …droid/graphics/Rect;Landroid/graphics/Insets;Landroid/view/DisplayCutout$Bounds;Landroid/view/Disp…
16331 …nControlListener;ILandroid/view/WindowInsetsAnimation;Landroid/view/WindowInsetsAnimation$Bounds;)V
18423 HSPLandroid/view/WindowInsetsAnimation$Bounds;-><init>(Landroid/graphics/Insets;Landroid/graphics/I…
[all …]
Dpreloaded-classes8597 android.view.DisplayCutout$Bounds-IA
8598 android.view.DisplayCutout$Bounds
9186 android.view.WindowInsetsAnimation$Bounds
9932 android.widget.GridLayout$Bounds
14457 [Landroid.widget.GridLayout$Bounds;
/frameworks/base/config/
Dpreloaded-classes8628 android.view.DisplayCutout$Bounds-IA
8629 android.view.DisplayCutout$Bounds
9217 android.view.WindowInsetsAnimation$Bounds
9963 android.widget.GridLayout$Bounds
17483 [Landroid.widget.GridLayout$Bounds;

12