/aosp12/packages/apps/Car/RotaryController/src/com/android/car/rotary/ |
H A D | FocusFinder.java | 162 static boolean isBetterCandidate(int direction, Rect source, Rect rect1, Rect rect2) { in isBetterCandidate() 213 static boolean beamBeats(int direction, Rect source, Rect rect1, Rect rect2) { in beamBeats() 247 static boolean beamsOverlap(int direction, Rect rect1, Rect rect2) { in beamsOverlap() 368 private static boolean containsOrIsContainedVertically(Rect rect1, Rect rect2) { in containsOrIsContainedVertically() 377 private static boolean containsOrIsContainedHorizontally(Rect rect1, Rect rect2) { in containsOrIsContainedHorizontally()
|
/aosp12/frameworks/base/core/java/android/view/ |
H A D | FocusFinderHelper.java | 36 public boolean isBetterCandidate(int direction, Rect source, Rect rect1, Rect rect2) { in isBetterCandidate() 40 public boolean beamBeats(int direction, Rect source, Rect rect1, Rect rect2) { in beamBeats() 48 public boolean beamsOverlap(int direction, Rect rect1, Rect rect2) { in beamsOverlap()
|
H A D | FocusFinder.java | 460 boolean isBetterCandidate(int direction, Rect source, Rect rect1, Rect rect2) { in isBetterCandidate() 499 boolean beamBeats(int direction, Rect source, Rect rect1, Rect rect2) { in beamBeats() 576 boolean beamsOverlap(int direction, Rect rect1, Rect rect2) { in beamsOverlap()
|
/aosp12/hardware/qcom/sm7250/display/sdm/libs/utils/ |
H A D | rect.cpp | 43 bool IsCongruent(const LayerRect &rect1, const LayerRect &rect2) { in IsCongruent() 67 LayerRect Intersection(const LayerRect &rect1, const LayerRect &rect2) { in Intersection() 102 bool Contains(const LayerRect &rect1, const LayerRect &rect2) { in Contains() 111 void Subtract(const LayerRect &rect1, const LayerRect &rect2, LayerRect *res) { in Subtract() 143 LayerRect Subtract(const LayerRect &rect1, const LayerRect &rect2) { in Subtract() 165 LayerRect Union(const LayerRect &rect1, const LayerRect &rect2) { in Union()
|
/aosp12/hardware/qcom/sm8150/display/sdm/libs/utils/ |
H A D | rect.cpp | 43 bool IsCongruent(const LayerRect &rect1, const LayerRect &rect2) { in IsCongruent() 67 LayerRect Intersection(const LayerRect &rect1, const LayerRect &rect2) { in Intersection() 102 bool Contains(const LayerRect &rect1, const LayerRect &rect2) { in Contains() 111 void Subtract(const LayerRect &rect1, const LayerRect &rect2, LayerRect *res) { in Subtract() 143 LayerRect Subtract(const LayerRect &rect1, const LayerRect &rect2) { in Subtract() 165 LayerRect Union(const LayerRect &rect1, const LayerRect &rect2) { in Union()
|
/aosp12/frameworks/base/core/tests/coretests/src/android/view/ |
H A D | FocusFinderTest.java | 112 final Rect rect2 = new Rect(rect1); in testOverlapBeamsRightLeftUpToEdge() local 149 final Rect rect2 = new Rect(rect1); in testOverlapBeamsUpDownUpToEdge() local 476 private void assertBeamsOverlap(int direction, Rect rect1, Rect rect2) { in assertBeamsOverlap() 483 private void assertBeamsDontOverlap(int direction, Rect rect1, Rect rect2) { in assertBeamsDontOverlap() 534 Rect rect1, Rect rect2) { in assertBeamBeats()
|
/aosp12/hardware/qcom/display/msm8996/sdm/libs/utils/ |
H A D | rect.cpp | 43 bool IsCongruent(const LayerRect &rect1, const LayerRect &rect2) { in IsCongruent() 62 LayerRect Intersection(const LayerRect &rect1, const LayerRect &rect2) { in Intersection() 97 LayerRect Subtract(const LayerRect &rect1, const LayerRect &rect2) { in Subtract() 119 LayerRect Union(const LayerRect &rect1, const LayerRect &rect2) { in Union()
|
/aosp12/hardware/qcom/display/msm8909w_3100/sdm/libs/utils/ |
H A D | rect.cpp | 43 bool IsCongruent(const LayerRect &rect1, const LayerRect &rect2) { in IsCongruent() 62 LayerRect Intersection(const LayerRect &rect1, const LayerRect &rect2) { in Intersection() 97 LayerRect Subtract(const LayerRect &rect1, const LayerRect &rect2) { in Subtract() 119 LayerRect Union(const LayerRect &rect1, const LayerRect &rect2) { in Union()
|
/aosp12/hardware/qcom/display/msm8998/sdm/libs/utils/ |
H A D | rect.cpp | 43 bool IsCongruent(const LayerRect &rect1, const LayerRect &rect2) { in IsCongruent() 62 LayerRect Intersection(const LayerRect &rect1, const LayerRect &rect2) { in Intersection() 97 LayerRect Subtract(const LayerRect &rect1, const LayerRect &rect2) { in Subtract() 119 LayerRect Union(const LayerRect &rect1, const LayerRect &rect2) { in Union()
|
/aosp12/hardware/qcom/display/msm8909/sdm/libs/utils/ |
H A D | rect.cpp | 43 bool IsCongruent(const LayerRect &rect1, const LayerRect &rect2) { in IsCongruent() 67 LayerRect Intersection(const LayerRect &rect1, const LayerRect &rect2) { in Intersection() 102 LayerRect Subtract(const LayerRect &rect1, const LayerRect &rect2) { in Subtract() 124 LayerRect Union(const LayerRect &rect1, const LayerRect &rect2) { in Union()
|
/aosp12/packages/apps/Car/RotaryController/tests/unit/src/com/android/car/rotary/ |
H A D | FocusFinderTest.java | 157 final Rect rect2 = new Rect(rect1); in testOverlapBeamsRightLeftUpToEdge() local 194 final Rect rect2 = new Rect(rect1); in testOverlapBeamsUpDownUpToEdge() local 531 private void assertBeamsOverlap(int direction, Rect rect1, Rect rect2) { in assertBeamsOverlap() 539 private void assertBeamsDontOverlap(int direction, Rect rect1, Rect rect2) { in assertBeamsDontOverlap() 585 private void assertBeamBeats(int direction, Rect srcRect, Rect rect1, Rect rect2) { in assertBeamBeats()
|
/aosp12/hardware/qcom/sdm845/display/sdm/libs/utils/ |
H A D | rect.cpp | 43 bool IsCongruent(const LayerRect &rect1, const LayerRect &rect2) { in IsCongruent() 67 LayerRect Intersection(const LayerRect &rect1, const LayerRect &rect2) { in Intersection() 102 LayerRect Subtract(const LayerRect &rect1, const LayerRect &rect2) { in Subtract() 124 LayerRect Union(const LayerRect &rect1, const LayerRect &rect2) { in Union()
|
/aosp12/frameworks/base/services/tests/wmtests/src/com/android/server/wm/utils/ |
H A D | InsetUtilsTest.java | 44 final Rect rect2 = new Rect(50, 60, 70, 80); in testAdd() local
|
/aosp12/hardware/qcom/display/msm8994/libqdutils/ |
H A D | cb_utils.cpp | 32 void getUnion(hwc_rect_t& rect1,hwc_rect_t& rect2, hwc_rect_t& irect) { in getUnion()
|
/aosp12/hardware/qcom/display/msm8084/libqdutils/ |
H A D | cb_utils.cpp | 32 void getUnion(hwc_rect_t& rect1,hwc_rect_t& rect2, hwc_rect_t& irect) { in getUnion()
|
/aosp12/hardware/qcom/display/msm8226/libqdutils/ |
H A D | cb_utils.cpp | 32 void getUnion(hwc_rect_t& rect1,hwc_rect_t& rect2, hwc_rect_t& irect) { in getUnion()
|
/aosp12/hardware/qcom/display/msm8226/libhwcomposer/ |
H A D | hwc_utils.cpp | 1090 bool isSameRect(const hwc_rect& rect1, const hwc_rect& rect2) in isSameRect() 1124 hwc_rect_t getIntersection(const hwc_rect_t& rect1, const hwc_rect_t& rect2) in getIntersection() 1145 hwc_rect_t getUnion(const hwc_rect &rect1, const hwc_rect &rect2) in getUnion() 1167 hwc_rect_t deductRect(const hwc_rect_t& rect1, const hwc_rect_t& rect2) { in deductRect() 2158 bool isPeripheral(const hwc_rect_t& rect1, const hwc_rect_t& rect2) { in isPeripheral()
|
/aosp12/hardware/qcom/display/msm8994/libhwcomposer/ |
H A D | hwc_utils.cpp | 1308 bool isSameRect(const hwc_rect& rect1, const hwc_rect& rect2) in isSameRect() 1348 hwc_rect_t getIntersection(const hwc_rect_t& rect1, const hwc_rect_t& rect2) in getIntersection() 1369 hwc_rect_t getUnion(const hwc_rect &rect1, const hwc_rect &rect2) in getUnion() 1391 hwc_rect_t deductRect(const hwc_rect_t& rect1, const hwc_rect_t& rect2) { in deductRect() 2501 bool isPeripheral(const hwc_rect_t& rect1, const hwc_rect_t& rect2) { in isPeripheral()
|
/aosp12/hardware/qcom/display/msm8084/libhwcomposer/ |
H A D | hwc_utils.cpp | 1103 bool isSameRect(const hwc_rect& rect1, const hwc_rect& rect2) in isSameRect() 1136 hwc_rect_t getIntersection(const hwc_rect_t& rect1, const hwc_rect_t& rect2) in getIntersection() 1157 hwc_rect_t getUnion(const hwc_rect &rect1, const hwc_rect &rect2) in getUnion() 1179 hwc_rect_t deductRect(const hwc_rect_t& rect1, const hwc_rect_t& rect2) { in deductRect()
|
/aosp12/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/ |
H A D | GcSnapshot.java | 298 RectF rect2 = new RectF(); in GcSnapshot() local
|
/aosp12/hardware/interfaces/graphics/composer/2.1/utils/hwc2on1adapter/ |
H A D | HWC2On1Adapter.cpp | 2016 static bool compareRects(const hwc_rect_t& rect1, const hwc_rect_t& rect2) { in compareRects()
|