Home | History | Annotate | Download | only in media

Lines Matching defs:textures

169         // Start loading textures.
170 int[] textures = PRELOAD_RESOURCES_ASYNC_UNSCALED;
171 for (int i = 0; i != textures.length; ++i) {
172 view.loadTexture(view.getResource(textures[i], false));
174 textures = PRELOAD_RESOURCES_ASYNC_SCALED;
175 for (int i = 0; i != textures.length; ++i) {
176 view.loadTexture(view.getResource(textures[i]));
182 // Wait for textures to finish loading before fading out.
184 // Request that the view upload all loaded textures.
187 // Determine if all textures have loaded.
188 int[] textures = PRELOAD_RESOURCES_ASYNC_SCALED;
190 for (int i = 0; i != textures.length; ++i) {
191 if (view.getResource(textures[i]).mState != Texture.STATE_LOADED) {
196 textures = PRELOAD_RESOURCES_ASYNC_UNSCALED;
197 for (int i = 0; i != textures.length; ++i) {
198 if (view.getResource(textures[i], false).mState != Texture.STATE_LOADED) {