Home
last modified time | relevance | path

Searched refs:FloatRect (Results 1 – 16 of 16) sorted by relevance

/frameworks/native/libs/ui/include/ui/
DFloatRect.h21 class FloatRect {
23 FloatRect() = default;
24 constexpr FloatRect(float _left, float _top, float _right, float _bottom) in FloatRect() function
30 FloatRect intersect(const FloatRect& other) const { in intersect()
47 inline bool operator==(const FloatRect& a, const FloatRect& b) {
DRect.h72 inline explicit Rect(const FloatRect& floatRect) { in Rect()
196 FloatRect toFloatRect() const { in toFloatRect()
/frameworks/native/libs/ui/include_vndk/ui/
DFloatRect.h21 class FloatRect {
23 FloatRect() = default;
24 constexpr FloatRect(float _left, float _top, float _right, float _bottom) in FloatRect() function
30 FloatRect intersect(const FloatRect& other) const { in intersect()
47 inline bool operator==(const FloatRect& a, const FloatRect& b) {
DRect.h72 inline explicit Rect(const FloatRect& floatRect) { in Rect()
196 FloatRect toFloatRect() const { in toFloatRect()
/frameworks/native/services/surfaceflinger/layerproto/include/layerproto/
DLayerProtoParser.h61 class FloatRect {
111 LayerProtoParser::FloatRect hwcCrop;
138 static LayerProtoParser::FloatRect generateFloatRect(const FloatRectProto& rectProto);
/frameworks/native/services/surfaceflinger/
DTransform.h87 FloatRect transform(const FloatRect& bounds) const;
DLayer.h87 FloatRect sourceCrop;
127 FloatRect sourceCrop;
321 FloatRect computeBounds(const Region& activeTransparentRegion) const;
322 FloatRect computeBounds() const;
624 FloatRect computeCrop(const sp<const DisplayDevice>& hw) const;
DLayerProtoHelper.h32 static void writeToProto(const FloatRect& rect, FloatRectProto* rectProto);
DLayerProtoHelper.cpp40 void LayerProtoHelper::writeToProto(const FloatRect& rect, FloatRectProto* rectProto) { in writeToProto()
DTransform.cpp227 FloatRect Transform::transform(const FloatRect& bounds) const in transform()
239 FloatRect r; in transform()
DLayer.cpp289 static FloatRect reduce(const FloatRect& win, const Region& exclude) { in reduce()
335 FloatRect Layer::computeBounds() const { in computeBounds()
340 FloatRect Layer::computeBounds(const Region& activeTransparentRegion) const { in computeBounds()
358 FloatRect floatWin = win.toFloatRect(); in computeBounds()
406 FloatRect Layer::computeCrop(const sp<const DisplayDevice>& hw) const { in computeCrop()
409 FloatRect crop = getContentCrop().toFloatRect(); in computeCrop()
564 FloatRect sourceCrop = computeCrop(displayDevice); in setGeometry()
826 FloatRect win = computeBounds(); in computeGeometry()
1484 const FloatRect& crop = hwcInfo.sourceCrop; in miniDump()
1987 const FloatRect& crop = hwcInfo.sourceCrop; in writeToProto()
/frameworks/native/services/surfaceflinger/layerproto/
DLayerProtoParser.cpp151 LayerProtoParser::FloatRect LayerProtoParser::generateFloatRect(const FloatRectProto& rectProto) { in generateFloatRect()
152 LayerProtoParser::FloatRect rect; in generateFloatRect()
274 std::string LayerProtoParser::FloatRect::to_string() const { in to_string()
/frameworks/native/services/surfaceflinger/DisplayHardware/
DHWComposer_hwc1.h51 class FloatRect; variable
173 virtual void setCrop(const FloatRect& crop) = 0;
DHWC2.h42 class FloatRect; variable
331 const android::FloatRect& crop);
DHWComposer.h56 class FloatRect; variable
DHWC2.cpp39 using android::FloatRect;
926 Error Layer::setSourceCrop(const FloatRect& crop) in setSourceCrop()