Home
last modified time | relevance | path

Searched defs:crop (Results 1 – 25 of 73) sorted by relevance

123

/frameworks/native/opengl/tests/finish/
Dfinish.cpp105 GLint crop[4] = { 0, 512, 512, -512 }; in main() local
119 GLint crop[4] = { 0, 1, 1, -1 }; in main() local
133 GLint crop[4] = { 0, 512, 512, -512 }; in main() local
148 GLint crop[4] = { 0, 1, 1, -1 }; in main() local
165 GLint crop[4] = { 0, 512, 512, -512 }; in main() local
185 GLint crop[4] = { 0, 1, 1, -1 }; in main() local
198 GLint crop[4] = { 0, 1, 1, -1 }; in main() local
213 GLint crop[4] = { 0, 1, 1, -1 }; in main() local
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/
DScreenshotUtils.java38 public static void captureLayer(SurfaceControl sc, Rect crop, in captureLayer()
101 Rect crop, int layer) { in takeScreenshot()
117 SurfaceControl parentSc, Rect crop, int layer) { in takeScreenshot()
/frameworks/av/media/codec2/core/include/
DC2Buffer.h1726 inline constexpr _C2PlanarSectionAspect(uint32_t width, uint32_t height, const C2Rect &crop) in _C2PlanarSectionAspect()
1737 inline constexpr C2Rect crop() const { return mCrop; } in crop() function
1742 inline constexpr _C2PlanarSectionAspect childSection(const C2Rect &crop) const { in childSection()
1758 … inline constexpr _C2PlanarSectionAspect(const _C2PlanarCapacityAspect *parent, const C2Rect &crop) in _C2PlanarSectionAspect()
1762 … inline constexpr _C2PlanarSectionAspect(const _C2PlanarSectionAspect *parent, const C2Rect &crop) in _C2PlanarSectionAspect()
1785 inline constexpr C2Rect crop() const { return mCrop; } in crop() function
1790 inline void setCrop_be(const C2Rect &crop) { in setCrop_be()
1803 inline bool setCrop(const C2Rect &crop) { in setCrop()
1819 inline constexpr C2PlanarSection(const _C2PlanarCapacityAspect &parent, const C2Rect &crop) in C2PlanarSection()
1822 inline constexpr C2PlanarSection(const _C2PlanarSectionAspect &parent, const C2Rect &crop) in C2PlanarSection()
[all …]
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/wallpaper/
DWallpaperCropperTest.java244 Rect crop = new Rect(0, 0, bitmapSize.x, bitmapSize.y); in testNoParallax_noScale() local
258 Rect crop = new Rect(0, 0, bitmapSize.x, bitmapSize.y); in testNoParallax_withScale() local
274 Rect crop = new Rect(300, 1000, 900, 1500); in testNoParallax_withScaleAndCrop() local
319 Rect crop = new Rect(0, 0, bitmapSize.x, bitmapSize.y); in testGetAdjustedCrop_tooMuchParallax() local
345 Rect crop = new Rect(0, 0, bitmapSize.x, bitmapSize.y); in testGetAdjustedCrop_acceptableParallax() local
379 Rect crop = crops.get(i); in testGetAdjustedCrop_add() local
434 Rect crop = crops.get(i); in testGetAdjustedCrop_balance() local
/frameworks/base/services/core/java/com/android/server/wallpaper/
DWallpaperCropper.java124 Rect crop = new Rect(0, 0, bitmapSize.x, bitmapSize.y); in getCrop() local
256 static Rect noParallax(Rect crop, Point displaySize, Point bitmapSize, boolean rtl) { in noParallax()
284 static Rect getAdjustedCrop(Rect crop, Point bitmapSize, Point screenSize, in getAdjustedCrop()
497 Rect crop = wallpaper.mCropHints.valueAt(i); in generateCropInternal() local
607 Rect crop = defaultCrops.valueAt(i); in generateCropInternal() local
/frameworks/libs/native_bridge_support/android_api/libjnigraphics/proxy/
Dlibjnigraphics_trampolines.cc47 ARect crop{left, top, right, bottom}; in DoCustomTrampoline_AImageDecoder_setCrop() local
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/qrcode/
DQrYuvLuminanceSource.java41 public LuminanceSource crop(int left, int top, int crop_width, int crop_height) { in crop() method in QrYuvLuminanceSource
/frameworks/native/opengl/tests/textures/
Dtextures.cpp66 GLint crop[4] = { 0, 4, 4, -4 }; in main() local
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/onehanded/
DOneHandedSurfaceTransactionHelper.java65 OneHandedSurfaceTransactionHelper crop(SurfaceControl.Transaction tx, SurfaceControl leash, in crop() method in OneHandedSurfaceTransactionHelper
/frameworks/native/libs/gui/
DGLConsumerUtils.cpp112 mat4 crop( in computeTransformMatrix() local
/frameworks/native/opengl/tests/filter/
Dfilter.cpp78 GLint crop[4] = { 0, 4, 4, -4 }; in main() local
/frameworks/base/libs/hwui/hwui/
DImageDecoder.cpp145 bool ImageDecoder::setCropRect(const SkIRect* crop) { in setCropRect()
533 SkIRect crop = *mCropRect; in extractGainmap() local
/frameworks/native/services/surfaceflinger/tests/
DWindowInfosListener_test.cpp89 const Rect crop(0, 0, 100, 100); in TEST_F() local
/frameworks/base/services/core/java/com/android/server/wm/
DAbsAppSnapshotController.java236 final Rect crop = prepareTaskSnapshot(source, builder); in snapshot() local
269 float scaleFraction, Rect crop, TaskSnapshot.Builder builder) { in createSnapshot()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip/
DPipSurfaceTransactionHelper.java91 public PipSurfaceTransactionHelper crop(@NonNull SurfaceControl.Transaction tx, in crop() method in PipSurfaceTransactionHelper
249 final Rect crop = mTmpDestinationRect; in rotateAndScaleWithCrop() local
/frameworks/layoutlib/validator/src/com/android/tools/idea/validator/
DAtfBufferedImage.java106 public Image crop(int left, int top, int width, int height) { in crop() method in AtfBufferedImage
/frameworks/base/packages/WallpaperCropper/src/com/android/wallpapercropper/
DWallpaperCropActivity.java335 RectF crop = getMaxCropRect( in cropImageAndSetWallpaper() local
653 Bitmap crop = null; local
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip2/
DPipSurfaceTransactionHelper.java100 final Rect crop = mTmpDestinationRect; in rotateAndScaleWithCrop() local
/frameworks/native/libs/gui/include/gui/
DCpuConsumer.h55 Rect crop; member
DBLASTBufferQueue.h254 Rect crop; member
/frameworks/native/services/surfaceflinger/tests/unittests/
DLayerSnapshotTest.cpp211 Rect crop(1, 2, 3, 4); in TEST_F() local
1435 Rect crop = Rect(0, 0, 50, 50); in TEST_F() local
1981 const int crop = 20; in TEST_F() local
2020 const int crop = 20; in TEST_F() local
2040 const int crop = 20; in TEST_F() local
/frameworks/native/libs/nativedisplay/surfacetexture/
DSurfaceTexture.cpp382 mat4 crop(sx, 0, 0, 0, 0, sy, 0, 0, 0, 0, 1, 0, tx, ty, 0, 1); in releaseBufferLocked() local
395 Rect SurfaceTexture::scaleDownCrop(const Rect& crop, uint32_t bufferWidth, uint32_t bufferHeight) { in releaseBufferLocked()
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/util/
DStubTransaction.java140 public SurfaceControl.Transaction setWindowCrop(SurfaceControl sc, Rect crop) { in setWindowCrop()
151 public SurfaceControl.Transaction setCrop(@NonNull SurfaceControl sc, @Nullable Rect crop) { in setCrop()
/frameworks/base/core/java/android/app/
DIUiAutomationConnection.aidl48 boolean takeScreenshot(in Rect crop, in ScreenCaptureListener listener, int displayId); in takeScreenshot()
/frameworks/base/services/tests/servicestests/utils/com/android/server/testutils/
DStubTransaction.java145 public SurfaceControl.Transaction setWindowCrop(SurfaceControl sc, Rect crop) { in setWindowCrop()
156 public SurfaceControl.Transaction setCrop(@NonNull SurfaceControl sc, @Nullable Rect crop) { in setCrop()

123