/frameworks/native/include/gui/ |
H A D | CpuConsumer.h | 53 Rect crop; member in struct:android::CpuConsumer::LockedBuffer 78 crop(Rect::EMPTY_RECT),
|
H A D | IGraphicBufferProducer.h | 299 // * crop rect is out of bounds of the buffer dimensions 308 // crop - a crop rectangle that's used as a hint to the consumer 322 dataSpace(_dataSpace), crop(_crop), scalingMode(_scalingMode), 335 *outCrop = crop; 361 Rect crop; member in struct:android::IGraphicBufferProducer::QueueBufferInput
|
H A D | BufferQueueCore.h | 320 : crop(_crop), 326 Rect crop; member in struct:android::BufferQueueCore::SharedBufferCache
|
/frameworks/native/libs/gui/include/gui/ |
H A D | CpuConsumer.h | 53 Rect crop; member in struct:android::CpuConsumer::LockedBuffer 78 crop(Rect::EMPTY_RECT),
|
H A D | IGraphicBufferProducer.h | 299 // * crop rect is out of bounds of the buffer dimensions 308 // crop - a crop rectangle that's used as a hint to the consumer 322 dataSpace(_dataSpace), crop(_crop), scalingMode(_scalingMode), 335 *outCrop = crop; 361 Rect crop; member in struct:android::IGraphicBufferProducer::QueueBufferInput
|
H A D | BufferQueueCore.h | 320 : crop(_crop), 326 Rect crop; member in struct:android::BufferQueueCore::SharedBufferCache
|
/frameworks/native/cmds/surfacereplayer/replayer/trace_creator/ |
H A D | trace_creator.py | 119 change.crop.rectangle.left, change.crop.rectangle.top, \ 120 change.crop.rectangle.right, change.crop.rectangle.bottom = crop() 216 def crop(): function
|
/frameworks/av/media/libstagefright/codecs/on2/h264dec/ |
H A D | SoftAVC.cpp | 226 const CropParams& crop = decInfo.cropParams; local 227 if (mCropLeft == crop.cropLeftOffset && 228 mCropTop == crop.cropTopOffset && 229 mCropWidth == crop.cropOutWidth && 230 mCropHeight == crop.cropOutHeight) { 234 mCropLeft = crop.cropLeftOffset; 235 mCropTop = crop.cropTopOffset; 236 mCropWidth = crop.cropOutWidth; 237 mCropHeight = crop.cropOutHeight;
|
/frameworks/av/media/libstagefright/colorconversion/ |
H A D | SoftwareRenderer.cpp | 73 "crop", &cropLeftNew, &cropTopNew, &cropRightNew, &cropBottomNew)) { 172 android_native_rect_t crop; local 173 crop.left = mCropLeft; 174 crop.top = mCropTop; 175 crop.right = mCropRight + 1; 176 crop.bottom = mCropBottom + 1; 177 ALOGV("setting crop: [%d, %d, %d, %d] for size [%zu, %zu]", 178 crop.left, crop.top, crop [all...] |
/frameworks/base/services/core/java/com/android/server/wm/ |
H A D | RemoteSurfaceTrace.java | 86 public void setWindowCrop(Rect crop) { argument 87 writeRectEvent("Crop", crop); 88 super.setWindowCrop(crop); 92 public void setFinalCrop(Rect crop) { argument 93 writeRectEvent("FinalCrop", crop); 94 super.setFinalCrop(crop);
|
H A D | SurfaceControlWithBackground.java | 57 // SurfaceFlinger doesn't support crop rectangles where width or height is non-positive. 58 // If we just set an empty crop it will behave as if there is no crop at all. 143 public void setWindowCrop(Rect crop) { argument 144 super.setWindowCrop(crop); 149 calculateBgCrop(crop); 156 public void setFinalCrop(Rect crop) { argument 157 super.setFinalCrop(crop); 167 * Compute background crop based on current animation progress for main surface control and 170 private void calculateBgCrop(Rect crop) { argument [all...] |
H A D | TaskSnapshotSurface.java | 314 final Rect crop = calculateSnapshotCrop(); 315 final Rect frame = calculateSnapshotFrame(crop); 321 mChildSurfaceControl.setWindowCrop(crop); 340 * Calculates the snapshot crop in snapshot coordinate space. 342 * @return crop rect in snapshot coordinate space. 360 * Calculates the snapshot frame in window coordinate space from crop. 362 * @param crop rect that is in snapshot coordinate space. 365 Rect calculateSnapshotFrame(Rect crop) { argument 366 final Rect frame = new Rect(crop); 373 frame.offsetTo((int) (-crop [all...] |
H A D | WindowSurfaceController.java | 72 // Surface flinger doesn't support crop rectangles where width or height is non-positive. 207 Slog.w(TAG, "Error setting crop surface of " + this 208 + " crop=" + clipRect.toShortString(), e); 210 mAnimator.reclaimSomeSurfaceMemory("crop", true); 222 Slog.w(TAG, "Error setting clearing crop of " + this, e); 224 mAnimator.reclaimSomeSurfaceMemory("crop", true); 661 public void setWindowCrop(Rect crop) { argument 662 if (crop != null) { 663 if (!crop.equals(mWindowCrop)) { 665 + crop 674 setFinalCrop(Rect crop) argument [all...] |
/frameworks/native/include/private/gui/ |
H A D | LayerState.h | 69 reserved(0), crop(Rect::INVALID_RECT), 99 Rect crop; member in struct:android::layer_state_t
|
/frameworks/native/libs/gui/ |
H A D | SurfaceControl.cpp | 163 status_t SurfaceControl::setCrop(const Rect& crop) { argument 166 return mClient->setCrop(mHandle, crop); 168 status_t SurfaceControl::setFinalCrop(const Rect& crop) { argument 171 return mClient->setFinalCrop(mHandle, crop);
|
H A D | GLConsumer.cpp | 149 static bool isEglImageCroppable(const Rect& crop) { 150 return hasEglAndroidImageCrop() && (crop.left == 0 && crop.top == 0); 858 // crop rectangle we may need to shrink it by 2 texels in each 861 // are subsampled we may need to shrink the crop region by a whole 896 float crop[16] = { local 903 mtxMul(mtxBeforeFlipV, crop, xform); 965 // The crop is too wide 972 // The crop is too tall 981 GLC_LOGV("getCurrentCrop final crop [ 1238 createImage(EGLDisplay dpy, const sp<GraphicBuffer>& graphicBuffer, const Rect& crop) argument [all...] |
/frameworks/native/libs/gui/include/private/gui/ |
H A D | LayerState.h | 69 reserved(0), crop(Rect::INVALID_RECT), 99 Rect crop; member in struct:android::layer_state_t
|
/frameworks/native/libs/gui/tests/ |
H A D | BufferQueue_test.cpp | 79 Rect crop; local 84 input.deflate(×tamp, &isAutoTimestamp, &dataSpace, &crop, 89 ASSERT_EQ(crop, item.mCrop);
|
H A D | SurfaceTextureClient_test.cpp | 512 Rect crop = mST->getCurrentCrop(); local 513 EXPECT_EQ(0, crop.left); 514 EXPECT_EQ(0, crop.top); 515 EXPECT_EQ(4, crop.right); 516 EXPECT_EQ(4, crop.bottom); 641 // Query to see if the image crop extension exists 655 android_native_rect_t crop; 656 crop.left = 0; 657 crop.top = 0; 658 crop [all...] |
H A D | IGraphicBufferProducer_test.cpp | 128 crop = QUEUE_BUFFER_INPUT_RECT; 139 crop, 160 QueueBufferInputBuilder& setCrop(Rect crop) { argument 161 this->crop = crop; 184 Rect crop; member in struct:android::IGraphicBufferProducerTest::QueueBufferInputBuilder
|
/frameworks/native/libs/vr/libbufferhubqueue/tests/ |
H A D | buffer_hub_queue_producer-test.cpp | 55 QueueBufferInputBuilder& setCrop(Rect crop) { argument 56 this->mCrop = crop; 342 // Test crop rect is out of bounds of the buffer dimensions
|
/frameworks/native/opengl/tests/gl_yuvtex/ |
H A D | gl_yuvtex.cpp | 151 GLint crop[4] = { 0, 0, yuvTexWidth, yuvTexHeight }; local 152 glTexParameteriv(GL_TEXTURE_EXTERNAL_OES, GL_TEXTURE_CROP_RECT_OES, crop);
|
/frameworks/native/services/vr/hardware_composer/impl/ |
H A D | vr_hwc.h | 63 Rectf crop; member in struct:android::dvr::ComposerView::ComposerLayer 279 const hwc_frect_t& crop) override;
|
/frameworks/native/services/surfaceflinger/DisplayHardware/ |
H A D | VirtualDisplaySurface.cpp | 520 Rect crop; local 523 input.deflate(×tamp, &isAutoTimestamp, &dataSpace, &crop,
|
/frameworks/base/core/java/android/view/ |
H A D | SurfaceView.java | 1136 public void setWindowCrop(Rect crop) { argument 1137 super.setWindowCrop(crop); 1138 mBackgroundControl.setWindowCrop(crop); 1142 public void setFinalCrop(Rect crop) { argument 1143 super.setFinalCrop(crop); 1144 mBackgroundControl.setFinalCrop(crop);
|