/aosp14/frameworks/base/core/java/com/android/internal/util/ |
H A D | QuickSelect.java | 32 private static <T> int selectImpl(@NonNull List<T> list, int left, int right, int k, in selectImpl() 49 private static int selectImpl(@NonNull int[] array, int left, int right, int k) { in selectImpl() 65 private static int selectImpl(@NonNull long[] array, int left, int right, int k) { in selectImpl() 81 private static <T> int selectImpl(@NonNull T[] array, int left, int right, int k, in selectImpl() 113 private static int partition(@NonNull int[] array, int left, int right, int pivotIndex) { in partition() 127 private static int partition(@NonNull long[] array, int left, int right, int pivotIndex) { in partition() 141 private static <T> int partition(@NonNull T[] array, int left, int right, int pivotIndex, in partition() 156 private static <T> void swap(@NonNull List<T> list, int left, int right) { in swap() 162 private static void swap(@NonNull int[] array, int left, int right) { in swap() 168 private static void swap(@NonNull long[] array, int left, int right) { in swap() [all …]
|
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/navigationbar/buttons/ |
H A D | NearestTouchFrameTest.java | 82 View right = mockViewAt(20, 0, 10, 10); in testNoActionOnLargeDevices() local 98 View right = mockViewAt(20, 0, 10, 10); in testInvisibleViews() local 118 View right = mockViewAt(20, 0, 10, 10); in testNearestView_DetachedViewsExcluded() local 135 View right = mockViewAt(20, 0, 10, 10); in testHorizontalSelection_Left() local 151 View right = mockViewAt(20, 0, 10, 10); in testHorizontalSelection_Right() local 229 View right = mockViewAt(15, 0, 5, 20); in testCachedRegionsSplit_horizontal() local
|
/aosp14/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
H A D | GlobalSortKeyComparatorTest.java | 57 NotificationRecord right = new NotificationRecord(getContext(), in testComparator() local 95 NotificationRecord right = new NotificationRecord(getContext(), in testNoCrash_leftNull() local 126 NotificationRecord right = new NotificationRecord(getContext(), in testNoCrash_rightNull() local
|
/aosp14/frameworks/base/graphics/java/android/graphics/ |
H A D | RectF.java | 38 public float right; field in RectF 56 public RectF(float left, float top, float right, float bottom) { in RectF() 203 public void set(float left, float top, float right, float bottom) { in set() 308 public boolean contains(float left, float top, float right, float bottom) { in contains() 350 public boolean intersect(float left, float top, float right, float bottom) { in intersect() 423 public boolean intersects(float left, float top, float right, in intersects() 472 public void union(float left, float top, float right, float bottom) { in union()
|
H A D | Rect.java | 51 public int right; field in Rect 84 public Rect(int left, int top, int right, int bottom) { in Rect() 366 public void set(int left, int top, int right, int bottom) { in set() 463 public void inset(int left, int top, int right, int bottom) { in inset() 498 public boolean contains(int left, int top, int right, int bottom) { in contains() 540 public boolean intersect(int left, int top, int right, int bottom) { in intersect() 618 public boolean intersects(int left, int top, int right, int bottom) { in intersects() 646 public void union(int left, int top, int right, int bottom) { in union()
|
H A D | Canvas.java | 527 public int saveUnclippedLayer(int left, int top, int right, int bottom) { in saveUnclippedLayer() 549 public int saveLayer(float left, float top, float right, float bottom, @Nullable Paint paint, in saveLayer() 624 public int saveLayerAlpha(float left, float top, float right, float bottom, int alpha, in saveLayerAlpha() 635 public int saveLayerAlpha(float left, float top, float right, float bottom, int alpha) { in saveLayerAlpha() 958 public boolean clipRect(float left, float top, float right, float bottom, in clipRect() 977 public boolean clipRect(float left, float top, float right, float bottom) { in clipRect() 992 public boolean clipOutRect(float left, float top, float right, float bottom) { in clipOutRect() 1010 public boolean clipRect(int left, int top, int right, int bottom) { in clipRect() 1025 public boolean clipOutRect(int left, int top, int right, int bottom) { in clipOutRect() 1243 public boolean quickReject(float left, float top, float right, float bottom, in quickReject() [all …]
|
H A D | Insets.java | 37 public final int right; field in Insets 40 private Insets(int left, int top, int right, int bottom) { in Insets() 59 public static @NonNull Insets of(int left, int top, int right, int bottom) { in of()
|
H A D | Outline.java | 174 public void setRect(int left, int top, int right, int bottom) { in setRect() 190 public void setRoundRect(int left, int top, int right, int bottom, float radius) { in setRoundRect() 243 public void setOval(int left, int top, int right, int bottom) { in setOval()
|
H A D | Region.java | 81 public Region(int left, int top, int right, int bottom) { in Region() 107 public boolean set(int left, int top, int right, int bottom) { in set() 198 public native boolean quickContains(int left, int top, int right, in quickContains() 215 public native boolean quickReject(int left, int top, int right, int bottom); in quickReject() 275 public boolean op(int left, int top, int right, int bottom, @NonNull Op op) { in op() 431 int top, int right, int bottom); in nativeSetRect() 439 int right, int bottom, int op); in nativeOp()
|
H A D | Path.java | 510 public void arcTo(float left, float top, float right, float bottom, float startAngle, in arcTo() 558 public void addRect(float left, float top, float right, float bottom, @NonNull Direction dir) { in addRect() 577 public void addOval(float left, float top, float right, float bottom, @NonNull Direction dir) { in addOval() 610 public void addArc(float left, float top, float right, float bottom, float startAngle, in addArc() 634 public void addRoundRect(float left, float top, float right, float bottom, float rx, float ry, in addRoundRect() 663 public void addRoundRect(float left, float top, float right, float bottom, in addRoundRect() 854 private static native void nArcTo(long nPath, float left, float top, float right, float bottom, in nArcTo() 858 float right, float bottom, int dir); in nAddRect() 860 float right, float bottom, int dir); in nAddOval() 865 float right, float bottom, float rx, float ry, int dir); in nAddRoundRect() [all …]
|
/aosp14/frameworks/base/core/jni/ |
H A D | jni_common.cpp | 31 jfieldID right; member 38 int right = env->GetIntField(rectObj, gRectClassInfo.right); in rectFromObj() local
|
/aosp14/frameworks/base/errorprone/java/com/google/errorprone/bugpatterns/android/ |
H A D | TargetSdkChecker.java | 95 Matcher<ExpressionTree> right) { in binaryTreeExact()
|
/aosp14/frameworks/base/core/proto/android/graphics/ |
H A D | rect.proto | 29 optional int32 right = 3; field
|
/aosp14/frameworks/base/services/core/java/com/android/server/notification/ |
H A D | GlobalSortKeyComparator.java | 29 public int compare(NotificationRecord left, NotificationRecord right) { in compare()
|
/aosp14/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
H A D | LetterboxTest.java | 134 LetterboxLayoutVerifier setInner(int left, int top, int right, int bottom) { in setInner() 140 void setBarRect(Rect top, Rect bottom, Rect left, Rect right) { in setBarRect() 279 public SurfaceControl right; field in LetterboxTest.SurfaceControlMocker
|
H A D | DisplayPolicyInsetsTests.java | 144 int right, int bottom) { in verifyStableInsets() 150 int right, int bottom) { in verifyNonDecorInsets()
|
/aosp14/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
H A D | BlurActivity.java | 74 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { in onLayout() 133 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { in onLayout()
|
/aosp14/frameworks/base/core/tests/coretests/src/android/view/ |
H A D | ViewGroupTest.java | 199 TestView(Context context, int right) { in TestView() 203 TestView(Context context, int left, int top, int right, int bottom) { in TestView()
|
/aosp14/frameworks/base/core/java/android/text/style/ |
H A D | LineBackgroundSpan.java | 49 @Px int left, @Px int right, in drawBackground() 124 @Px int left, @Px int right, in drawBackground()
|
/aosp14/frameworks/base/core/java/android/transition/ |
H A D | SidePropagation.java | 95 int right = left + sceneRoot.getWidth(); in getStartDelay() local 122 int left, int top, int right, int bottom) { in distance()
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/util/recycler/ |
H A D | HorizontalSpacerItemDecoration.kt | 40 val right = if (position == itemCount - 1) offset * 2 else offset regex
|
/aosp14/frameworks/base/libs/hwui/ |
H A D | Rect.h | 44 float right; variable 55 inline Rect(float left, float top, float right, float bottom) in Rect() 93 inline void set(float left, float top, float right, float bottom) { in set()
|
H A D | SkiaCanvas.cpp | 217 int SkiaCanvas::saveLayer(float left, float top, float right, float bottom, const SkPaint* paint) { in saveLayer() 224 int SkiaCanvas::saveLayerAlpha(float left, float top, float right, float bottom, int alpha) { in saveLayerAlpha() 233 int SkiaCanvas::saveUnclippedLayer(int left, int top, int right, int bottom) { in saveUnclippedLayer() 389 bool SkiaCanvas::quickRejectRect(float left, float top, float right, float bottom) const { in quickRejectRect() 398 bool SkiaCanvas::clipRect(float left, float top, float right, float bottom, SkClipOp op) { in clipRect() 411 bool SkiaCanvas::replaceClipRect_deprecated(float left, float top, float right, float bottom) { in replaceClipRect_deprecated() 517 void SkiaCanvas::drawRect(float left, float top, float right, float bottom, const Paint& paint) { in drawRect() 529 void SkiaCanvas::drawRoundRect(float left, float top, float right, float bottom, float rx, float ry, in drawRoundRect() 546 void SkiaCanvas::drawOval(float left, float top, float right, float bottom, const Paint& paint) { in drawOval() 552 void SkiaCanvas::drawArc(float left, float top, float right, float bottom, float startAngle, in drawArc() [all …]
|
/aosp14/frameworks/base/core/tests/coretests/src/android/graphics/drawable/ |
H A D | AdaptiveIconDrawableTest.java | 87 int right = 90 * dpi; in testDraw_withBounds() local 155 int right = 90 * dpi; in testGetIconMaskAfterSetBounds() local 176 int right = 90 * dpi; in testGetOutline_withBounds() local
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/ |
H A D | ExpandableOutlineView.java | 101 int right; in getClipPath() local 149 int right, in getRoundedRectPath() 349 protected void setOutlineRect(float left, float top, float right, float bottom) { in setOutlineRect()
|