Home
last modified time | relevance | path

Searched refs:texture (Results 1 – 25 of 26) sorted by relevance

12

/packages/apps/Gallery2/src/com/android/gallery3d/glrenderer/
DGLES20Canvas.java582 public void drawTexture(BasicTexture texture, int x, int y, int width, int height) { in drawTexture() argument
586 copyTextureCoordinates(texture, mTempSourceRect); in drawTexture()
588 convertCoordinate(mTempSourceRect, mTempTargetRect, texture); in drawTexture()
589 drawTextureRect(texture, mTempSourceRect, mTempTargetRect); in drawTexture()
592 private static void copyTextureCoordinates(BasicTexture texture, RectF outRect) { in copyTextureCoordinates() argument
595 int right = texture.getWidth(); in copyTextureCoordinates()
596 int bottom = texture.getHeight(); in copyTextureCoordinates()
597 if (texture.hasBorder()) { in copyTextureCoordinates()
607 public void drawTexture(BasicTexture texture, RectF source, RectF target) { in drawTexture() argument
614 convertCoordinate(mTempSourceRect, mTempTargetRect, texture); in drawTexture()
[all …]
DGLES11Canvas.java338 BasicTexture texture, int x, int y, int width, int height) { in drawBoundTexture() argument
342 if (texture.hasBorder()) { in drawBoundTexture()
344 1.0f / texture.getTextureWidth(), in drawBoundTexture()
345 1.0f / texture.getTextureHeight(), in drawBoundTexture()
346 (texture.getWidth() - 1.0f) / texture.getTextureWidth(), in drawBoundTexture()
347 (texture.getHeight() - 1.0f) / texture.getTextureHeight()); in drawBoundTexture()
350 (float) texture.getWidth() / texture.getTextureWidth(), in drawBoundTexture()
351 (float) texture.getHeight() / texture.getTextureHeight()); in drawBoundTexture()
371 BasicTexture texture, int x, int y, int width, int height) { in drawTexture() argument
372 drawTexture(texture, x, y, width, height, mAlpha); in drawTexture()
[all …]
DGLCanvas.java96 BasicTexture texture, int x, int y, int width, int height); in drawTexture() argument
102 public abstract void drawTexture(BasicTexture texture, RectF source, RectF target); in drawTexture() argument
105 public abstract void drawTexture(BasicTexture texture, float[] mTextureTransform, in drawTexture() argument
125 public abstract boolean unloadTexture(BasicTexture texture); in unloadTexture() argument
137 public abstract void beginRenderTarget(RawTexture texture); in beginRenderTarget() argument
149 public abstract void setTextureParameters(BasicTexture texture); in setTextureParameters() argument
158 public abstract void initializeTextureSize(BasicTexture texture, int format, int type); in initializeTextureSize() argument
166 public abstract void initializeTexture(BasicTexture texture, Bitmap bitmap); in initializeTexture() argument
179 public abstract void texSubImage2D(BasicTexture texture, int xOffset, int yOffset, in texSubImage2D() argument
DFadeOutTexture.java28 public FadeOutTexture(BasicTexture texture) { in FadeOutTexture() argument
29 super(texture.getWidth(), texture.getHeight(), texture.isOpaque()); in FadeOutTexture()
30 mTexture = texture; in FadeOutTexture()
DFadeInTexture.java29 public FadeInTexture(int color, TiledTexture texture) { in FadeInTexture() argument
30 super(texture.getWidth(), texture.getHeight(), texture.isOpaque()); in FadeInTexture()
32 mTexture = texture; in FadeInTexture()
/packages/apps/WallpaperPicker/src/com/android/gallery3d/glrenderer/
DGLES20Canvas.java336 public void drawTexture(BasicTexture texture, int x, int y, int width, int height) { in drawTexture() argument
340 copyTextureCoordinates(texture, mTempSourceRect); in drawTexture()
342 convertCoordinate(mTempSourceRect, mTempTargetRect, texture); in drawTexture()
343 drawTextureRect(texture, mTempSourceRect, mTempTargetRect); in drawTexture()
346 private static void copyTextureCoordinates(BasicTexture texture, RectF outRect) { in copyTextureCoordinates() argument
347 outRect.set(0, 0, texture.getWidth(), texture.getHeight()); in copyTextureCoordinates()
351 public void drawTexture(BasicTexture texture, RectF source, RectF target) { in drawTexture() argument
358 convertCoordinate(mTempSourceRect, mTempTargetRect, texture); in drawTexture()
359 drawTextureRect(texture, mTempSourceRect, mTempTargetRect); in drawTexture()
362 private void drawTextureRect(BasicTexture texture, RectF source, RectF target) { in drawTextureRect() argument
[all …]
DGLCanvas.java59 public abstract void drawTexture(BasicTexture texture, int x, int y, int width, int height); in drawTexture() argument
62 public abstract void drawTexture(BasicTexture texture, RectF source, RectF target); in drawTexture() argument
68 public abstract boolean unloadTexture(BasicTexture texture); in unloadTexture() argument
82 public abstract void setTextureParameters(BasicTexture texture); in setTextureParameters() argument
91 public abstract void initializeTextureSize(BasicTexture texture, int format, int type); in initializeTextureSize() argument
99 public abstract void initializeTexture(BasicTexture texture, Bitmap bitmap); in initializeTexture() argument
112 public abstract void texSubImage2D(BasicTexture texture, int xOffset, int yOffset, in texSubImage2D() argument
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
DPhotoFallbackEffect.java42 public RawTexture texture; field in PhotoFallbackEffect.Entry
44 public Entry(Path path, Rect source, RawTexture texture) { in Entry() argument
47 this.texture = texture; in Entry()
68 public void addEntry(Path path, Rect rect, RawTexture texture) { in addEntry() argument
69 mList.add(new Entry(path, rect, texture)); in addEntry()
92 if (!entry.texture.isLoaded()) return; in drawEntry()
94 int w = entry.texture.getWidth(); in drawEntry()
95 int h = entry.texture.getHeight(); in drawEntry()
117 canvas.drawTexture(entry.texture, mSource, mTarget); in drawEntry()
125 canvas.drawTexture(entry.texture, mSource, mTarget); in drawEntry()
[all …]
DAlbumSetSlotRenderer.java116 private static Texture checkLabelTexture(Texture texture) { in checkLabelTexture() argument
117 return ((texture instanceof UploadedTexture) in checkLabelTexture()
118 && ((UploadedTexture) texture).isUploading()) in checkLabelTexture()
120 : texture; in checkLabelTexture()
123 private static Texture checkContentTexture(Texture texture) { in checkContentTexture() argument
124 return ((texture instanceof TiledTexture) in checkContentTexture()
125 && !((TiledTexture) texture).isReady()) in checkContentTexture()
127 : texture; in checkContentTexture()
DAlbumSetSlidingWindow.java446 TiledTexture texture = new TiledTexture(bitmap); in updateEntry() local
447 entry.bitmapTexture = texture; in updateEntry()
448 entry.content = texture; in updateEntry()
451 mContentUploader.addTexture(texture); in updateEntry()
456 mContentUploader.addTexture(texture); in updateEntry()
510 BitmapTexture texture = new BitmapTexture(bitmap); in updateEntry() local
511 texture.setOpaque(false); in updateEntry()
512 entry.labelTexture = texture; in updateEntry()
515 mLabelUploader.addFgTexture(texture); in updateEntry()
520 mLabelUploader.addBgTexture(texture); in updateEntry()
DPreparePageFadeoutTexture.java71 RawTexture texture = null; in prepareFadeOutTexture() local
75 texture = task.get(); in prepareFadeOutTexture()
80 if (texture == null) { in prepareFadeOutTexture()
83 activity.getTransitionStore().put(KEY_FADE_TEXTURE, texture); in prepareFadeOutTexture()
DAlbumSlotRenderer.java96 private static Texture checkTexture(Texture texture) { in checkTexture() argument
97 return (texture instanceof TiledTexture) in checkTexture()
98 && !((TiledTexture) texture).isReady() in checkTexture()
100 : texture; in checkTexture()
DPhotoView.java1838 RawTexture texture; in buildFallbackEffect() local
1840 texture = new RawTexture(width, height, true); in buildFallbackEffect()
1841 canvas.beginRenderTarget(texture); in buildFallbackEffect()
1844 texture = new RawTexture(height, width, true); in buildFallbackEffect()
1845 canvas.beginRenderTarget(texture); in buildFallbackEffect()
1853 effect.addEntry(item.getPath(), rect, texture); in buildFallbackEffect() local
DTileImageView.java377 Tile texture = mActiveTiles.valueAt(i); in freeTextures() local
378 texture.recycle(); in freeTextures()
/packages/apps/Settings/src/com/android/settings/biometrics/face/
DFaceEnrollPreviewFragment.java122 SurfaceTexture texture = mTextureView.getSurfaceTexture();
123 texture.setDefaultBufferSize(mPreviewSize.getWidth(), mPreviewSize.getHeight());
126 Surface surface = new Surface(texture);
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/biometrics/face/
DFaceEnrollPreviewFragment.java121 SurfaceTexture texture = mTextureView.getSurfaceTexture();
122 texture.setDefaultBufferSize(mPreviewSize.getWidth(), mPreviewSize.getHeight());
125 Surface surface = new Surface(texture);
/packages/services/Car/evs/app/
Dconfig.json.readme25 "graphic" : { // This maps the car texture into the projected view space
/packages/apps/Gallery2/src/com/android/photos/views/
DTiledImageRenderer.java404 Tile texture = mActiveTiles.valueAt(i); in freeTextures() local
405 texture.recycle(); in freeTextures()
/packages/apps/WallpaperPicker/src/com/android/photos/views/
DTiledImageRenderer.java404 Tile texture = mActiveTiles.valueAt(i); in freeTextures() local
405 texture.recycle(); in freeTextures()
/packages/apps/Camera2/src/com/android/camera/
DCaptureModule.java708 SurfaceTexture texture = getPreviewSurfaceTexture(); in resume() local
711 if (texture != null) { in resume()
/packages/inputmethods/LatinIME/dictionaries/
Den_GB_wordlist.combined.gz1dictionary=main:en_gb,locale=en_GB,description=English (UK),date ...
Den_US_wordlist.combined.gz1dictionary=main:en_us,locale=en_US,description=English (US),date ...
Den_wordlist.combined.gz1dictionary=main:en,locale=en,description=English,date=1414726273, ...
Dpt_BR_wordlist.combined.gz1dictionary=main:pt_br,locale=pt_BR,description=Português (Brasil),date ...
Dda_wordlist.combined.gz1dictionary=main:da,locale=da,description=Dansk,date=1393228134, ...

12