/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/scroll/ |
D | CropView.java | 70 private RectF mCrop = new RectF(0, 0, 1, 1); field in CropView 125 ss.mCrop = mCrop; in onSaveInstanceState() 126 Log.d(TAG, "saving mCrop=" + mCrop); in onSaveInstanceState() 136 Log.d(TAG, "restoring mCrop=" + ss.mCrop + " (was " + mCrop + ")"); in onRestoreInstanceState() 137 mCrop = ss.mCrop; in onRestoreInstanceState() 145 float topBorder = MathUtils.lerp(mCrop.top, 0, mEntranceInterpolation); in onDraw() 146 float bottomBorder = MathUtils.lerp(mCrop.bottom, 1, mEntranceInterpolation); in onDraw() 147 drawShade(canvas, 0, topBorder, 1, mCrop.top); in onDraw() 148 drawShade(canvas, 0, mCrop.bottom, 1, bottomBorder); in onDraw() 149 drawShade(canvas, 0, mCrop.top, mCrop.left, mCrop.bottom); in onDraw() [all …]
|
/frameworks/native/services/surfaceflinger/ |
D | LayerRenderArea.cpp | 36 mCrop(crop), in LayerRenderArea() 52 if (mCrop.isEmpty()) { in getSourceCrop() 56 return mCrop; in getSourceCrop()
|
D | LayerRenderArea.h | 52 const Rect mCrop; variable
|
/frameworks/av/media/codec2/core/include/ |
D | C2Buffer.h | 1728 mCrop(C2Rect(std::min(width - std::min(crop.left, width), crop.width), in _C2PlanarSectionAspect() 1737 inline constexpr C2Rect crop() const { return mCrop; } in crop() 1744 mCrop.width, mCrop.height, in childSection() 1746 C2Rect(c2_min(mCrop.right() - c2_clamp(mCrop.left, crop.left, mCrop.right()), in childSection() 1748 c2_min(mCrop.bottom() - c2_clamp(mCrop.top, crop.top, mCrop.bottom()), in childSection() 1750 .at(c2_clamp(mCrop.left, crop.left, mCrop.right()) - mCrop.left, in childSection() 1751 c2_clamp(mCrop.top, crop.top, mCrop.bottom()) - mCrop.top)); in childSection() 1756 : _C2PlanarCapacityAspect(parent), mCrop(width(), height()) {} in _C2PlanarSectionAspect() 1760 mCrop(parent == nullptr ? C2Rect() : ((C2Rect)*parent).intersect(crop).normalize()) { } in _C2PlanarSectionAspect() 1764 mCrop(parent == nullptr ? C2Rect() : parent->crop().intersect(crop).normalize()) { } in _C2PlanarSectionAspect() [all …]
|
/frameworks/ex/camera2/extensions/service_based_sample/oem_library/src/java/androidx/camera/extensions/impl/service/ |
D | ImageWrapper.java | 50 private Rect mCrop; field in ImageWrapper 67 mCrop = image.getCropRect(); in ImageWrapper() 87 mCrop = parcel.readParcelable(Rect.class.getClassLoader()); in ImageWrapper() 106 parcel.writeParcelable(mCrop, flags); in writeToParcel() 224 mImageWrapper.mTransform, mImageWrapper.mScalingMode, mImageWrapper.mCrop); in getPlanes() 250 return mImageWrapper.mCrop; in getCropRect()
|
/frameworks/native/libs/gui/ |
D | BufferItem.cpp | 44 mCrop(Rect::INVALID_RECT), in BufferItem() 72 addAligned(size, mCrop); in getPodSize() 166 writeAligned(buffer, size, mCrop); in flatten() 235 readAligned(buffer, size, mCrop); in unflatten()
|
D | CpuConsumer.cpp | 99 item.mCrop, &ycbcr, fenceFd); in lockBufferItem() 123 item.mCrop, &bufferPointer, fenceFd); in lockBufferItem() 142 outBuffer->crop = item.mCrop; in lockBufferItem()
|
D | BufferQueueCore.cpp | 182 outResult->appendFormat("crop=[%d,%d,%d,%d] ", current->mCrop.left, current->mCrop.top, in dumpState() 183 current->mCrop.right, current->mCrop.bottom); in dumpState()
|
D | StreamSplitter.cpp | 147 bufferItem.mDataSpace, bufferItem.mCrop, in onFrameAvailable()
|
D | BLASTBufferQueue.cpp | 695 return GLConsumer::scaleDownCrop(item.mCrop, mSize.width, mSize.height); in computeCrop() 697 return item.mCrop; in computeCrop()
|
D | Surface.cpp | 83 mCrop(Rect::EMPTY_RECT), in Surface() 983 mCrop.intersect(Rect(buffer->width, buffer->height), &crop); in getQueueBufferInputLocked() 1929 mCrop.clear(); in disconnect() 2042 mCrop = realRect; in setCrop()
|
/frameworks/base/libs/hostgraphics/gui/ |
D | BufferItem.h | 46 Rect mCrop; variable
|
/frameworks/av/services/camera/libcameraservice/device3/ |
D | Camera3StreamBufferListener.h | 34 Rect mCrop; member
|
/frameworks/base/media/jni/ |
D | android_media_Utils.cpp | 617 status_t res = lockImageFromBuffer(bufferItem->mGraphicBuffer, inUsage, bufferItem->mCrop, in lockImageFromBuffer() 624 outputImage->crop = bufferItem->mCrop; in lockImageFromBuffer() 637 if (!buffer->mCrop.isEmpty()) { in getBufferWidth() 638 return buffer->mCrop.getWidth(); in getBufferWidth() 648 if (!buffer->mCrop.isEmpty()) { in getBufferHeight() 649 return buffer->mCrop.getHeight(); in getBufferHeight()
|
D | android_media_ImageReader.cpp | 571 Point lt = buffer->mCrop.leftTop(); in ImageReader_imageSetup() 742 image->crop = buffer->mCrop; in Image_getLockedImage()
|
/frameworks/native/libs/gui/include/gui/ |
D | BufferItem.h | 66 Rect mCrop; variable
|
D | Surface.h | 507 Rect mCrop; variable
|
/frameworks/libs/systemui/iconloaderlib/src/com/android/launcher3/icons/ |
D | BaseIconFactory.java | 597 private final AdaptiveIconDrawable mCrop; field in BaseIconFactory.ClippedMonoDrawable 601 mCrop = new AdaptiveIconDrawable(new ColorDrawable(Color.BLACK), null); in ClippedMonoDrawable() 606 mCrop.setBounds(getBounds()); in draw() 608 canvas.clipPath(mCrop.getIconMask()); in draw()
|
/frameworks/av/services/camera/libcameraservice/gui/ |
D | RingBufferConsumer.h | 86 Rect mCrop; member
|
D | RingBufferConsumer.cpp | 82 cur.mCrop = item.mCrop; in pinSelectedBuffer()
|
/frameworks/av/media/ndk/ |
D | NdkImageReader.cpp | 455 Point lt = buffer->mCrop.leftTop(); in acquireImageLocked() 599 if (!buffer->mCrop.isEmpty()) { in getBufferWidth() 600 return buffer->mCrop.getWidth(); in getBufferWidth() 610 if (!buffer->mCrop.isEmpty()) { in getBufferHeight() 611 return buffer->mCrop.getHeight(); in getBufferHeight()
|
/frameworks/native/libs/nativedisplay/surfacetexture/ |
D | ImageConsumer.cpp | 114 st.mCurrentCrop = item.mCrop; in dequeueBuffer()
|
D | EGLConsumer.cpp | 310 st.mCurrentCrop = item.mCrop; in updateAndReleaseLocked()
|
/frameworks/av/media/libstagefright/ |
D | FrameCaptureLayer.cpp | 110 mBufferItem.mCrop, mBufferItem.mTransform, useFiltering); in getLayerSettings()
|
D | MediaSync.cpp | 664 bufferItem.mCrop, in renderOneBufferItem_l()
|