Home
last modified time | relevance | path

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

/frameworks/base/libs/hwui/hwui/
DImageDecoder.cpp74 mTargetSize = swapWidthHeight() ? SkISize { mDecodeSize.height(), mDecodeSize.width() } in ImageDecoder()
91 static bool requires_matrix_scaling(bool swapWidthHeight, const SkISize& decodeSize, in requires_matrix_scaling() argument
93 return (swapWidthHeight && decodeSize != swapped(targetSize)) in requires_matrix_scaling()
94 || (!swapWidthHeight && decodeSize != targetSize); in requires_matrix_scaling()
99 return swapWidthHeight() ? swapped(size) : size; in getSampledDimensions()
125 const bool swap = swapWidthHeight(); in setTargetSize()
191 if (requires_matrix_scaling(swapWidthHeight(), mDecodeSize, mTargetSize)) { in setUnpremultipliedRequired()
214 bool ImageDecoder::swapWidthHeight() const { in swapWidthHeight() function in ImageDecoder
219 return swapWidthHeight() in width()
225 return swapWidthHeight() in height()
[all …]
DImageDecoder.h127 bool swapWidthHeight() const;