Lines Matching refs:mAndroid
874 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()
916 glBindTexture(GL_TEXTURE_2D, mAndroid[0].name); in android()
917 drawTexturedQuad(xc, yc, mAndroid[0].w, mAndroid[0].h); in android()
931 glDeleteTextures(1, &mAndroid[0].name); in android()
932 glDeleteTextures(1, &mAndroid[1].name); in android()