/frameworks/native/services/surfaceflinger/ |
D | Layer.cpp | 95 mCurrentState.active.crop.makeInvalid(); in Layer() 254 Rect crop; in getContentCrop() local 257 crop = mCurrentCrop; in getContentCrop() 260 crop = mActiveBuffer->getBounds(); in getContentCrop() 263 crop.makeInvalid(); in getContentCrop() 265 return crop; in getContentCrop() 275 if (!s.active.crop.isEmpty()) { in computeBounds() 276 win.intersect(s.active.crop, &win); in computeBounds() 292 Rect crop(getContentCrop()); in computeCrop() local 304 Rect activeCrop(s.transform.transform(s.active.crop)); in computeCrop() [all …]
|
D | Layer.h | 87 Rect crop; member 89 return (w == rhs.w && h == rhs.h && crop == rhs.crop); 146 bool setCrop(const Rect& crop);
|
/frameworks/native/opengl/tests/finish/ |
D | finish.cpp | 105 GLint crop[4] = { 0, 512, 512, -512 }; in main() local 106 glTexParameteriv(GL_TEXTURE_2D, GL_TEXTURE_CROP_RECT_OES, crop); in main() 119 GLint crop[4] = { 0, 1, 1, -1 }; in main() local 120 glTexParameteriv(GL_TEXTURE_2D, GL_TEXTURE_CROP_RECT_OES, crop); in main() 133 GLint crop[4] = { 0, 512, 512, -512 }; in main() local 134 glTexParameteriv(GL_TEXTURE_2D, GL_TEXTURE_CROP_RECT_OES, crop); in main() 148 GLint crop[4] = { 0, 1, 1, -1 }; in main() local 149 glTexParameteriv(GL_TEXTURE_2D, GL_TEXTURE_CROP_RECT_OES, crop); in main() 165 GLint crop[4] = { 0, 512, 512, -512 }; in main() local 166 glTexParameteriv(GL_TEXTURE_2D, GL_TEXTURE_CROP_RECT_OES, crop); in main() [all …]
|
/frameworks/native/include/gui/ |
D | IGraphicBufferProducer.h | 106 const Rect& crop, int scalingMode, uint32_t transform, in QueueBufferInput() 108 : timestamp(timestamp), crop(crop), scalingMode(scalingMode), in QueueBufferInput() 114 *outCrop = crop; in deflate() 130 Rect crop; member
|
D | CpuConsumer.h | 51 Rect crop; member
|
D | SurfaceControl.h | 69 status_t setCrop(const Rect& crop);
|
D | SurfaceComposerClient.h | 121 status_t setCrop(const sp<IBinder>& id, const Rect& crop);
|
/frameworks/native/libs/gui/ |
D | IGraphicBufferProducer.cpp | 292 + sizeof(crop) in getFlattenedSize() 309 memcpy(p, &crop, sizeof(crop)); p += sizeof(crop); in flatten() 322 memcpy(&crop, p, sizeof(crop)); p += sizeof(crop); in unflatten()
|
D | LayerState.cpp | 40 output.write(crop); in write() 60 input.read(crop); in read()
|
D | BufferQueue.cpp | 481 Rect crop; in queueBuffer() local 487 input.deflate(×tamp, &crop, &scalingMode, &transform, &fence); in queueBuffer() 496 buf, timestamp, crop.left, crop.top, crop.right, crop.bottom, in queueBuffer() 525 crop.intersect(bufferRect, &croppedCrop); in queueBuffer() 526 if (croppedCrop != crop) { in queueBuffer() 558 mSlots[buf].mCrop = crop; in queueBuffer()
|
D | SurfaceControl.cpp | 153 status_t SurfaceControl::setCrop(const Rect& crop) { in setCrop() argument 157 return client->setCrop(mHandle, crop); in setCrop()
|
D | SurfaceComposerClient.cpp | 157 const Rect& crop); 366 const sp<IBinder>& id, const Rect& crop) { in setCrop() argument 372 s->crop = crop; in setCrop() 524 status_t SurfaceComposerClient::setCrop(const sp<IBinder>& id, const Rect& crop) { in setCrop() argument 525 return getComposer().setCrop(this, id, crop); in setCrop()
|
D | Surface.cpp | 275 Rect crop; in queueBuffer() local 276 mCrop.intersect(Rect(buffer->width, buffer->height), &crop); in queueBuffer() 280 IGraphicBufferProducer::QueueBufferInput input(timestamp, crop, mScalingMode, in queueBuffer()
|
D | CpuConsumer.cpp | 143 nativeBuffer->crop = b.mCrop; in lockNextBuffer()
|
/frameworks/base/core/java/android/view/ |
D | SurfaceControl.java | 369 public void setWindowCrop(Rect crop) { in setWindowCrop() argument 371 if (crop != null) { in setWindowCrop() 373 crop.left, crop.top, crop.right, crop.bottom); in setWindowCrop()
|
/frameworks/av/media/libstagefright/codecs/on2/h264dec/ |
D | SoftAVC.cpp | 423 bool SoftAVC::handleCropRectEvent(const CropParams *crop) { in handleCropRectEvent() argument 424 if (mCropLeft != crop->cropLeftOffset || in handleCropRectEvent() 425 mCropTop != crop->cropTopOffset || in handleCropRectEvent() 426 mCropWidth != crop->cropOutWidth || in handleCropRectEvent() 427 mCropHeight != crop->cropOutHeight) { in handleCropRectEvent() 428 mCropLeft = crop->cropLeftOffset; in handleCropRectEvent() 429 mCropTop = crop->cropTopOffset; in handleCropRectEvent() 430 mCropWidth = crop->cropOutWidth; in handleCropRectEvent() 431 mCropHeight = crop->cropOutHeight; in handleCropRectEvent()
|
D | SoftAVC.h | 99 bool handleCropRectEvent(const CropParams* crop);
|
/frameworks/native/include/private/gui/ |
D | LayerState.h | 60 crop.makeInvalid(); in layer_state_t() 85 Rect crop; member
|
/frameworks/native/opengl/tests/textures/ |
D | textures.cpp | 65 GLint crop[4] = { 0, 4, 4, -4 }; in main() local 67 glTexParameteriv(GL_TEXTURE_2D, GL_TEXTURE_CROP_RECT_OES, crop); in main()
|
/frameworks/av/services/camera/libcameraservice/ |
D | CameraHardwareInterface.h | 623 android_native_rect_t crop; in __set_crop() local 624 crop.left = left; in __set_crop() 625 crop.top = top; in __set_crop() 626 crop.right = right; in __set_crop() 627 crop.bottom = bottom; in __set_crop() 628 return native_window_set_crop(a, &crop); in __set_crop()
|
/frameworks/native/libs/gui/tests/ |
D | SurfaceTextureClient_test.cpp | 486 Rect crop = mST->getCurrentCrop(); in TEST_F() local 487 EXPECT_EQ(0, crop.left); in TEST_F() 488 EXPECT_EQ(0, crop.top); in TEST_F() 489 EXPECT_EQ(4, crop.right); in TEST_F() 490 EXPECT_EQ(4, crop.bottom); in TEST_F() 615 android_native_rect_t crop; in TEST_F() local 616 crop.left = 0; in TEST_F() 617 crop.top = 0; in TEST_F() 618 crop.right = 5; in TEST_F() 619 crop.bottom = 5; in TEST_F() [all …]
|
/frameworks/native/opengl/tests/filter/ |
D | filter.cpp | 76 GLint crop[4] = { 0, 4, 4, -4 }; in main() local 78 glTexParameteriv(GL_TEXTURE_2D, GL_TEXTURE_CROP_RECT_OES, crop); in main()
|
/frameworks/base/cmds/bootanimation/ |
D | BootAnimation.cpp | 119 GLint crop[4] = { 0, h, w, -h }; in initTexture() local 147 glTexParameteriv(GL_TEXTURE_2D, GL_TEXTURE_CROP_RECT_OES, crop); in initTexture() 178 GLint crop[4] = { 0, h, w, -h }; in initTexture() local 212 glTexParameteriv(GL_TEXTURE_2D, GL_TEXTURE_CROP_RECT_OES, crop); in initTexture()
|
/frameworks/native/opengl/tests/gl_yuvtex/ |
D | gl_yuvtex.cpp | 151 GLint crop[4] = { 0, 0, yuvTexWidth, yuvTexHeight }; in setupYuvTexSurface() local 152 glTexParameteriv(GL_TEXTURE_EXTERNAL_OES, GL_TEXTURE_CROP_RECT_OES, crop); in setupYuvTexSurface()
|
/frameworks/base/core/jni/ |
D | android_view_SurfaceControl.cpp | 310 Rect crop(l, t, r, b); in nativeSetWindowCrop() local 311 status_t err = ctrl->setCrop(crop); in nativeSetWindowCrop()
|