/frameworks/base/graphics/java/android/renderscript/ |
ProgramFragmentFixedFunction.java | 69 int id = mRS.nProgramFragmentCreate(mShader, tmp); 81 String mShader; 128 mShader = "//rs_shader_internal\n"; 129 mShader += "varying lowp vec4 varColor;\n"; 130 mShader += "varying vec2 varTex0;\n"; 132 mShader += "void main() {\n"; 134 mShader += " lowp vec4 col = varColor;\n"; 136 mShader += " lowp vec4 col = UNI_Color;\n"; 141 mShader += " vec2 t0 = gl_PointCoord;\n"; 143 mShader += " vec2 t0 = varTex0.xy;\n" [all...] |
ProgramVertexFixedFunction.java | 92 int id = mRS.nProgramVertexCreate(mShader, tmp); 101 String mShader; 136 mShader = "//rs_shader_internal\n"; 137 mShader += "varying vec4 varColor;\n"; 138 mShader += "varying vec2 varTex0;\n"; 140 mShader += "void main() {\n"; 141 mShader += " gl_Position = UNI_MVP * ATTRIB_position;\n"; 142 mShader += " gl_PointSize = 1.0;\n"; 144 mShader += " varColor = ATTRIB_color;\n"; 146 mShader += " varTex0 = (UNI_TexMatrix * vec4(ATTRIB_texture0, 0.0, 1.0)).xy;\n" [all...] |
Program.java | 73 String mShader; 153 String mShader; 175 mShader = s; 217 mShader = new String(str, 0, strLength, "UTF-8");
|
ProgramFragment.java | 81 int id = mRS.nProgramFragmentCreate(mShader, tmp);
|
ProgramVertex.java | 121 int id = mRS.nProgramVertexCreate(mShader, tmp);
|
/development/samples/ApiDemos/src/com/example/android/apis/graphics/ |
Sweep.java | 37 private Shader mShader; 47 mShader = new SweepGradient(x, y, new int[] { Color.GREEN, 51 mPaint.setShader(mShader); 62 mShader.setLocalMatrix(mMatrix);
|
AlphaBitmap.java | 40 private Shader mShader; 70 mShader = new LinearGradient(0, 0, 100, 70, new int[] { 86 p.setShader(mShader);
|
/frameworks/base/libs/rs/driver/ |
rsdShader.cpp | 128 case 1: mShader.append("attribute float ATTRIB_"); break; 129 case 2: mShader.append("attribute vec2 ATTRIB_"); break; 130 case 3: mShader.append("attribute vec3 ATTRIB_"); break; 131 case 4: mShader.append("attribute vec4 ATTRIB_"); break; 136 mShader.append(fn); 137 mShader.append(";\n"); 152 mShader.append(buf); 159 mShader.append("precision mediump float;\n"); 165 mShader.append(mUserShader); 176 LOGV("%s", mShader.string()) [all...] |
rsdShader.h | 81 android::String8 mShader;
|
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
LinesActivity.java | 62 private final BitmapShader mShader; 99 mShader = new BitmapShader(mBitmap1, BitmapShader.TileMode.MIRROR, 125 mLargePaint.setShader(mShader); 144 mAlphaPaint.setShader(mShader);
|
PathsActivity.java | 45 private final BitmapShader mShader; 82 mShader = new BitmapShader(mBitmap1, BitmapShader.TileMode.MIRROR, 120 mLargePaint.setShader(mShader); 137 mLargePaint.setShader(mShader);
|
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
Paint_Delegate.java | 89 private Shader_Delegate mShader; 223 return mShader; 783 delegate.mShader = Shader_Delegate.getDelegate(shader); [all...] |
/frameworks/base/graphics/java/android/graphics/ |
Paint.java | 39 private Shader mShader; 400 mShader = paint.mShader; 806 return mShader; 823 mShader = shader; [all...] |
/frameworks/base/libs/hwui/ |
OpenGLRenderer.cpp | 115 mShader = NULL; [all...] |
OpenGLRenderer.h | 563 SkiaShader* mShader;
|