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

/frameworks/base/telephony/tests/telephonytests/src/android/telephony/
H A DPhoneNumberWatcherTest.java31 TextWatcher tw = new PhoneNumberFormattingTextWatcher();
35 tw.beforeTextChanged(number, 0, 0, 1);
38 tw.afterTextChanged(number);
45 TextWatcher tw = new PhoneNumberFormattingTextWatcher();
50 tw.beforeTextChanged(number, 3, 1, 0);
52 tw.afterTextChanged(number);
59 tw.beforeTextChanged(number, 0, 1, 0);
61 tw.afterTextChanged(number);
/frameworks/base/services/surfaceflinger/
H A DLayerBlur.cpp193 GLuint tw = 1 << (31 - clz(w)); local
195 if (tw < GLuint(w)) tw <<= 1;
197 glTexImage2D(GL_TEXTURE_2D, 0, mReadFormat, tw, th, 0,
201 mWidthScale = 1.0f / tw;
H A DSurfaceFlinger.cpp1631 GLint tw = (2 << (31 - clz(hw_w)));
1634 tw, th, 0, GL_RGB, GL_UNSIGNED_BYTE, 0);
1635 u = GLfloat(hw_w) / tw;
/frameworks/base/services/java/com/android/server/
H A DUiModeManagerService.java750 TwilightCalculator tw = new TwilightCalculator();
751 tw.calculateTwilight(currentTime,
753 if (tw.mState == TwilightCalculator.DAY) {
761 if (tw.mSunrise == -1 || tw.mSunset == -1) {
765 final int mLastTwilightState = tw.mState;
768 if (currentTime > tw.mSunset) {
770 tw.calculateTwilight(currentTime
776 nextUpdate += tw.mSunrise;
778 nextUpdate += tw
[all...]
/frameworks/base/cmds/bootanimation/
H A DBootAnimation.cpp161 int tw = 1 << (31 - __builtin_clz(w)); local
163 if (tw < w) tw <<= 1;
168 if (tw != w || th != h) {
169 glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA, tw, th, 0, GL_RGBA,
174 glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA, tw, th, 0, GL_RGBA,
180 if (tw != w || th != h) {
181 glTexImage2D(GL_TEXTURE_2D, 0, GL_RGB, tw, th, 0, GL_RGB,
186 glTexImage2D(GL_TEXTURE_2D, 0, GL_RGB, tw, th, 0, GL_RGB,
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
H A DStatusBarIconView.java187 final int tw = r.right - r.left;
190 int dw = r.left + tw + r.right;
/frameworks/base/opengl/libagl/
H A Dtexture.cpp808 const GLuint tw = textureObject->surface.width; local
810 if ((uint32_t(s0+x+w) > tw) || (uint32_t(t0+y+h) > th)) {

Completed in 129 milliseconds