Home
last modified time | relevance | path

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

/frameworks/base/cmds/bootanimation/
DBootAnimation.cpp874 initTexture(&mAndroid[0], mAssets, "images/android-logo-mask.png"); in android()
875 initTexture(&mAndroid[1], mAssets, "images/android-logo-shine.png"); in android()
894 const GLint xc = (mWidth - mAndroid[0].w) / 2; in android()
895 const GLint yc = (mHeight - mAndroid[0].h) / 2; in android()
896 const Rect updateRect(xc, yc, xc + mAndroid[0].w, yc + mAndroid[0].h); in android()
902 float t = 4.0f * float(time / us2ns(16667)) / mAndroid[1].w; in android()
903 GLint offset = (1 - (t - floorf(t))) * mAndroid[1].w; in android()
911 glBindTexture(GL_TEXTURE_2D, mAndroid[1].name); in android()
912 drawTexturedQuad(x, yc, mAndroid[1].w, mAndroid[1].h); in android()
913 drawTexturedQuad(x + mAndroid[1].w, yc, mAndroid[1].w, mAndroid[1].h); in android()
[all …]
DBootAnimation.h217 Texture mAndroid[2]; variable