/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 | 81 View left = mockViewAt(0, 0, 10, 10); in testNoActionOnLargeDevices() local 97 View left = mockViewAt(0, 0, 10, 10); in testInvisibleViews() local 116 View left = mockViewAt(0, 0, 10, 10); in testNearestView_DetachedViewsExcluded() local 134 View left = mockViewAt(0, 0, 10, 10); in testHorizontalSelection_Left() local 150 View left = mockViewAt(0, 0, 10, 10); in testHorizontalSelection_Right() local 228 View left = mockViewAt(0, 0, 5, 20); in testCachedRegionsSplit_horizontal() local
|
/aosp14/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
H A D | GlobalSortKeyComparatorTest.java | 50 NotificationRecord left = new NotificationRecord(getContext(), in testComparator() local 89 NotificationRecord left = new NotificationRecord(getContext(), in testNoCrash_leftNull() local 119 NotificationRecord left = new NotificationRecord(getContext(), in testNoCrash_rightNull() local
|
/aosp14/frameworks/base/core/java/android/hardware/camera2/params/ |
H A D | ReprocessFormatsMap.java | 77 int left = entry.length; in ReprocessFormatsMap() local 132 int left = mEntry.length; in getInputs() local 180 int left = mEntry.length; in getOutputs() local
|
/aosp14/frameworks/base/graphics/java/android/graphics/ |
H A D | RectF.java | 36 public float left; 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 | 49 public int left; 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 | 35 public final int left; 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() 430 private static native boolean nativeSetRect(long native_dst, int left, in nativeSetRect() 438 private static native boolean nativeOp(long native_dst, int left, int top, 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() 857 private static native void nAddRect(long nPath, float left, float top, in nAddRect() 859 private static native void nAddOval(long nPath, float left, float top, in nAddOval() 864 private static native void nAddRoundRect(long nPath, float left, float top, in nAddRoundRect() [all …]
|
/aosp14/frameworks/base/core/jni/ |
H A D | jni_common.cpp | 30 jfieldID left; member 36 int left = env->GetIntField(rectObj, gRectClassInfo.left); in rectFromObj() local
|
/aosp14/frameworks/base/errorprone/java/com/google/errorprone/bugpatterns/android/ |
H A D | TargetSdkChecker.java | 94 static Matcher<BinaryTree> binaryTreeExact(Matcher<ExpressionTree> left, in binaryTreeExact()
|
/aosp14/frameworks/base/core/proto/android/graphics/ |
H A D | rect.proto | 27 optional int32 left = 1; 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() 275 public SurfaceControl left; field in LetterboxTest.SurfaceControlMocker
|
H A D | DisplayPolicyInsetsTests.java | 143 private void verifyStableInsets(DisplayInfo di, int left, int top, in verifyStableInsets() 149 private void verifyNonDecorInsets(DisplayInfo di, int left, int top, 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/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/tests/coretests/src/android/widget/focus/ |
H A D | FocusAfterRemoval.java | 38 final LinearLayout left = findViewById(R.id.leftLayout); in onCreate() local
|
/aosp14/frameworks/base/core/java/android/transition/ |
H A D | SidePropagation.java | 93 int left = loc[0] + Math.round(sceneRoot.getTranslationX()); 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 | 39 val left = if (position == 0) offset * 2 else offset regex
|
/aosp14/frameworks/base/libs/hwui/ |
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() 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() 591 void SkiaCanvas::drawBitmap(Bitmap& bitmap, float left, float top, const Paint* paint) { in drawBitmap() [all …]
|
/aosp14/frameworks/base/libs/hwui/tests/common/scenes/ |
H A D | TvApp.cpp | 99 sp<RenderNode> createBitmapNode(Canvas& canvas, SkColor color, int left, int top, int width, in createBitmapNode() 111 sp<RenderNode> createSharedBitmapNode(Canvas& canvas, int left, int top, int width, int height, in createSharedBitmapNode() 119 sp<RenderNode> createInfoNode(Canvas& canvas, int left, int top, int width, int height, in createInfoNode() 137 sp<RenderNode> createColorNode(Canvas& canvas, int left, int top, int width, int height, in createColorNode()
|
/aosp14/frameworks/base/core/tests/coretests/src/android/graphics/drawable/ |
H A D | AdaptiveIconDrawableTest.java | 86 int left = 18 * dpi; in testDraw_withBounds() local 154 int left = 18 * dpi; in testGetIconMaskAfterSetBounds() local 175 int left = 18 * dpi; in testGetOutline_withBounds() local
|