Home | History | Annotate | Download | only in bootanimation

Lines Matching refs:mAndroid

308     initTexture(&mAndroid[0], mAssets, "images/android-logo-mask.png");
309 initTexture(&mAndroid[1], mAssets, "images/android-logo-shine.png");
322 const GLint xc = (mWidth - mAndroid[0].w) / 2;
323 const GLint yc = (mHeight - mAndroid[0].h) / 2;
324 const Rect updateRect(xc, yc, xc + mAndroid[0].w, yc + mAndroid[0].h);
337 float t = 4.0f * float(time / us2ns(16667)) / mAndroid[1].w;
338 GLint offset = (1 - (t - floorf(t))) * mAndroid[1].w;
346 glBindTexture(GL_TEXTURE_2D, mAndroid[1].name);
347 glDrawTexiOES(x, yc, 0, mAndroid[1].w, mAndroid[1].h);
348 glDrawTexiOES(x + mAndroid[1].w, yc, 0, mAndroid[1].w, mAndroid[1].h);
351 glBindTexture(GL_TEXTURE_2D, mAndroid[0].name);
352 glDrawTexiOES(xc, yc, 0, mAndroid[0].w, mAndroid[0].h);
364 glDeleteTextures(1, &mAndroid[0].name);
365 glDeleteTextures(1, &mAndroid[1].name);