Home
last modified time | relevance | path

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

/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() function
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/
DDisplayCutout.java150 private static class Bounds { class in DisplayCutout
153 private Bounds(Rect left, Rect top, Rect right, Rect bottom, boolean copyArguments) { in Bounds() method in DisplayCutout.Bounds
162 private Bounds(Rect[] rects, boolean copyArguments) { in Bounds() method in DisplayCutout.Bounds
218 if (o instanceof Bounds) { in equals()
219 Bounds b = (Bounds) o; in equals()
232 private final Bounds mBounds;
287 mBounds = new Bounds(boundLeft, boundTop, boundRight, boundBottom, copyArguments); in DisplayCutout()
292 mBounds = new Bounds(bounds, copyArguments); in DisplayCutout()
295 private DisplayCutout(Rect safeInsets, Bounds bounds) { in DisplayCutout()
/frameworks/base/core/java/android/widget/
DGridLayout.java1182 Bounds boundsX = mHorizontalAxis.getGroupBounds().getValue(i); in onLayout()
1183 Bounds boundsY = mVerticalAxis.getGroupBounds().getValue(i); in onLayout()
1240 PackedMap<Spec, Bounds> groupBounds;
1318 private PackedMap<Spec, Bounds> createGroupBounds() { in createGroupBounds()
1319 Assoc<Spec, Bounds> assoc = Assoc.of(Spec.class, Bounds.class); in createGroupBounds()
1325 Bounds bounds = spec.getAbsoluteAlignment(horizontal).getBounds(); in createGroupBounds()
1332 Bounds[] values = groupBounds.values; in computeGroupBounds()
1347 public PackedMap<Spec, Bounds> getGroupBounds() { in getGroupBounds()
1376 Bounds[] bounds = getGroupBounds().values; in computeLinks()
2392 static class Bounds {
[all …]
/frameworks/base/config/
Dpreloaded-classes3741 android.view.DisplayCutout$Bounds
4307 android.widget.GridLayout$Bounds
Dboot-image-profile.txt16097 HSPLandroid/view/DisplayCutout$Bounds;-><init>(Landroid/graphics/Rect;Landroid/graphics/Rect;Landro…
16098 HSPLandroid/view/DisplayCutout$Bounds;-><init>(Landroid/graphics/Rect;Landroid/graphics/Rect;Landro…
16099 HSPLandroid/view/DisplayCutout$Bounds;-><init>([Landroid/graphics/Rect;Z)V
16100 HSPLandroid/view/DisplayCutout$Bounds;->equals(Ljava/lang/Object;)Z
16101 HSPLandroid/view/DisplayCutout$Bounds;->toString()Ljava/lang/String;
18752 HSPLandroid/widget/GridLayout$7;->getBounds()Landroid/widget/GridLayout$Bounds;
18758 HSPLandroid/widget/GridLayout$Alignment;->getBounds()Landroid/widget/GridLayout$Bounds;
18780 HSPLandroid/widget/GridLayout$Bounds;->getOffset(Landroid/widget/GridLayout;Landroid/view/View;Land…
18781 HSPLandroid/widget/GridLayout$Bounds;->include(II)V
18782 HSPLandroid/widget/GridLayout$Bounds;->reset()V
[all …]
Dhiddenapi-greylist-max-o.txt82146 Landroid/widget/GridLayout$Alignment;->getBounds()Landroid/widget/GridLayout$Bounds;
82232 Landroid/widget/GridLayout$Bounds;-><init>()V
82233 Landroid/widget/GridLayout$Bounds;->after:I
82234 Landroid/widget/GridLayout$Bounds;->before:I
82235 Landroid/widget/GridLayout$Bounds;->flexibility:I
82236 Landroid/widget/GridLayout$Bounds;->getOffset(Landroid/widget/GridLayout;Landroid/view/View;Landroi…
82237 Landroid/widget/GridLayout$Bounds;->include(II)V
82238 Landroid/widget/GridLayout$Bounds;->include(Landroid/widget/GridLayout;Landroid/view/View;Landroid/…
82239 Landroid/widget/GridLayout$Bounds;->reset()V
82240 Landroid/widget/GridLayout$Bounds;->size(Z)I