Lines Matching refs:mAndroid
331 initTexture(&mAndroid[0], mAssets, "images/android-logo-mask.png");
332 initTexture(&mAndroid[1], mAssets, "images/android-logo-shine.png");
345 const GLint xc = (mWidth - mAndroid[0].w) / 2;
346 const GLint yc = (mHeight - mAndroid[0].h) / 2;
347 const Rect updateRect(xc, yc, xc + mAndroid[0].w, yc + mAndroid[0].h);
360 float t = 4.0f * float(time / us2ns(16667)) / mAndroid[1].w;
361 GLint offset = (1 - (t - floorf(t))) * mAndroid[1].w;
369 glBindTexture(GL_TEXTURE_2D, mAndroid[1].name);
370 glDrawTexiOES(x, yc, 0, mAndroid[1].w, mAndroid[1].h);
371 glDrawTexiOES(x + mAndroid[1].w, yc, 0, mAndroid[1].w, mAndroid[1].h);
374 glBindTexture(GL_TEXTURE_2D, mAndroid[0].name);
375 glDrawTexiOES(xc, yc, 0, mAndroid[0].w, mAndroid[0].h);
389 glDeleteTextures(1, &mAndroid[0].name);
390 glDeleteTextures(1, &mAndroid[1].name);