Home
last modified time | relevance | path

Searched refs:swapWidthHeight (Results 1 – 9 of 9) sorted by relevance

/aosp12/frameworks/base/libs/hwui/hwui/
H A DImageDecoder.cpp58 mTargetSize = swapWidthHeight() ? SkISize { mDecodeSize.height(), mDecodeSize.width() } in ImageDecoder()
75 static bool requires_matrix_scaling(bool swapWidthHeight, const SkISize& decodeSize, in requires_matrix_scaling() argument
77 return (swapWidthHeight && decodeSize != swapped(targetSize)) in requires_matrix_scaling()
78 || (!swapWidthHeight && decodeSize != targetSize); in requires_matrix_scaling()
83 return swapWidthHeight() ? swapped(size) : size; in getSampledDimensions()
109 const bool swap = swapWidthHeight(); in setTargetSize()
173 if (requires_matrix_scaling(swapWidthHeight(), mDecodeSize, mTargetSize)) { in setUnpremultipliedRequired()
196 bool ImageDecoder::swapWidthHeight() const { in swapWidthHeight() function in ImageDecoder
201 return swapWidthHeight() in width()
207 return swapWidthHeight() in height()
[all …]
H A DImageDecoder.h122 bool swapWidthHeight() const;
/aosp12/hardware/qcom/display/msm8994/liboverlay/
H A DoverlayUtils.h127 void swapWidthHeight(Type& width, Type& height);
514 void swapWidthHeight(Type& width, Type& height) { in swapWidthHeight() function
/aosp12/hardware/qcom/display/msm8226/liboverlay/
H A DoverlayUtils.h127 void swapWidthHeight(Type& width, Type& height);
517 void swapWidthHeight(Type& width, Type& height) { in swapWidthHeight() function
/aosp12/hardware/qcom/display/msm8960/liboverlay/
H A DoverlayUtils.h154 void swapWidthHeight(Type& width, Type& height);
682 void swapWidthHeight(Type& width, Type& height) { in swapWidthHeight() function
/aosp12/hardware/qcom/display/msm8084/liboverlay/
H A DoverlayUtils.h158 void swapWidthHeight(Type& width, Type& height);
680 void swapWidthHeight(Type& width, Type& height) { in swapWidthHeight() function
/aosp12/hardware/qcom/display/msm8084/libhwcomposer/
H A Dhwc_utils.cpp497 swapWidthHeight(actualWidth, actualHeight); in getAspectRatioPosition()
/aosp12/hardware/qcom/display/msm8226/libhwcomposer/
H A Dhwc_utils.cpp484 swapWidthHeight(actualWidth, actualHeight); in getAspectRatioPosition()
/aosp12/hardware/qcom/display/msm8994/libhwcomposer/
H A Dhwc_utils.cpp645 swapWidthHeight(actualWidth, actualHeight); in getAspectRatioPosition()