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.java149 private static class Bounds { class in DisplayCutout
152 private Bounds(Rect left, Rect top, Rect right, Rect bottom, boolean copyArguments) { in Bounds() method in DisplayCutout.Bounds
161 private Bounds(Rect[] rects, boolean copyArguments) { in Bounds() method in DisplayCutout.Bounds
217 if (o instanceof Bounds) { in equals()
218 Bounds b = (Bounds) o; in equals()
231 private final Bounds mBounds;
286 mBounds = new Bounds(boundLeft, boundTop, boundRight, boundBottom, copyArguments); in DisplayCutout()
291 mBounds = new Bounds(bounds, copyArguments); in DisplayCutout()
294 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.txt16098 HSPLandroid/view/DisplayCutout$Bounds;-><init>(Landroid/graphics/Rect;Landroid/graphics/Rect;Landro…
16099 HSPLandroid/view/DisplayCutout$Bounds;-><init>(Landroid/graphics/Rect;Landroid/graphics/Rect;Landro…
16100 HSPLandroid/view/DisplayCutout$Bounds;-><init>([Landroid/graphics/Rect;Z)V
16101 HSPLandroid/view/DisplayCutout$Bounds;->equals(Ljava/lang/Object;)Z
16102 HSPLandroid/view/DisplayCutout$Bounds;->toString()Ljava/lang/String;
18753 HSPLandroid/widget/GridLayout$7;->getBounds()Landroid/widget/GridLayout$Bounds;
18759 HSPLandroid/widget/GridLayout$Alignment;->getBounds()Landroid/widget/GridLayout$Bounds;
18781 HSPLandroid/widget/GridLayout$Bounds;->getOffset(Landroid/widget/GridLayout;Landroid/view/View;Land…
18782 HSPLandroid/widget/GridLayout$Bounds;->include(II)V
18783 HSPLandroid/widget/GridLayout$Bounds;->reset()V
[all …]
Dhiddenapi-greylist-max-o.txt88032 Landroid/widget/GridLayout$Alignment;->getBounds()Landroid/widget/GridLayout$Bounds;
88123 Landroid/widget/GridLayout$Bounds;
88124 Landroid/widget/GridLayout$Bounds;-><init>()V
88125 Landroid/widget/GridLayout$Bounds;->after:I
88126 Landroid/widget/GridLayout$Bounds;->before:I
88127 Landroid/widget/GridLayout$Bounds;->flexibility:I
88128 Landroid/widget/GridLayout$Bounds;->getOffset(Landroid/widget/GridLayout;Landroid/view/View;Landroi…
88129 Landroid/widget/GridLayout$Bounds;->include(II)V
88130 Landroid/widget/GridLayout$Bounds;->include(Landroid/widget/GridLayout;Landroid/view/View;Landroid/…
88131 Landroid/widget/GridLayout$Bounds;->reset()V
[all …]