Home
last modified time | relevance | path

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

/aosp14/frameworks/base/libs/hwui/hwui/
H A DImageDecoder.cpp77 mTargetSize = swapWidthHeight() ? SkISize { mDecodeSize.height(), mDecodeSize.width() } in ImageDecoder()
94 static bool requires_matrix_scaling(bool swapWidthHeight, const SkISize& decodeSize, in requires_matrix_scaling() argument
96 return (swapWidthHeight && decodeSize != swapped(targetSize)) in requires_matrix_scaling()
97 || (!swapWidthHeight && decodeSize != targetSize); in requires_matrix_scaling()
102 return swapWidthHeight() ? swapped(size) : size; in getSampledDimensions()
128 const bool swap = swapWidthHeight(); in setTargetSize()
194 if (requires_matrix_scaling(swapWidthHeight(), mDecodeSize, mTargetSize)) { in setUnpremultipliedRequired()
217 bool ImageDecoder::swapWidthHeight() const { in swapWidthHeight() function in ImageDecoder
222 return swapWidthHeight() in width()
228 return swapWidthHeight() in height()
[all …]
H A DImageDecoder.h127 bool swapWidthHeight() const;