Searched defs:crop (Results 1 - 25 of 41) sorted by relevance

12

/frameworks/native/opengl/tests/finish/
H A Dfinish.cpp105 GLint crop[4] = { 0, 512, 512, -512 }; local
106 glTexParameteriv(GL_TEXTURE_2D, GL_TEXTURE_CROP_RECT_OES, crop);
119 GLint crop[4] = { 0, 1, 1, -1 }; local
120 glTexParameteriv(GL_TEXTURE_2D, GL_TEXTURE_CROP_RECT_OES, crop);
133 GLint crop[4] = { 0, 512, 512, -512 }; local
134 glTexParameteriv(GL_TEXTURE_2D, GL_TEXTURE_CROP_RECT_OES, crop);
148 GLint crop[4] = { 0, 1, 1, -1 }; local
149 glTexParameteriv(GL_TEXTURE_2D, GL_TEXTURE_CROP_RECT_OES, crop);
165 GLint crop[4] = { 0, 512, 512, -512 }; local
166 glTexParameteriv(GL_TEXTURE_2D, GL_TEXTURE_CROP_RECT_OES, crop);
185 GLint crop[4] = { 0, 1, 1, -1 }; local
198 GLint crop[4] = { 0, 1, 1, -1 }; local
213 GLint crop[4] = { 0, 1, 1, -1 }; local
[all...]
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/system/
H A DTransactionCompat.java81 public TransactionCompat setWindowCrop(SurfaceControlCompat surfaceControl, Rect crop) { argument
82 mTransaction.setWindowCrop(surfaceControl.mSurfaceControl, crop);
86 public TransactionCompat setFinalCrop(SurfaceControlCompat surfaceControl, Rect crop) { argument
87 mTransaction.setFinalCrop(surfaceControl.mSurfaceControl, crop);
/frameworks/native/cmds/surfacereplayer/replayer/trace_creator/
H A Dtrace_creator.py119 change.crop.rectangle.left, change.crop.rectangle.top, \
120 change.crop.rectangle.right, change.crop.rectangle.bottom = crop()
216 def crop(): function
/frameworks/native/include/gui/
H A DCpuConsumer.h53 Rect crop; member in struct:android::CpuConsumer::LockedBuffer
78 crop(Rect::EMPTY_RECT),
H A DIGraphicBufferProducer.h308 // * crop rect is out of bounds of the buffer dimensions
317 // crop - a crop rectangle that's used as a hint to the consumer
331 dataSpace(_dataSpace), crop(_crop), scalingMode(_scalingMode),
344 *outCrop = crop;
373 Rect crop; member in struct:android::IGraphicBufferProducer::QueueBufferInput
H A DBufferQueueCore.h320 : crop(_crop),
326 Rect crop; member in struct:android::BufferQueueCore::SharedBufferCache
H A DLayerState.h73 reserved(0), crop(Rect::INVALID_RECT),
104 Rect crop; member in struct:android::layer_state_t
/frameworks/native/libs/gui/include/gui/
H A DCpuConsumer.h53 Rect crop; member in struct:android::CpuConsumer::LockedBuffer
78 crop(Rect::EMPTY_RECT),
H A DIGraphicBufferProducer.h308 // * crop rect is out of bounds of the buffer dimensions
317 // crop - a crop rectangle that's used as a hint to the consumer
331 dataSpace(_dataSpace), crop(_crop), scalingMode(_scalingMode),
344 *outCrop = crop;
373 Rect crop; member in struct:android::IGraphicBufferProducer::QueueBufferInput
H A DBufferQueueCore.h320 : crop(_crop),
326 Rect crop; member in struct:android::BufferQueueCore::SharedBufferCache
H A DLayerState.h73 reserved(0), crop(Rect::INVALID_RECT),
104 Rect crop; member in struct:android::layer_state_t
/frameworks/av/media/libstagefright/colorconversion/
H A DSoftwareRenderer.cpp76 "crop", &cropLeftNew, &cropTopNew, &cropRightNew, &cropBottomNew)) {
213 android_native_rect_t crop; local
214 crop.left = mCropLeft;
215 crop.top = mCropTop;
216 crop.right = mCropRight + 1;
217 crop.bottom = mCropBottom + 1;
218 ALOGV("setting crop: [%d, %d, %d, %d] for size [%zu, %zu]",
219 crop.left, crop.top, crop
[all...]
/frameworks/base/core/java/android/app/
H A DUiAutomationConnection.java157 public Bitmap takeScreenshot(Rect crop, int rotation) { argument
165 int width = crop.width();
166 int height = crop.height();
167 return SurfaceControl.screenshot(crop, width, height, rotation);
/frameworks/native/include/layerproto/
H A DLayerProtoParser.h94 LayerProtoParser::Rect crop; member in class:android::surfaceflinger::LayerProtoParser::Layer
/frameworks/native/libs/gui/tests/
H A DBufferQueue_test.cpp79 Rect crop; local
84 input.deflate(&timestamp, &isAutoTimestamp, &dataSpace, &crop,
89 ASSERT_EQ(crop, item.mCrop);
H A DSurfaceTextureClient_test.cpp512 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 DIGraphicBufferProducer_test.cpp155 crop = QUEUE_BUFFER_INPUT_RECT;
166 crop,
187 QueueBufferInputBuilder& setCrop(Rect crop) { argument
188 this->crop = crop;
211 Rect crop; member in struct:android::IGraphicBufferProducerTest::QueueBufferInputBuilder
/frameworks/native/libs/vr/libbufferhubqueue/tests/
H A Dbuffer_hub_queue_producer-test.cpp57 QueueBufferInputBuilder& setCrop(Rect crop) { argument
58 this->mCrop = crop;
348 // Test crop rect is out of bounds of the buffer dimensions
/frameworks/native/opengl/tests/gl_yuvtex/
H A Dgl_yuvtex.cpp151 GLint crop[4] = { 0, 0, yuvTexWidth, yuvTexHeight }; local
152 glTexParameteriv(GL_TEXTURE_EXTERNAL_OES, GL_TEXTURE_CROP_RECT_OES, crop);
/frameworks/native/services/surfaceflinger/layerproto/include/layerproto/
H A DLayerProtoParser.h94 LayerProtoParser::Rect crop; member in class:android::surfaceflinger::LayerProtoParser::Layer
/frameworks/native/services/vr/hardware_composer/impl/
H A Dvr_hwc.h63 Rectf crop; member in struct:android::dvr::ComposerView::ComposerLayer
284 const hwc_frect_t& crop) override;
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/
H A DGlobalScreenshot.java579 Rect crop) {
581 int width = crop.width();
582 int height = crop.height();
585 mScreenBitmap = SurfaceControl.screenshot(crop, width, height, rot);
578 takeScreenshot(Runnable finisher, boolean statusBarVisible, boolean navBarVisible, Rect crop) argument
/frameworks/base/services/core/java/com/android/server/wm/
H A DTaskSnapshotSurface.java319 final Rect crop = calculateSnapshotCrop();
320 final Rect frame = calculateSnapshotFrame(crop);
326 mChildSurfaceControl.setWindowCrop(crop);
345 * Calculates the snapshot crop in snapshot coordinate space.
347 * @return crop rect in snapshot coordinate space.
366 * Calculates the snapshot frame in window coordinate space from crop.
368 * @param crop rect that is in snapshot coordinate space.
371 Rect calculateSnapshotFrame(Rect crop) { argument
372 final Rect frame = new Rect(crop);
379 frame.offsetTo((int) (-crop
[all...]
/frameworks/native/services/surfaceflinger/DisplayHardware/
H A DVirtualDisplaySurface.cpp490 Rect crop; local
493 input.deflate(&timestamp, &isAutoTimestamp, &dataSpace, &crop,
/frameworks/base/core/java/android/view/
H A DSurfaceView.java1146 public void setWindowCrop(Rect crop) { argument
1147 super.setWindowCrop(crop);
1148 mBackgroundControl.setWindowCrop(crop);
1152 public void setFinalCrop(Rect crop) { argument
1153 super.setFinalCrop(crop);
1154 mBackgroundControl.setFinalCrop(crop);

Completed in 379 milliseconds

12