/frameworks/av/include/media/stagefright/ |
H A D | YUVCanvas.h | 45 void FillYUVRectangle(const Rect& rect,
|
/frameworks/av/media/libstagefright/include/media/stagefright/ |
H A D | YUVCanvas.h | 45 void FillYUVRectangle(const Rect& rect,
|
/frameworks/native/include/ui/ |
H A D | DebugUtils.h | 36 std::string to_string(const android::Rect& rect);
|
H A D | GraphicBuffer.h | 166 status_t lock(uint32_t inUsage, const Rect& rect, void** vaddr); 169 status_t lockYCbCr(uint32_t inUsage, const Rect& rect, 173 status_t lockAsync(uint32_t inUsage, const Rect& rect, void** vaddr, 176 const Rect& rect, void** vaddr, int fenceFd); 179 status_t lockAsyncYCbCr(uint32_t inUsage, const Rect& rect,
|
/frameworks/native/libs/ui/include/ui/ |
H A D | DebugUtils.h | 36 std::string to_string(const android::Rect& rect);
|
H A D | GraphicBuffer.h | 166 status_t lock(uint32_t inUsage, const Rect& rect, void** vaddr); 169 status_t lockYCbCr(uint32_t inUsage, const Rect& rect, 173 status_t lockAsync(uint32_t inUsage, const Rect& rect, void** vaddr, 176 const Rect& rect, void** vaddr, int fenceFd); 179 status_t lockAsyncYCbCr(uint32_t inUsage, const Rect& rect,
|
/frameworks/native/libs/ui/include_vndk/ui/ |
H A D | DebugUtils.h | 36 std::string to_string(const android::Rect& rect);
|
H A D | GraphicBuffer.h | 166 status_t lock(uint32_t inUsage, const Rect& rect, void** vaddr); 169 status_t lockYCbCr(uint32_t inUsage, const Rect& rect, 173 status_t lockAsync(uint32_t inUsage, const Rect& rect, void** vaddr, 176 const Rect& rect, void** vaddr, int fenceFd); 179 status_t lockAsyncYCbCr(uint32_t inUsage, const Rect& rect,
|
/frameworks/native/libs/nativewindow/include/android/ |
H A D | hardware_buffer.h | 28 #include <android/rect.h> 249 * If \a rect is not NULL, the caller promises to modify only data in the area 250 * specified by rect. If rect is NULL, the caller may modify the contents of the 253 * The content of the buffer outside of the specified rect is NOT modified 275 int32_t fence, const ARect* rect, void** outVirtualAddress);
|
/frameworks/rs/tests/java_api/HealingBrush/src/rs/example/android/com/healingbrush/ |
H A D | find_region.rs | 83 void calcBounds(rs_allocation xy, rs_allocation rect) { 85 rsSetElementAt_float2(rect, r.xy, 0); 86 rsSetElementAt_float2(rect, r.zw, 1);
|
/frameworks/native/libs/ui/ |
H A D | Region.cpp | 278 Rect rect(l,t,r,b); 280 mStorage.insertAt(rect, where, 1); 434 virtual void operator()(const Rect& rect); 463 void Region::rasterizer::operator()(const Rect& rect) argument 466 // rect.left, rect.top, rect.right, rect.bottom); 468 if (cur->top != rect.top) { 470 } else if (cur->right == rect [all...] |
H A D | DebugUtils.cpp | 321 std::string to_string(const android::Rect& rect) { argument 322 return StringPrintf("(%4d,%4d,%4d,%4d)", rect.left, rect.top, rect.right, rect.bottom);
|
H A D | GraphicBufferMapper.cpp | 103 static inline Gralloc2::IMapper::Rect asGralloc2Rect(const Rect& rect) { argument 105 outRect.left = rect.left; 106 outRect.top = rect.top; 107 outRect.width = rect.width(); 108 outRect.height = rect.height();
|
/frameworks/base/libs/hwui/ |
H A D | BakedOpRenderer.cpp | 170 void BakedOpRenderer::clearColorBuffer(const Rect& rect) { argument 171 if (rect.contains(Rect(mRenderTarget.viewportWidth, mRenderTarget.viewportHeight))) { 175 // Requested rect is subset of viewport - scissor to it to avoid over-clearing 177 mRenderState.scissor().set(rect.left, mRenderTarget.viewportHeight - rect.bottom, 178 rect.getWidth(), rect.getHeight()); 252 bounds.doIntersect(clip->rect); 278 SkRegion::Cliperator it(region, clip->rect.toSkIRect()); 280 const SkIRect& r = it.rect(); [all...] |
H A D | BakedOpState.cpp | 60 const Rect& clipRect = clipState->rect; 92 clippedBounds = clipState->rect; 100 , clippedBounds(clipState->rect) 108 , clipSideFlags(computeClipSideFlags(clipRect->rect, dstRect)) 110 clippedBounds.doIntersect(clipRect->rect);
|
H A D | DamageAccumulator.cpp | 40 // When this frame is pop'd, this rect is mapped through the above transform 181 SkRect* rect = &frame->pendingDirty; local 184 mapRect(frame->renderNode->properties(), *rect, rect); 186 mapRect(frame->matrix4, *rect, rect); 238 // Root node never has a transform, so this is the fully mapped dirty rect
|
/frameworks/support/recyclerview-selection/src/main/java/androidx/recyclerview/selection/ |
H A D | GridModel.java | 293 * @param rect Rectangle including all covered items. 295 private void updateSelection(Rect rect) { argument 297 Collections.binarySearch(mColumnBounds, new Limits(rect.left, rect.left)); 304 && mColumnBounds.get(i).lowerLimit <= rect.right; i++) { 308 int rowStart = Collections.binarySearch(mRowBounds, new Limits(rect.top, rect.top)); 316 && mRowBounds.get(i).lowerLimit <= rect.bottom; i++) { 639 Rect rect = new Rect(); 640 rect [all...] |
/frameworks/base/core/tests/coretests/src/android/view/ |
H A D | FocusFinderTest.java | 100 final Rect rect = new Rect(0, 0, 20, 20); 102 assertBeamsOverlap(View.FOCUS_LEFT, rect, rect); 103 assertBeamsOverlap(View.FOCUS_RIGHT, rect, rect); 104 assertBeamsOverlap(View.FOCUS_UP, rect, rect); 105 assertBeamsOverlap(View.FOCUS_DOWN, rect, rect); 490 * Assert that particular rect i [all...] |
/frameworks/base/libs/hwui/tests/unit/ |
H A D | ClipAreaTests.cpp | 129 // rect clip 136 EXPECT_EQ(Rect(200, 200), serializedClip->rect); 141 // rect list 152 EXPECT_EQ(Rect(37, 54, 145, 163), clipRectList->rect); 169 EXPECT_EQ(Rect(200, 200), clipRegion->rect); 201 // rect 210 EXPECT_EQ(Rect(100, 100, 200, 200), resolvedClip->rect); 222 // rect list 246 recordedClip.rect = Rect(200, 200); 268 EXPECT_EQ(Rect(100, 100, 501, 501), resolvedClip->rect); [all...] |
/frameworks/av/media/libstagefright/include/ |
H A D | FrameDecoder.h | 50 sp<IMemory> extractFrame(FrameRect *rect = NULL); 66 virtual status_t onExtractRect(FrameRect *rect) = 0; 119 virtual status_t onExtractRect(FrameRect *rect) override { 121 return (rect == NULL) ? OK : ERROR_UNSUPPORTED; 157 virtual status_t onExtractRect(FrameRect *rect) override;
|
/frameworks/base/core/java/android/gesture/ |
H A D | GestureStroke.java | 162 final RectF rect = boundingBox; 164 GestureUtils.translate(pts, -rect.left, -rect.top); 166 float sx = width / rect.width(); 167 float sy = height / rect.height();
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/ |
H A D | RecentsTransitionComposer.java | 69 transform.rect.round(taskRect); 98 // Calculate the offscreen task rect (for tasks that are not backed by views) 102 stackLayout.getFrontOfStackTransform().rect.round(offscreenTaskRect); 141 int fromWidth = (int) (transform.rect.width() * scale); 142 int fromHeight = (int) (transform.rect.height() * scale); 162 int headerWidth = (int) (transform.rect.width());
|
/frameworks/layoutlib/bridge/src/android/view/ |
H A D | RectShadowPainter.java | 55 assert false : "Outline is not a rect shadow"; 145 // called. So, setting a clip rect at 0,0 will clip the top left part of the shadow. 195 * Differs from {@link RectF#isEmpty()} as this first converts the rect to int and then checks. 202 private static boolean isRectEmpty(RectF rect) { argument 203 return (int) rect.left >= (int) rect.right || (int) rect.top >= (int) rect.bottom;
|
/frameworks/native/cmds/surfacereplayer/replayer/trace_creator/ |
H A D | trace_creator.py | 135 for rect in transparent_region_hint(): 137 new.left = rect[0] 138 new.top = rect[1] 139 new.right = rect[2] 140 new.bottom = rect[3]
|
/frameworks/native/services/surfaceflinger/tests/hwc2/ |
H A D | Hwc2TestLayers.cpp | 275 const auto rect = aboveOpaqueLayers.begin(); local 276 if (rect->left != 0 || rect->top != 0 || rect->right != mDisplayArea.width 277 || rect->bottom != mDisplayArea.height)
|