Home
last modified time | relevance | path

Searched refs:mCrop (Results 1 – 25 of 33) sorted by relevance

12

/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/scroll/
DCropView.java70 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/
DLayerRenderArea.cpp36 mCrop(crop), in LayerRenderArea()
52 if (mCrop.isEmpty()) { in getSourceCrop()
56 return mCrop; in getSourceCrop()
DLayerRenderArea.h52 const Rect mCrop; variable
/frameworks/av/media/codec2/core/include/
DC2Buffer.h1728 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/
DImageWrapper.java50 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/
DBufferItem.cpp44 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()
DCpuConsumer.cpp99 item.mCrop, &ycbcr, fenceFd); in lockBufferItem()
123 item.mCrop, &bufferPointer, fenceFd); in lockBufferItem()
142 outBuffer->crop = item.mCrop; in lockBufferItem()
DBufferQueueCore.cpp182 outResult->appendFormat("crop=[%d,%d,%d,%d] ", current->mCrop.left, current->mCrop.top, in dumpState()
183 current->mCrop.right, current->mCrop.bottom); in dumpState()
DStreamSplitter.cpp147 bufferItem.mDataSpace, bufferItem.mCrop, in onFrameAvailable()
DBLASTBufferQueue.cpp695 return GLConsumer::scaleDownCrop(item.mCrop, mSize.width, mSize.height); in computeCrop()
697 return item.mCrop; in computeCrop()
DSurface.cpp83 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/
DBufferItem.h46 Rect mCrop; variable
/frameworks/av/services/camera/libcameraservice/device3/
DCamera3StreamBufferListener.h34 Rect mCrop; member
/frameworks/base/media/jni/
Dandroid_media_Utils.cpp617 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()
Dandroid_media_ImageReader.cpp571 Point lt = buffer->mCrop.leftTop(); in ImageReader_imageSetup()
742 image->crop = buffer->mCrop; in Image_getLockedImage()
/frameworks/native/libs/gui/include/gui/
DBufferItem.h66 Rect mCrop; variable
DSurface.h507 Rect mCrop; variable
/frameworks/libs/systemui/iconloaderlib/src/com/android/launcher3/icons/
DBaseIconFactory.java597 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/
DRingBufferConsumer.h86 Rect mCrop; member
DRingBufferConsumer.cpp82 cur.mCrop = item.mCrop; in pinSelectedBuffer()
/frameworks/av/media/ndk/
DNdkImageReader.cpp455 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/
DImageConsumer.cpp114 st.mCurrentCrop = item.mCrop; in dequeueBuffer()
DEGLConsumer.cpp310 st.mCurrentCrop = item.mCrop; in updateAndReleaseLocked()
/frameworks/av/media/libstagefright/
DFrameCaptureLayer.cpp110 mBufferItem.mCrop, mBufferItem.mTransform, useFiltering); in getLayerSettings()
DMediaSync.cpp664 bufferItem.mCrop, in renderOneBufferItem_l()

12