/frameworks/av/media/libstagefright/yuv/ |
D | YUVCanvas.cpp | 52 const Rect& srcRect, in CopyImageRect() argument 58 srcRect, in CopyImageRect() 64 int32_t srcStartX = srcRect.left; in CopyImageRect() 65 int32_t srcStartY = srcRect.top; in CopyImageRect() 66 for (int32_t offsetY = 0; offsetY < srcRect.height(); ++offsetY) { in CopyImageRect() 67 for (int32_t offsetX = 0; offsetX < srcRect.width(); ++offsetX) { in CopyImageRect()
|
D | YUVImage.cpp | 196 const Rect& srcRect, in fastCopyRectangle420Planar() argument 202 int32_t srcStartX = srcRect.left; in fastCopyRectangle420Planar() 203 int32_t srcStartY = srcRect.top; in fastCopyRectangle420Planar() 204 int32_t width = srcRect.width(); in fastCopyRectangle420Planar() 205 int32_t height = srcRect.height(); in fastCopyRectangle420Planar() 278 const Rect& srcRect, in fastCopyRectangle420SemiPlanar() argument 284 int32_t srcStartX = srcRect.left; in fastCopyRectangle420SemiPlanar() 285 int32_t srcStartY = srcRect.top; in fastCopyRectangle420SemiPlanar() 286 int32_t width = srcRect.width(); in fastCopyRectangle420SemiPlanar() 287 int32_t height = srcRect.height(); in fastCopyRectangle420SemiPlanar() [all …]
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/ |
D | FrameImage2D.java | 145 FrameImage2D srcImage, FrameImage2D dstImage, RectF srcRect, RectF dstRect) { in gpuImageCopy() argument 149 idShader.setSourceRect(srcRect); in gpuImageCopy() 158 FrameImage2D srcImage, FrameImage2D dstImage, RectF srcRect, RectF dstRect) { in cpuImageCopy() argument 160 Rect srcIRect = new Rect((int) srcRect.left * srcImage.getWidth(), in cpuImageCopy() 161 (int) srcRect.top * srcImage.getHeight(), in cpuImageCopy() 162 (int) srcRect.right * srcImage.getWidth(), in cpuImageCopy() 163 (int) srcRect.bottom * srcImage.getHeight()); in cpuImageCopy()
|
/frameworks/opt/bitmap/src/com/android/bitmap/ |
D | DecodeTask.java | 303 final Rect srcRect = new Rect(); // Not orientation corrected. True coordinates. in decode() local 329 1f, srcRect); in decode() 331 System.out.println("rect for this decode is: " + srcRect in decode() 340 srcRect); in decode() 342 bitmap = brd.decodeRegion(srcRect, mOpts); in decode() 407 if (!srcRect.isEmpty()) { in decode() 408 result.setLogicalWidth((srcRect.right - srcRect.left) / mOpts.inSampleSize); in decode() 410 (srcRect.bottom - srcRect.top) / mOpts.inSampleSize); in decode()
|
/frameworks/base/core/java/android/view/ |
D | FocusFinder.java | 368 boolean isCandidate(Rect srcRect, Rect destRect, int direction) { in isCandidate() argument 371 return (srcRect.right > destRect.right || srcRect.left >= destRect.right) in isCandidate() 372 && srcRect.left > destRect.left; in isCandidate() 374 return (srcRect.left < destRect.left || srcRect.right <= destRect.left) in isCandidate() 375 && srcRect.right < destRect.right; in isCandidate() 377 return (srcRect.bottom > destRect.bottom || srcRect.top >= destRect.bottom) in isCandidate() 378 && srcRect.top > destRect.top; in isCandidate() 380 return (srcRect.top < destRect.top || srcRect.bottom <= destRect.top) in isCandidate() 381 && srcRect.bottom < destRect.bottom; in isCandidate()
|
D | FocusFinderHelper.java | 44 public boolean isCandidate(Rect srcRect, Rect destRect, int direction) { in isCandidate() argument 45 return mFocusFinder.isCandidate(srcRect, destRect, direction); in isCandidate()
|
/frameworks/av/include/media/stagefright/ |
D | YUVImage.h | 91 const Rect& srcRect, 97 const Rect& srcRect, 104 const Rect& srcRect,
|
D | YUVCanvas.h | 54 const Rect& srcRect,
|
/frameworks/base/core/tests/coretests/src/android/view/ |
D | FocusFinderTest.java | 497 private void assertBetterCandidate(int direction, Rect srcRect, in assertBetterCandidate() argument 505 expectedBetter, expectedWorse, srcRect, directionStr); in assertBetterCandidate() 508 mFocusFinder.isBetterCandidate(direction, srcRect, in assertBetterCandidate() 515 expectedWorse, expectedBetter, srcRect, directionStr); in assertBetterCandidate() 518 mFocusFinder.isBetterCandidate(direction, srcRect, in assertBetterCandidate() 532 private void assertBeamBeats(int direction, Rect srcRect, in assertBeamBeats() argument 538 rect1, rect2, srcRect, directionStr); in assertBeamBeats() 539 assertTrue(assertMsg, mFocusFinder.beamBeats(direction, srcRect, rect1, rect2)); in assertBeamBeats()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
D | BitmapHelper.java | 46 final RectF srcRect = new RectF(0, 0, inWidth, inHeight); in createCircularClip() local 49 m.setRectToRect(srcRect, dstRect, Matrix.ScaleToFit.CENTER); in createCircularClip()
|
/frameworks/testing/uiautomator/library/core-src/com/android/uiautomator/core/ |
D | UiObject.java | 196 Rect srcRect = getVisibleBounds(); in dragTo() local 198 return getInteractionController().swipe(srcRect.centerX(), srcRect.centerY(), in dragTo() 216 Rect srcRect = getVisibleBounds(); in dragTo() local 217 return getInteractionController().swipe(srcRect.centerX(), srcRect.centerY(), destX, destY, in dragTo()
|
/frameworks/base/core/jni/android/graphics/ |
D | SkiaCanvas.cpp | 571 SkRect srcRect = SkRect::MakeLTRB(srcLeft, srcTop, srcRight, srcBottom); in drawBitmap() local 573 mCanvas->drawBitmapRectToRect(bitmap, &srcRect, dstRect, paint); in drawBitmap()
|