Searched refs:mAndroid (Results 1 – 2 of 2) sorted by relevance
/frameworks/base/cmds/bootanimation/ |
D | BootAnimation.cpp | 355 initTexture(&mAndroid[0], mAssets, "images/android-logo-mask.png"); in android() 356 initTexture(&mAndroid[1], mAssets, "images/android-logo-shine.png"); in android() 371 const GLint xc = (mWidth - mAndroid[0].w) / 2; in android() 372 const GLint yc = (mHeight - mAndroid[0].h) / 2; in android() 373 const Rect updateRect(xc, yc, xc + mAndroid[0].w, yc + mAndroid[0].h); in android() 386 float t = 4.0f * float(time / us2ns(16667)) / mAndroid[1].w; in android() 387 GLint offset = (1 - (t - floorf(t))) * mAndroid[1].w; in android() 395 glBindTexture(GL_TEXTURE_2D, mAndroid[1].name); in android() 396 glDrawTexiOES(x, yc, 0, mAndroid[1].w, mAndroid[1].h); in android() 397 glDrawTexiOES(x + mAndroid[1].w, yc, 0, mAndroid[1].w, mAndroid[1].h); in android() [all …]
|
D | BootAnimation.h | 162 Texture mAndroid[2]; variable
|