Home
last modified time | relevance | path

Searched refs:shader (Results 1 – 16 of 16) sorted by relevance

/packages/apps/LegacyCamera/jni/feature_mos/src/mosaic_renderer/
DRenderer.cpp39 GLuint shader = glCreateShader(shaderType); in loadShader() local
40 if (shader) { in loadShader()
41 glShaderSource(shader, 1, &pSource, NULL); in loadShader()
42 glCompileShader(shader); in loadShader()
44 glGetShaderiv(shader, GL_COMPILE_STATUS, &compiled); in loadShader()
47 glGetShaderiv(shader, GL_INFO_LOG_LENGTH, &infoLen); in loadShader()
51 glGetShaderInfoLog(shader, infoLen, NULL, buf); in loadShader()
56 glDeleteShader(shader); in loadShader()
57 shader = 0; in loadShader()
61 return shader; in loadShader()
/packages/services/Car/evs/app/
Dshader.cpp25 GLuint shader = glCreateShader (type); in loadShader() local
26 if (shader == 0) { in loadShader()
31 glShaderSource(shader, 1, &shaderSrc, nullptr); in loadShader()
32 glCompileShader(shader); in loadShader()
36 glGetShaderiv(shader, GL_COMPILE_STATUS, &compiled); in loadShader()
41 glGetShaderiv(shader, GL_INFO_LOG_LENGTH, &size); in loadShader()
46 glGetShaderInfoLog(shader, size, NULL, infoLog.get()); in loadShader()
50 glDeleteShader(shader); in loadShader()
54 return shader; in loadShader()
DAndroid.mk14 shader.cpp \
/packages/services/Car/evs/sampleDriver/
DGlWrapper.cpp99 GLuint shader = glCreateShader (type); in loadShader() local
100 if (shader == 0) { in loadShader()
105 glShaderSource(shader, 1, &shaderSrc, nullptr); in loadShader()
106 glCompileShader(shader); in loadShader()
110 glGetShaderiv(shader, GL_COMPILE_STATUS, &compiled); in loadShader()
115 glGetShaderiv(shader, GL_INFO_LOG_LENGTH, &size); in loadShader()
120 glGetShaderInfoLog(shader, size, nullptr, infoLog); in loadShader()
125 glDeleteShader(shader); in loadShader()
129 return shader; in loadShader()
/packages/screensavers/Basic/src/com/android/dreams/basic/
DColorsGLRenderer.java263 int shader = glCreateShader(type); in buildShader() local
265 glShaderSource(shader, source); in buildShader()
268 glCompileShader(shader); in buildShader()
272 glGetShaderiv(shader, GL_COMPILE_STATUS, status, 0); in buildShader()
274 String error = glGetShaderInfoLog(shader); in buildShader()
276 glDeleteShader(shader); in buildShader()
280 return shader; in buildShader()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/module/
DNoBackupImageWallpaper.java845 int shader = GLES20.glCreateShader(type); in buildShader() local
847 GLES20.glShaderSource(shader, source); in buildShader()
850 GLES20.glCompileShader(shader); in buildShader()
854 GLES20.glGetShaderiv(shader, GLES20.GL_COMPILE_STATUS, status, 0); in buildShader()
856 String error = GLES20.glGetShaderInfoLog(shader); in buildShader()
858 GLES20.glDeleteShader(shader); in buildShader()
862 return shader; in buildShader()
/packages/apps/UnifiedEmail/src/com/android/mail/bitmap/
DAbstractAvatarDrawable.java114 final BitmapShader shader = new BitmapShader(bitmap, Shader.TileMode.CLAMP, in drawBitmap() local
127 shader.setLocalMatrix(mMatrix); in drawBitmap()
128 mBitmapPaint.setShader(shader); in drawBitmap()
/packages/apps/WallpaperPicker/src/com/android/gallery3d/glrenderer/
DGLES20Canvas.java225 int shader = GLES20.glCreateShader(type); in loadShader() local
228 GLES20.glShaderSource(shader, shaderCode); in loadShader()
230 GLES20.glCompileShader(shader); in loadShader()
233 return shader; in loadShader()
/packages/apps/Camera2/src/com/android/camera/widget/
DRoundedThumbnailView.java667 BitmapShader shader = new BitmapShader( in precomputeThumbnailPaint() local
686 shader.setLocalMatrix(shaderMatrix); in precomputeThumbnailPaint()
692 mThumbnailPaint.setShader(shader); in precomputeThumbnailPaint()
/packages/apps/UnifiedEmail/src/com/android/mail/ui/
DFolderDisplayer.java255 final Shader shader = new LinearGradient(gradientX0, 0, gradientX1, 0, fgColor, in drawFolder() local
257 paint.setShader(shader); in drawFolder()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/category/
DIconView.java229 Shader shader = new LinearGradient(0, start, 0, end, startColor, in onDraw() local
231 mPaint.setShader(shader); in onDraw()
/packages/apps/Gallery2/src/com/android/gallery3d/glrenderer/
DGLES20Canvas.java334 int shader = GLES20.glCreateShader(type); in loadShader() local
337 GLES20.glShaderSource(shader, shaderCode); in loadShader()
339 GLES20.glCompileShader(shader); in loadShader()
342 return shader; in loadShader()
/packages/apps/Messaging/src/com/android/messaging/util/
DImageUtils.java135 final BitmapShader shader = new BitmapShader(bitmap, TileMode.CLAMP, TileMode.CLAMP); in drawBitmapWithCircleOnCanvas() local
141 shader.setLocalMatrix(matrix); in drawBitmapWithCircleOnCanvas()
153 bitmapPaint.setShader(shader); in drawBitmapWithCircleOnCanvas()
/packages/inputmethods/LatinIME/dictionaries/
Den_US_wordlist.combined.gz
Den_GB_wordlist.combined.gz
Den_wordlist.combined.gz