/frameworks/native/opengl/tests/finish/ |
H A D | finish.cpp | 105 GLint crop[4] = { 0, 512, 512, -512 }; 106 glTexParameteriv(GL_TEXTURE_2D, GL_TEXTURE_CROP_RECT_OES, crop); 119 GLint crop[4] = { 0, 1, 1, -1 }; 120 glTexParameteriv(GL_TEXTURE_2D, GL_TEXTURE_CROP_RECT_OES, crop); 133 GLint crop[4] = { 0, 512, 512, -512 }; 134 glTexParameteriv(GL_TEXTURE_2D, GL_TEXTURE_CROP_RECT_OES, crop); 148 GLint crop[4] = { 0, 1, 1, -1 }; 149 glTexParameteriv(GL_TEXTURE_2D, GL_TEXTURE_CROP_RECT_OES, crop); 165 GLint crop[4] = { 0, 512, 512, -512 }; 166 glTexParameteriv(GL_TEXTURE_2D, GL_TEXTURE_CROP_RECT_OES, crop); [all...] |
/frameworks/native/services/surfaceflinger/ |
H A D | Layer.cpp | 95 mCurrentState.active.crop.makeInvalid(); 252 // this is the crop rectangle that applies to the buffer 254 Rect crop; local 256 // if the buffer crop is defined, we use that 257 crop = mCurrentCrop; 260 crop = mActiveBuffer->getBounds(); 262 // if we don't have a buffer yet, we use an empty/invalid crop 263 crop.makeInvalid(); 265 return crop; 275 if (!s.active.crop 897 setCrop(const Rect& crop) argument [all...] |
H A D | Layer.h | 87 Rect crop; member in struct:android::Layer::Geometry 89 return (w == rhs.w && h == rhs.h && crop == rhs.crop); 146 bool setCrop(const Rect& crop);
|
/frameworks/native/include/gui/ |
H A D | IGraphicBufferProducer.h | 106 const Rect& crop, int scalingMode, uint32_t transform, 108 : timestamp(timestamp), crop(crop), scalingMode(scalingMode), 114 *outCrop = crop; 130 Rect crop; member in struct:android::IGraphicBufferProducer::QueueBufferInput 105 QueueBufferInput(int64_t timestamp, const Rect& crop, int scalingMode, uint32_t transform, sp<Fence> fence) argument
|
H A D | CpuConsumer.h | 51 Rect crop; member in struct:android::CpuConsumer::LockedBuffer
|
H A D | SurfaceControl.h | 69 status_t setCrop(const Rect& crop);
|
H A D | SurfaceComposerClient.h | 121 status_t setCrop(const sp<IBinder>& id, const Rect& crop);
|
/frameworks/native/include/private/gui/ |
H A D | LayerState.h | 60 crop.makeInvalid(); 85 Rect crop; member in struct:android::layer_state_t
|
/frameworks/base/core/java/android/view/ |
H A D | SurfaceControl.java | 369 public void setWindowCrop(Rect crop) { argument 371 if (crop != null) { 373 crop.left, crop.top, crop.right, crop.bottom);
|
/frameworks/native/libs/gui/ |
H A D | LayerState.cpp | 40 output.write(crop); 60 input.read(crop);
|
H A D | IGraphicBufferProducer.cpp | 292 + sizeof(crop) 309 memcpy(p, &crop, sizeof(crop)); p += sizeof(crop); 322 memcpy(&crop, p, sizeof(crop)); p += sizeof(crop);
|
H A D | BufferQueue.cpp | 481 Rect crop; local 487 input.deflate(×tamp, &crop, &scalingMode, &transform, &fence); 494 ST_LOGV("queueBuffer: slot=%d time=%#llx crop=[%d,%d,%d,%d] tr=%#x " 496 buf, timestamp, crop.left, crop.top, crop.right, crop.bottom, 525 crop.intersect(bufferRect, &croppedCrop); 526 if (croppedCrop != crop) { 527 ST_LOGE("queueBuffer: crop rec [all...] |
H A D | SurfaceControl.cpp | 153 status_t SurfaceControl::setCrop(const Rect& crop) { argument 157 return client->setCrop(mHandle, crop);
|
H A D | SurfaceComposerClient.cpp | 157 const Rect& crop); 366 const sp<IBinder>& id, const Rect& crop) { 372 s->crop = crop; 524 status_t SurfaceComposerClient::setCrop(const sp<IBinder>& id, const Rect& crop) { argument 525 return getComposer().setCrop(this, id, crop); 365 setCrop(const sp<SurfaceComposerClient>& client, const sp<IBinder>& id, const Rect& crop) argument
|
H A D | CpuConsumer.cpp | 143 nativeBuffer->crop = b.mCrop;
|
/frameworks/av/media/libstagefright/codecs/on2/h264dec/ |
H A D | SoftAVC.h | 99 bool handleCropRectEvent(const CropParams* crop);
|
H A D | SoftAVC.cpp | 423 bool SoftAVC::handleCropRectEvent(const CropParams *crop) { argument 424 if (mCropLeft != crop->cropLeftOffset || 425 mCropTop != crop->cropTopOffset || 426 mCropWidth != crop->cropOutWidth || 427 mCropHeight != crop->cropOutHeight) { 428 mCropLeft = crop->cropLeftOffset; 429 mCropTop = crop->cropTopOffset; 430 mCropWidth = crop->cropOutWidth; 431 mCropHeight = crop->cropOutHeight;
|
/frameworks/native/opengl/tests/textures/ |
H A D | textures.cpp | 65 GLint crop[4] = { 0, 4, 4, -4 }; 67 glTexParameteriv(GL_TEXTURE_2D, GL_TEXTURE_CROP_RECT_OES, crop);
|
/frameworks/native/libs/gui/tests/ |
H A D | SurfaceTextureClient_test.cpp | 486 Rect crop = mST->getCurrentCrop(); local 487 EXPECT_EQ(0, crop.left); 488 EXPECT_EQ(0, crop.top); 489 EXPECT_EQ(4, crop.right); 490 EXPECT_EQ(4, crop.bottom); 615 android_native_rect_t crop; local 616 crop.left = 0; 617 crop.top = 0; 618 crop.right = 5; 619 crop [all...] |
/frameworks/av/services/camera/libcameraservice/ |
H A D | CameraHardwareInterface.h | 623 android_native_rect_t crop; local 624 crop.left = left; 625 crop.top = top; 626 crop.right = right; 627 crop.bottom = bottom; 628 return native_window_set_crop(a, &crop);
|
/frameworks/native/opengl/tests/filter/ |
H A D | filter.cpp | 76 GLint crop[4] = { 0, 4, 4, -4 }; 78 glTexParameteriv(GL_TEXTURE_2D, GL_TEXTURE_CROP_RECT_OES, crop);
|
/frameworks/base/cmds/bootanimation/ |
H A D | BootAnimation.cpp | 119 GLint crop[4] = { 0, h, w, -h }; local 147 glTexParameteriv(GL_TEXTURE_2D, GL_TEXTURE_CROP_RECT_OES, crop); 178 GLint crop[4] = { 0, h, w, -h }; local 212 glTexParameteriv(GL_TEXTURE_2D, GL_TEXTURE_CROP_RECT_OES, crop);
|
/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/surfaceflinger/DisplayHardware/ |
H A D | HWComposer.h | 161 virtual void setCrop(const Rect& crop) = 0;
|
/frameworks/base/core/jni/ |
H A D | android_view_SurfaceControl.cpp | 310 Rect crop(l, t, r, b); 311 status_t err = ctrl->setCrop(crop);
|