Searched refs:mAndroid (Results 1 – 2 of 2) sorted by relevance
/frameworks/base/cmds/bootanimation/ |
D | BootAnimation.cpp | 323 initTexture(&mAndroid[0], mAssets, "images/android-logo-mask.png"); in android() 324 initTexture(&mAndroid[1], mAssets, "images/android-logo-shine.png"); in android() 337 const GLint xc = (mWidth - mAndroid[0].w) / 2; in android() 338 const GLint yc = (mHeight - mAndroid[0].h) / 2; in android() 339 const Rect updateRect(xc, yc, xc + mAndroid[0].w, yc + mAndroid[0].h); in android() 352 float t = 4.0f * float(time / us2ns(16667)) / mAndroid[1].w; in android() 353 GLint offset = (1 - (t - floorf(t))) * mAndroid[1].w; in android() 361 glBindTexture(GL_TEXTURE_2D, mAndroid[1].name); in android() 362 glDrawTexiOES(x, yc, 0, mAndroid[1].w, mAndroid[1].h); in android() 363 glDrawTexiOES(x + mAndroid[1].w, yc, 0, mAndroid[1].w, mAndroid[1].h); in android() [all …]
|
D | BootAnimation.h | 106 Texture mAndroid[2]; variable
|