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