Home
last modified time | relevance | path

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

/aosp14/frameworks/base/cmds/bootanimation/
H A DBootAnimation.cpp865 const GLint xc = (mWidth - mAndroid[0].w) / 2; in android()
866 const GLint yc = (mHeight - mAndroid[0].h) / 2; in android()
867 const Rect updateRect(xc, yc, xc + mAndroid[0].w, yc + mAndroid[0].h); in android()
874 GLint offset = (1 - (t - floorf(t))) * mAndroid[1].w; in android()
882 glBindTexture(GL_TEXTURE_2D, mAndroid[1].name); in android()
883 drawTexturedQuad(x, yc, mAndroid[1].w, mAndroid[1].h); in android()
884 drawTexturedQuad(x + mAndroid[1].w, yc, mAndroid[1].w, mAndroid[1].h); in android()
887 glBindTexture(GL_TEXTURE_2D, mAndroid[0].name); in android()
888 drawTexturedQuad(xc, yc, mAndroid[0].w, mAndroid[0].h); in android()
902 glDeleteTextures(1, &mAndroid[0].name); in android()
[all …]
H A DBootAnimation.h217 Texture mAndroid[2]; variable