Home
last modified time | relevance | path

Searched defs:rect (Results 1 – 25 of 215) sorted by relevance

123456789

/frameworks/native/libs/ui/tests/
DRect_test.cpp28 const Rect rect; in TEST() local
34 const Rect rect(100, 200); in TEST() local
46 const Rect rect(Size(100, 200)); in TEST() local
58 const Rect rect(11, 12, 14, 14); in TEST() local
70 const Rect rect(Point(11, 12), Point(14, 14)); in TEST() local
83 const Rect rect(FloatRect(10, 20, 30, 40)); in TEST() local
94 const Rect rect(FloatRect(10 - kError, 20 - kError, 30 - kError, 40 - kError)); in TEST() local
105 Rect rect(10, 20, 60, 60); in TEST() local
112 Rect rect(10, 20, 60, 60); in TEST() local
119 const Rect rect(10, 20, 60, 60); in TEST() local
[all …]
/frameworks/native/services/vr/hardware_composer/aidl/android/dvr/
Dparcelable_composer_layer.cpp94 for (auto& rect: layer_.visible_regions) { in writeToParcel() local
105 for (auto& rect: layer_.damaged_regions) { in writeToParcel() local
200 hwc_rect_t rect; in readFromParcel() local
220 hwc_rect_t rect; in readFromParcel() local
/frameworks/base/cmds/uiautomator/library/core-src/com/android/uiautomator/core/
DUiObject.java242 Rect rect = getVisibleBounds(); in swipeUp() local
270 Rect rect = getVisibleBounds(); in swipeDown() local
298 Rect rect = getVisibleBounds(); in swipeLeft() local
325 Rect rect = getVisibleBounds(); in swipeRight() local
401 Rect rect = getVisibleBounds(node); in click() local
441 Rect rect = getVisibleBounds(node); in clickAndWaitForNewWindow() local
459 Rect rect = getVisibleBounds(node); in clickTopLeft() local
476 Rect rect = getVisibleBounds(node); in longClickBottomRight() local
493 Rect rect = getVisibleBounds(node); in clickBottomRight() local
510 Rect rect = getVisibleBounds(node); in longClick() local
[all …]
/frameworks/opt/setupwizard/library/recyclerview/test/instrumentation/src/com/android/setupwizardlib/template/
DRecyclerMixinTest.java104 Rect rect = new Rect(); in testDividerLegacyInset() local
120 Rect rect = new Rect(); in testDividerInsets() local
138 Rect rect = new Rect(); in testDividerInsetLegacyRtl() local
159 Rect rect = new Rect(); in testDividerInsetsRtl() local
/frameworks/opt/setupwizard/library/test/instrumentation/src/com/android/setupwizardlib/template/
DListMixinTest.java108 Rect rect = new Rect(); in testDividerInsetLegacy() local
124 Rect rect = new Rect(); in testDividerInsets() local
142 Rect rect = new Rect(); in testDividerInsetLegacyRtl() local
163 Rect rect = new Rect(); in testDividerInsetsRtl() local
/frameworks/native/libs/renderengine/skia/
DCache.cpp60 FloatRect rect(0, 0, displayRect.width(), displayRect.height()); in drawShadowLayers() local
124 FloatRect rect(0, 0, displayRect.width(), displayRect.height()); in drawImageLayers() local
164 FloatRect rect(0, 0, displayRect.width(), displayRect.height()); in drawSolidLayers() local
191 FloatRect rect(0, 0, displayRect.width(), displayRect.height()); in drawBlurLayers() local
219 FloatRect rect(0, 0, displayRect.width(), displayRect.height() - 20); // boundary is smaller in drawClippedLayers() local
265 FloatRect rect(0, 0, displayRect.width(), displayRect.height()); in drawPIPImageLayer() local
298 FloatRect rect(0, 0, displayRect.width(), displayRect.height()); in drawHolePunchLayer() local
/frameworks/base/core/java/android/hardware/camera2/utils/
DParamsUtils.java64 public static Rect createRect(RectF rect) { in createRect()
86 public static Rect mapRect(Matrix transform, Rect rect) { in mapRect()
105 public static Size createSize(Rect rect) { in createSize()
/frameworks/base/core/tests/coretests/src/android/widget/listview/
DListItemRequestRectAboveThinFirstItemTest.java62 final Rect rect = new Rect(); in testSecondItemRequestRectAboveTop() local
87 final Rect rect = new Rect(); in testSecondToLastItemRequestRectBelowBottom() local
/frameworks/base/core/java/android/view/
DAppTransitionAnimationSpec.java20 public final Rect rect; field in AppTransitionAnimationSpec
23 public AppTransitionAnimationSpec(int taskId, HardwareBuffer buffer, Rect rect) { in AppTransitionAnimationSpec()
/frameworks/base/libs/hwui/pipeline/skia/
DSkiaProfileRenderer.cpp24 SkRect rect = SkRect::MakeLTRB(left, top, right, bottom); in drawRect() local
30 SkRect rect = SkRect::MakeLTRB(rects[index + 0], rects[index + 1], rects[index + 2], in drawRects() local
/frameworks/base/services/core/java/com/android/server/wm/utils/
DRegionUtils.java58 final Rect rect = new Rect(); in forEachRect() local
75 final Rect rect = new Rect(); in forEachRectReverse() local
/frameworks/base/tests/SilkFX/src/com/android/test/silkfx/common/
DHDRIndicator.kt38 val rect = RectF(0f, 0f, width.toFloat(), height.toFloat()) in onDraw() constant
/frameworks/base/graphics/java/android/graphics/drawable/shapes/
DRectShape.java45 final RectF rect = rect(); in getOutline() local
58 protected final RectF rect() { in rect() method in RectShape
/frameworks/native/opengl/tests/hwc/
DhwcCommit.cpp452 Rectangle rect(format->format, startDim); in main() local
651 Rectangle rect(format, startDim, startDim); in maxOverlays() local
677 Rectangle rect(format, startDim); in supportedTransforms() local
702 Rectangle rect(format, startDim); in supportedBlends() local
730 Rectangle rect(format, dim); in dfMinWidth() local
754 Rectangle rect(format, dim); in dfMinHeight() local
778 Rectangle rect(format, dim); in dfMaxWidth() local
801 Rectangle rect(format, dim); in dfMaxHeight() local
836 Rectangle rect(format, dim); in dfMinDim() local
871 Rectangle rect(format, dim); in dfMaxDim() local
[all …]
/frameworks/base/tests/SilkFX/src/com/android/test/silkfx/hdr/
DGlowingCard.kt54 val rect = RectF(0f, 0f, width.toFloat(), height.toFloat()) in onDraw() constant
DRadialGlow.kt65 val rect = RectF(0f, 0f, width.toFloat(), height.toFloat()) in onDraw() constant
/frameworks/native/services/surfaceflinger/tests/utils/
DTransactionUtils.h51 static void fillANativeWindowBufferColor(const ANativeWindow_Buffer& buffer, const Rect& rect, in fillANativeWindowBufferColor()
75 static void fillGraphicBufferColor(const sp<GraphicBuffer>& buffer, const Rect& rect, in fillGraphicBufferColor()
104 const Rect& rect, const Color& color, uint8_t tolerance) { in expectBufferColor()
/frameworks/base/graphics/java/android/graphics/
DOutline.java182 public void setRect(@NonNull Rect rect) { in setRect()
209 public void setRoundRect(@NonNull Rect rect, float radius) { in setRoundRect()
271 public void setOval(@NonNull Rect rect) { in setOval()
DCanvas.java843 public boolean clipRect(@NonNull RectF rect, @NonNull Region.Op op) { in clipRect()
867 public boolean clipRect(@NonNull Rect rect, @NonNull Region.Op op) { in clipRect()
879 public boolean clipRectUnion(@NonNull Rect rect) { in clipRectUnion()
891 public boolean clipRect(@NonNull RectF rect) { in clipRect()
903 public boolean clipOutRect(@NonNull RectF rect) { in clipOutRect()
915 public boolean clipRect(@NonNull Rect rect) { in clipRect()
927 public boolean clipOutRect(@NonNull Rect rect) { in clipOutRect()
1163 public boolean quickReject(@NonNull RectF rect, @NonNull EdgeType type) { in quickReject()
1178 public boolean quickReject(@NonNull RectF rect) { in quickReject()
/frameworks/base/libs/hwui/tests/common/
DCallCountingCanvas.h55 void onDrawRect(const SkRect& rect, const SkPaint& paint) override { in onDrawRect()
71 void onDrawOval(const SkRect& rect, const SkPaint& paint) override { in onDrawOval()
76 void onDrawArc(const SkRect& rect, SkScalar startAngle, SkScalar sweepAngle, bool useCenter, in onDrawArc()
129 void onDrawAtlas2(const SkImage* atlas, const SkRSXform xform[], const SkRect rect[], in onDrawAtlas2()
136 void onDrawAnnotation(const SkRect& rect, const char key[], SkData* value) override { in onDrawAnnotation()
/frameworks/av/media/libeffects/loudness/dsp/core/
Ddynamic_range_compression.cpp83 const float rect = std::max(overshoot, 0.0f); in Compress() local
112 const float rect = std::max(overshoot, 0.0f); in Compress() local
/frameworks/base/core/tests/coretests/src/android/widget/
DAbsSeekBarTest.java144 private Point center(Rect rect) { in center()
148 private Rect offset(Rect rect, int dx, int dy) { in offset()
/frameworks/native/services/surfaceflinger/layerproto/
DLayerProtoParser.cpp134 LayerProtoParser::Rect rect; in generateRect() local
144 LayerProtoParser::FloatRect rect; in generateFloatRect() local
272 for (auto& rect : rects) { in to_string() local
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/recents/view/
DAppTransitionAnimationSpecCompat.java31 public AppTransitionAnimationSpecCompat(int taskId, Bitmap buffer, Rect rect) { in AppTransitionAnimationSpecCompat()
/frameworks/base/core/tests/coretests/src/android/widget/scroll/
DRequestRectangleVisible.java43 final Rect rect = new Rect(); in onCreate() local

123456789