Searched refs:tw (Results 1 - 5 of 5) sorted by relevance

/frameworks/base/cmds/bootanimation/
H A DBootAnimation.cpp178 int tw = 1 << (31 - __builtin_clz(w)); local
180 if (tw < w) tw <<= 1;
185 if (tw != w || th != h) {
186 glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA, tw, th, 0, GL_RGBA,
191 glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA, tw, th, 0, GL_RGBA,
197 if (tw != w || th != h) {
198 glTexImage2D(GL_TEXTURE_2D, 0, GL_RGB, tw, th, 0, GL_RGB,
203 glTexImage2D(GL_TEXTURE_2D, 0, GL_RGB, tw, th, 0, GL_RGB,
/frameworks/base/services/java/com/android/server/
H A DUiModeManagerService.java798 TwilightCalculator tw = new TwilightCalculator();
799 tw.calculateTwilight(currentTime,
801 if (tw.mState == TwilightCalculator.DAY) {
809 if (tw.mSunrise == -1 || tw.mSunset == -1) {
813 final int mLastTwilightState = tw.mState;
816 if (currentTime > tw.mSunset) {
818 tw.calculateTwilight(currentTime
824 nextUpdate += tw.mSunrise;
826 nextUpdate += tw
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
H A DStatusBarIconView.java246 final int tw = r.right - r.left;
249 int dw = r.left + tw + r.right;
/frameworks/native/services/surfaceflinger/
H A DSurfaceFlinger.cpp1814 GLint tw = (2 << (31 - clz(hw_w)));
1817 tw, th, 0, GL_RGB, GL_UNSIGNED_BYTE, 0);
1818 u = GLfloat(hw_w) / tw;
/frameworks/native/opengl/libagl/
H A Dtexture.cpp807 const GLuint tw = textureObject->surface.width; local
809 if ((uint32_t(s0+x+w) > tw) || (uint32_t(t0+y+h) > th)) {

Completed in 256 milliseconds