/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/core/java/android/view/ |
D | FocusFinder.java | 381 boolean isCandidate(Rect srcRect, Rect destRect, int direction) { in isCandidate() argument 384 return (srcRect.right > destRect.right || srcRect.left >= destRect.right) in isCandidate() 385 && srcRect.left > destRect.left; in isCandidate() 387 return (srcRect.left < destRect.left || srcRect.right <= destRect.left) in isCandidate() 388 && srcRect.right < destRect.right; in isCandidate() 390 return (srcRect.bottom > destRect.bottom || srcRect.top >= destRect.bottom) in isCandidate() 391 && srcRect.top > destRect.top; in isCandidate() 393 return (srcRect.top < destRect.top || srcRect.bottom <= destRect.top) in isCandidate() 394 && 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/base/media/java/android/media/videoeditor/ |
D | VideoEditor.java | 235 final Rect srcRect; in renderOverlay() local 240 srcRect = new Rect(0, 0, mOverlayBitmap.getWidth(), in renderOverlay() 271 … srcRect = new Rect(0, 0, mOverlayBitmap.getWidth(), mOverlayBitmap.getHeight()); in renderOverlay() 300 srcRect = new Rect(left, top, right, bottom); in renderOverlay() 311 overlayCanvas.drawBitmap(mOverlayBitmap, srcRect, destRect, sResizePaint); in renderOverlay()
|
D | OverlayFrame.java | 346 final Rect srcRect; in generateOverlayWithRenderingMode() local 352 srcRect = new Rect(0, 0, overlayBitmap.getWidth(), in generateOverlayWithRenderingMode() 383 srcRect = new Rect(0, 0, overlayBitmap.getWidth(), overlayBitmap.getHeight()); in generateOverlayWithRenderingMode() 412 srcRect = new Rect(left, top, right, bottom); in generateOverlayWithRenderingMode() 422 overlayCanvas.drawBitmap(overlayBitmap, srcRect, destRect, sResizePaint); in generateOverlayWithRenderingMode()
|
/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()
|