Searched refs:swapWidthHeight (Results 1 – 2 of 2) sorted by relevance
77 mTargetSize = swapWidthHeight() ? SkISize { mDecodeSize.height(), mDecodeSize.width() } in ImageDecoder()94 static bool requires_matrix_scaling(bool swapWidthHeight, const SkISize& decodeSize, in requires_matrix_scaling() argument96 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 ImageDecoder222 return swapWidthHeight() in width()228 return swapWidthHeight() in height()[all …]
127 bool swapWidthHeight() const;