Home
last modified time | relevance | path

Searched refs:shader (Results 1 – 11 of 11) 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/experimental/CameraPreviewTest/src/com/example/android/videochatcameratest/
DSurfaceTextureView.java35 int shader = GLES20.glCreateShader(shaderType); in loadShader() local
36 if (shader != 0) { in loadShader()
37 GLES20.glShaderSource(shader, source); in loadShader()
38 GLES20.glCompileShader(shader); in loadShader()
40 GLES20.glGetShaderiv(shader, GLES20.GL_COMPILE_STATUS, compiled, 0); in loadShader()
43 Log.e(TAG, GLES20.glGetShaderInfoLog(shader)); in loadShader()
44 GLES20.glDeleteShader(shader); in loadShader()
45 shader = 0; in loadShader()
48 return shader; in loadShader()
/packages/screensavers/Basic/src/com/android/dreams/basic/
DColorsGLRenderer.java262 int shader = glCreateShader(type); in buildShader() local
264 glShaderSource(shader, source); in buildShader()
267 glCompileShader(shader); in buildShader()
271 glGetShaderiv(shader, GL_COMPILE_STATUS, status, 0); in buildShader()
273 String error = glGetShaderInfoLog(shader); in buildShader()
275 glDeleteShader(shader); in buildShader()
279 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/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/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/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/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/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/Launcher3/WallpaperPicker/src/com/android/gallery3d/glrenderer/
DGLES20Canvas.java332 int shader = GLES20.glCreateShader(type); in loadShader() local
335 GLES20.glShaderSource(shader, shaderCode); in loadShader()
337 GLES20.glCompileShader(shader); in loadShader()
340 return shader; in loadShader()
/packages/inputmethods/LatinIME/dictionaries/
Den_US_wordlist.combined.gz