Searched refs:setCrop (Results 1 - 22 of 22) sorted by relevance

/frameworks/native/cmds/surfacereplayer/replayer/
H A DReplayer.h93 void setCrop(SurfaceComposerClient::Transaction& t,
H A DReplayer.cpp386 setCrop(transaction, change.id(), change.crop());
484 void Replayer::setCrop(SurfaceComposerClient::Transaction& t,
492 t.setCrop(mLayers[id], r);
/frameworks/native/services/surfaceflinger/tests/
H A DTransaction_test.cpp1191 Transaction().setCrop(layer, crop).apply();
1204 Transaction().setCrop(layer, Rect(8, 8, 8, 8)).apply();
1210 Transaction().setCrop(layer, Rect(8, 8, 0, 0)).apply();
1220 Transaction().setCrop(layer, Rect(-128, -64, 128, 64)).apply();
1233 Transaction().setPosition(layer, position.x, position.y).setCrop(layer, crop).apply();
1247 .setCrop(layer, Rect(8, 8, 24, 24))
1259 // setCrop is applied immediately by default, with or without resize pending
1260 Transaction().setCrop(layer, Rect(8, 8, 24, 24)).setSize(layer, 16, 16).apply();
1282 // request setCrop to be applied with the next resize
1283 Transaction().setCrop(laye
[all...]
H A DSurfaceInterceptor_test.cpp294 t.setCrop(mBGSurfaceControl, CROP_UPDATE);
/frameworks/native/libs/gui/tests/
H A DIGraphicBufferProducer_test.cpp187 QueueBufferInputBuilder& setCrop(Rect crop) { function in struct:android::IGraphicBufferProducerTest::QueueBufferInputBuilder
493 QueueBufferInputBuilder().setCrop(Rect(DEFAULT_WIDTH + 1, DEFAULT_HEIGHT + 1))
/frameworks/native/libs/vr/libbufferhubqueue/tests/
H A Dbuffer_hub_queue_producer-test.cpp57 QueueBufferInputBuilder& setCrop(Rect crop) { function in struct:android::dvr::__anon1698::QueueBufferInputBuilder
360 .setCrop(Rect(kDefaultWidth + 1, kDefaultHeight + 1))
/frameworks/layoutlib/bridge/src/android/graphics/
H A DImageDecoder.java575 public ImageDecoder setCrop(@Nullable Rect subset) { method in class:ImageDecoder
/frameworks/native/include/gui/
H A DSurface.h252 virtual int setCrop(Rect const* rect);
353 // that gets queued. It is set by calling setCrop.
H A DSurfaceComposerClient.h203 Transaction& setCrop(const sp<SurfaceControl>& sc, const Rect& crop);
/frameworks/native/libs/gui/include/gui/
H A DSurface.h252 virtual int setCrop(Rect const* rect);
353 // that gets queued. It is set by calling setCrop.
H A DSurfaceComposerClient.h203 Transaction& setCrop(const sp<SurfaceControl>& sc, const Rect& crop);
/frameworks/native/services/surfaceflinger/DisplayHardware/
H A DHWComposer_hwc1.h173 virtual void setCrop(const FloatRect& crop) = 0;
/frameworks/native/services/surfaceflinger/tests/fakehwc/
H A DSFFakeHwc_test.cpp627 ts.setCrop(mFGSurfaceControl, cropRect);
984 ts.setCrop(mFGSurfaceControl, Rect(0, 0, 5, 5));
1238 ts.setCrop(mFGSurfaceControl, Rect(0, 0, 64, 64));
1283 ts.setCrop(mFGSurfaceControl, Rect(0, 0, 63, 63));
1297 ts.setCrop(mFGSurfaceControl, Rect(0, 0, 63, 63));
/frameworks/av/services/camera/libcameraservice/device1/
H A DCameraHardwareInterface.h413 setCrop(int32_t left, int32_t top, int32_t right, int32_t bottom) override;
H A DCameraHardwareInterface.cpp359 CameraHardwareInterface::setCrop(int32_t left, int32_t top, int32_t right, int32_t bottom) { function in class:android::CameraHardwareInterface
/frameworks/native/services/surfaceflinger/
H A DLayer.h273 bool setCrop(const Rect& crop, bool immediate);
H A DLayer.cpp1275 bool Layer::setCrop(const Rect& crop, bool immediate) { function in class:android::Layer
H A DSurfaceFlinger.cpp3423 if (layer->setCrop(s.crop, !geometryAppliesWithResize))
/frameworks/native/libs/gui/
H A DSurface.cpp1029 return setCrop(reinterpret_cast<Rect const*>(rect));
1343 int Surface::setCrop(Rect const* rect) function in class:android::Surface
1354 ALOGV("Surface::setCrop rect=[%d %d %d %d]",
H A DSurfaceComposerClient.cpp347 SurfaceComposerClient::Transaction& SurfaceComposerClient::Transaction::setCrop( function in class:android::SurfaceComposerClient::Transaction
/frameworks/base/graphics/java/android/graphics/
H A DImageDecoder.java1236 * <p>If combined with {@link #setTargetSize} and/or {@link #setCrop},
1299 public void setCrop(@Nullable Rect subset) { method in class:ImageDecoder
/frameworks/base/core/jni/
H A Dandroid_view_SurfaceControl.cpp449 transaction->setCrop(ctrl, crop);

Completed in 294 milliseconds