Home
last modified time | relevance | path

Searched refs:Rect (Results 1 – 25 of 26) sorted by relevance

12

/device/generic/goldfish/camera/
Dlist_qemu_cameras.cpp60 bool parseResolutions(const std::string_view str, std::vector<Rect<uint16_t>>* supportedResolutions… in parseResolutions()
68 Rect<uint16_t> resolution; in parseResolutions()
104 Rect<uint16_t> calcThumbnailResolution(const double aspectRatio, in calcThumbnailResolution()
117 bool operator()(Rect<uint16_t> lhs, Rect<uint16_t> rhs) const { in operator ()()
182 std::vector<Rect<uint16_t>> thumbnailResolutions; in listQemuCameras()
185 for (const Rect<uint16_t> res : params.supportedResolutions) { in listQemuCameras()
188 Rect<uint16_t> thumbnailRes; in listQemuCameras()
245 [](Rect<uint16_t> z, Rect<uint16_t> x) -> Rect<uint16_t> { in listQemuCameras()
DQemuCamera.h37 std::vector<Rect<uint16_t>> supportedResolutions;
38 std::vector<Rect<uint16_t>> availableThumbnailResolutions;
39 Rect<uint16_t> sensorSize;
59 Span<const Rect<uint16_t>> getAvailableThumbnailSizes() const override;
64 Span<const Rect<uint16_t>> getSupportedResolutions() const override;
66 Rect<uint16_t> getSensorSize() const override;
80 Rect<uint16_t> size;
95 const native_handle_t* captureFrameForCompressing(Rect<uint16_t> dim,
98 bool queryFrame(Rect<uint16_t> dim, uint32_t pixelFormat,
DRect.h25 template <class T> struct Rect { struct
26 Rect() = default;
27 Rect(T w, T h) : width(w), height(h) {} in Rect() function
30 bool operator==(const Rect& rhs) const { argument
DFakeRotatingCamera.h53 Span<const Rect<uint16_t>> getAvailableThumbnailSizes() const override;
58 Span<const Rect<uint16_t>> getSupportedResolutions() const override;
60 Rect<uint16_t> getSensorSize() const override;
74 Rect<uint16_t> size;
115 bool drawScene(Rect<uint16_t> imageSize,
DHwCamera.h93 static bool compressJpeg(Rect<uint16_t> imageSize,
99 static bool convertRGBAtoRAW16(Rect<uint16_t> imageSize,
108 virtual Span<const Rect<uint16_t>> getAvailableThumbnailSizes() const = 0;
119 virtual Span<const Rect<uint16_t>> getSupportedResolutions() const = 0;
124 virtual Rect<uint16_t> getSensorSize() const = 0;
Djpeg.cpp167 bool compressYUVImpl(const android_ycbcr& image, const Rect<uint16_t> imageSize, in compressYUVImpl()
226 const Rect<uint16_t> srcSize, in resizeYUV()
227 const Rect<uint16_t> dstSize, in resizeYUV()
290 const Rect<uint16_t> imageSize, in compressYUV()
309 Rect<uint16_t> thumbnailSize = {0, 0}; in compressYUV()
DQemuCamera.cpp342 const Rect<uint16_t> imageSize = si.size; in captureFrameRAW16()
376 const Rect<uint16_t> imageSize = si.size; in captureFrameJpeg()
408 const Rect<uint16_t> dim, in captureFrameForCompressing()
438 bool QemuCamera::queryFrame(const Rect<uint16_t> dim, in queryFrame()
604 Span<const Rect<uint16_t>> QemuCamera::getAvailableThumbnailSizes() const { in getAvailableThumbnailSizes()
652 Rect<uint16_t> QemuCamera::getSensorSize() const { in getSensorSize()
672 Span<const Rect<uint16_t>> QemuCamera::getSupportedResolutions() const { in getSupportedResolutions()
DFakeRotatingCamera.cpp217 bool compressNV21IntoJpeg(const Rect<uint16_t> imageSize, in compressNV21IntoJpeg()
593 const Rect<uint16_t> imageSize = si.size; in captureFrameJpeg()
643 bool FakeRotatingCamera::drawScene(const Rect<uint16_t> imageSize, in drawScene()
898 Span<const Rect<uint16_t>> FakeRotatingCamera::getAvailableThumbnailSizes() const { in getAvailableThumbnailSizes()
899 static const Rect<uint16_t> availableThumbnailSizes[] = { in getAvailableThumbnailSizes()
944 Rect<uint16_t> FakeRotatingCamera::getSensorSize() const { in getSensorSize()
960 Span<const Rect<uint16_t>> FakeRotatingCamera::getSupportedResolutions() const { in getSupportedResolutions()
961 static const Rect<uint16_t> supportedResolutions[] = { in getSupportedResolutions()
DHwCamera.cpp96 bool HwCamera::compressJpeg(const Rect<uint16_t> imageSize, in compressJpeg()
127 bool HwCamera::convertRGBAtoRAW16(const Rect<uint16_t> imageSize, in convertRGBAtoRAW16()
239 const Rect<uint16_t> size = getSensorSize(); in getJpegMaxSize()
Djpeg.h32 size_t compressYUV(const android_ycbcr& image, Rect<uint16_t> imageSize,
Dexif.h37 ExifDataPtr createExifData(const CameraMetadata&, Rect<uint16_t> size);
Dexif.cpp151 const Rect<uint16_t> size) { in createExifData()
/device/generic/goldfish-opengl/system/hwc3/
DLayer.h47 HWC3::Error setSurfaceDamage(const std::vector<std::optional<common::Rect>>& damage);
61 HWC3::Error setDisplayFrame(common::Rect frame);
62 common::Rect getDisplayFrame() const;
71 common::Rect getSourceCropInt() const;
76 HWC3::Error setVisibleRegion(const std::vector<std::optional<common::Rect>>& visible);
111 common::Rect mDisplayFrame = {0, 0, -1, -1};
115 std::vector<common::Rect> mVisibleRegion;
DLayer.cpp84 HWC3::Error Layer::setSurfaceDamage(const std::vector<std::optional<common::Rect>>& /*damage*/) { in setSurfaceDamage() argument
154 HWC3::Error Layer::setDisplayFrame(common::Rect frame) { in setDisplayFrame()
163 common::Rect Layer::getDisplayFrame() const { in getDisplayFrame()
208 common::Rect Layer::getSourceCropInt() const { in getSourceCropInt()
209 common::Rect crop = {}; in getSourceCropInt()
235 HWC3::Error Layer::setVisibleRegion(const std::vector<std::optional<common::Rect>>& visible) { in setVisibleRegion()
DComposerClient.h164 const std::vector<std::optional<common::Rect>>& damage);
176 const common::Rect& rect);
190 const std::vector<std::optional<common::Rect>>& visibleRegion);
DGuestFrameComposer.cpp46 common::Rect crop = layer.getSourceCropInt(); in LayerNeedsScaling()
47 common::Rect frame = layer.getDisplayFrame(); in LayerNeedsScaling()
370 const common::Rect& bufferCrop) { in GetBufferSpec()
879 common::Rect srcLayerCrop = srcLayer->getSourceCropInt(); in composeLayerInto()
880 common::Rect srcLayerDisplayFrame = srcLayer->getDisplayFrame(); in composeLayerInto()
DGralloc.cpp37 using android::Rect;
143 Rect buffer_region; in Lock()
DComposerClient.cpp994 const std::vector<std::optional<common::Rect>>& damage) { in executeLayerCommandSetLayerSurfaceDamage()
1054 const common::Rect& rect) { in executeLayerCommandSetLayerDisplayFrame()
1126 const std::vector<std::optional<common::Rect>>& visibleRegion) { in executeLayerCommandSetLayerVisibleRegion()
DDisplay.h125 const std::vector<common::Rect>& damage);
DHostFrameComposer.cpp41 hwc_rect AsHwcRect(const common::Rect& rect) { in AsHwcRect()
DDisplay.cpp754 const std::vector<common::Rect>& /*damage*/) { in setClientTarget() argument
/device/generic/goldfish-opengl/system/hals/
Dmapper3.cpp146 const Rect& accessRegion, in lock()
165 const Rect& accessRegion, in lockYCbCr()
260 const Rect& accessRegion) { in setLocked()
277 const Rect& accessRegion, in lockImpl()
325 const Rect& accessRegion, in lockYCbCrImpl()
419 const Rect& accessRegion, in lockHostImpl()
/device/google/atv/TvSampleLeanbackLauncher/src/main/java/com/example/sampleleanbacklauncher/search/
DSearchFragment.java24 import android.graphics.Rect;
118 new Rect(0, 0, root.getMeasuredWidth(), root.getMeasuredHeight())); in onFocusChange()
/device/google/cuttlefish/guest/hals/camera/
Dcached_stream_buffer.cpp99 android::Rect region{0, 0, width, height}; in acquireAsYUV()
/device/google/atv/products/lowram_boot_profiles/
Dboot-image-profile.txt2167 Landroid/graphics/Rect$1;
2168 Landroid/graphics/Rect$UnflattenHelper;
2169 Landroid/graphics/Rect;
16979 [Landroid/graphics/Rect;
18521 PLandroid/app/ActivityOptions;->getLaunchBounds()Landroid/graphics/Rect;
20874 …util/Rational;Ljava/util/List;Landroid/app/RemoteAction;Landroid/graphics/Rect;Ljava/lang/Boolean;…
21433 …paperManager$Globals;->peekWallpaperDimensions(Landroid/content/Context;ZII)Landroid/graphics/Rect;
21455 PLandroid/app/WallpaperManager;->peekBitmapDimensions()Landroid/graphics/Rect;
21456 PLandroid/app/WallpaperManager;->peekBitmapDimensions(I)Landroid/graphics/Rect;
21457 PLandroid/app/WallpaperManager;->peekBitmapDimensions(IZ)Landroid/graphics/Rect;
[all …]

12