Home
last modified time | relevance | path

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

12345678910

/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/libs/renderengine/skia/
DCache.cpp69 FloatRect rect(0, 0, displayRect.width(), displayRect.height()); in drawShadowLayers() local
135 FloatRect rect(0, 0, displayRect.width(), displayRect.height()); in drawImageLayers() local
174 FloatRect rect(0, 0, displayRect.width(), displayRect.height()); in drawSolidLayers() local
200 FloatRect rect(0, 0, displayRect.width(), displayRect.height()); in drawBlurLayers() local
227 FloatRect rect(0, 0, displayRect.width(), displayRect.height() - 20); // boundary is smaller in drawClippedLayers() local
272 FloatRect rect(0, 0, displayRect.width(), displayRect.height()); in drawPIPImageLayer() local
304 FloatRect rect(0, 0, displayRect.width(), displayRect.height()); in drawHolePunchLayer() local
334 FloatRect rect(0, 0, displayRect.width(), displayRect.height()); in drawImageDimmedLayers() local
367 FloatRect rect(0, 0, displayRect.width(), displayRect.height()); in drawTransparentImageDimmedLayers() local
416 FloatRect rect(0, 0, displayRect.width(), displayRect.height()); in drawClippedDimmedImageLayers() local
[all …]
/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/base/core/tests/coretests/src/android/view/stylus/
DHandwritableViewInfoTest.java44 final Rect rect = new Rect(1, 2, 3, 4); in constructorTest() local
56 final Rect rect = new Rect(1, 2, 3, 4); in update() local
72 final Rect rect = new Rect(1, 2, 3, 4); in update_viewDisableAutoHandwriting() local
/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/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/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/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/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/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/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/graphics/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/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/tests/graphics/SilkFX/src/com/android/test/silkfx/hdr/
DGlowingCard.kt54 val rect = RectF(0f, 0f, width.toFloat(), height.toFloat()) in onDraw() constant
DRadialGlow.kt63 val rect = RectF(0f, 0f, width.toFloat(), height.toFloat()) in onDraw() constant
/frameworks/base/libs/hwui/tests/common/
DCallCountingCanvas.h57 void onDrawRect(const SkRect& rect, const SkPaint& paint) override { in onDrawRect()
73 void onDrawOval(const SkRect& rect, const SkPaint& paint) override { in onDrawOval()
78 void onDrawArc(const SkRect& rect, SkScalar startAngle, SkScalar sweepAngle, bool useCenter, in onDrawArc()
125 void onDrawAtlas2(const SkImage* atlas, const SkRSXform xform[], const SkRect rect[], in onDrawAtlas2()
132 void onDrawAnnotation(const SkRect& rect, const char key[], SkData* value) override { in onDrawAnnotation()
/frameworks/base/graphics/java/android/graphics/
DOutline.java181 public void setRect(@NonNull Rect rect) { in setRect()
208 public void setRoundRect(@NonNull Rect rect, float radius) { in setRoundRect()
270 public void setOval(@NonNull Rect rect) { in setOval()
DCanvas.java872 public boolean clipRect(@NonNull RectF rect, @NonNull Region.Op op) { in clipRect()
896 public boolean clipRect(@NonNull Rect rect, @NonNull Region.Op op) { in clipRect()
908 public boolean clipRectUnion(@NonNull Rect rect) { in clipRectUnion()
920 public boolean clipRect(@NonNull RectF rect) { in clipRect()
932 public boolean clipOutRect(@NonNull RectF rect) { in clipOutRect()
944 public boolean clipRect(@NonNull Rect rect) { in clipRect()
956 public boolean clipOutRect(@NonNull Rect rect) { in clipOutRect()
1216 public boolean quickReject(@NonNull RectF rect, @NonNull EdgeType type) { in quickReject()
1231 public boolean quickReject(@NonNull RectF rect) { in quickReject()
/frameworks/av/media/libeffects/loudness/dsp/core/
Ddynamic_range_compression.cpp83 const float rect = std::max(overshoot, 0.0f); in Compress() local
111 const float rect = std::max(overshoot, 0.0f); in Compress() local
/frameworks/native/services/surfaceflinger/layerproto/
DLayerProtoParser.cpp138 LayerProtoParser::Rect rect; in generateRect() local
149 LayerProtoParser::FloatRect rect; in generateFloatRect() local
277 for (auto& rect : rects) { in to_string() 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/base/packages/SystemUI/tests/src/com/android/systemui/touch/
DTouchInsetManagerTest.java132 final Rect rect = new Rect(0, 0, 2, 2); in testInsetRegionPropagation() local
234 final Rect rect = new Rect(bounds); in createView() local
/frameworks/av/media/codec2/vndk/
DC2AllocatorBlob.cpp88 C2Rect rect(capacity(), kLinearBufferHeight); in ~C2AllocationBlob() local
110 C2Rect rect = C2Rect(capacity(), kLinearBufferHeight); in map() local
145 C2Rect rect(capacity(), kLinearBufferHeight); in unmap() local

12345678910