Searched refs:nextPowerOf2 (Results 1 – 3 of 3) sorted by relevance
81 mTextureWidth = width > 0 ? Utils.nextPowerOf2(width) : 0; in setSize()82 mTextureHeight = height > 0 ? Utils.nextPowerOf2(height) : 0; in setSize()
64 ? Utils.nextPowerOf2(initialSize) in computeSampleSize()111 ? Utils.nextPowerOf2(initialSize) in computeSampleSize()
79 public static int nextPowerOf2(int n) { in nextPowerOf2() method in Utils