Home
last modified time | relevance | path

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

/frameworks/base/libs/hwui/
DSkiaShader.cpp51 static inline bool isPowerOfTwo(unsigned int n) { in isPowerOfTwo() function
227 && (!isPowerOfTwo(width) || !isPowerOfTwo(height)) in tryStoreBitmap()
/frameworks/av/cmds/screenrecord/
DTextRenderer.cpp62 static bool isPowerOfTwo(uint32_t val) { in isPowerOfTwo() function
101 if (!isPowerOfTwo(FontBitmap::width)) { in loadIntoTexture()