Home | History | Annotate | Download | only in bootanimation

Lines Matching full:mandroid

301     initTexture(&mAndroid[0], mAssets, "images/android-logo-mask.png");
302 initTexture(&mAndroid[1], mAssets, "images/android-logo-shine.png");
315 const GLint xc = (mWidth - mAndroid[0].w) / 2;
316 const GLint yc = (mHeight - mAndroid[0].h) / 2;
317 const Rect updateRect(xc, yc, xc + mAndroid[0].w, yc + mAndroid[0].h);
330 float t = 4.0f * float(time / us2ns(16667)) / mAndroid[1].w;
331 GLint offset = (1 - (t - floorf(t))) * mAndroid[1].w;
339 glBindTexture(GL_TEXTURE_2D, mAndroid[1].name);
340 glDrawTexiOES(x, yc, 0, mAndroid[1].w, mAndroid[1].h);
341 glDrawTexiOES(x + mAndroid[1].w, yc, 0, mAndroid[1].w, mAndroid[1].h);
344 glBindTexture(GL_TEXTURE_2D, mAndroid[0].name);
345 glDrawTexiOES(xc, yc, 0, mAndroid[0].w, mAndroid[0].h);
357 glDeleteTextures(1, &mAndroid[0].name);
358 glDeleteTextures(1, &mAndroid[1].name);