/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/filters/ |
convolve3x3.rs | 21 int32_t gWidth; 29 uint32_t x1 = min((int32_t)x+1, gWidth-1); 34 float4 p00 = rsUnpackColor8888(gPixels[x1 + gWidth * y1]); 35 float4 p01 = rsUnpackColor8888(gPixels[x + gWidth * y1]); 36 float4 p02 = rsUnpackColor8888(gPixels[x2 + gWidth * y1]); 37 float4 p10 = rsUnpackColor8888(gPixels[x1 + gWidth * y]); 38 float4 p11 = rsUnpackColor8888(gPixels[x + gWidth * y]); 39 float4 p12 = rsUnpackColor8888(gPixels[x2 + gWidth * y]); 40 float4 p20 = rsUnpackColor8888(gPixels[x1 + gWidth * y2]); 41 float4 p21 = rsUnpackColor8888(gPixels[x + gWidth * y2]) [all...] |
/external/skia/tests/ |
ResourceCacheTest.cpp | 15 static const int gWidth = 640; 22 const SkIRect size = SkIRect::MakeWH(gWidth, gHeight); 76 desc.fWidth = gWidth;
|
DrawBitmapRectTest.cpp | 303 static const int gWidth = 256; 307 bm->setConfig(config, gWidth, gHeight); 320 SkIRect srcR = { gWidth, 0, gWidth + 16, 16 };
|
DeferredCanvasTest.cpp | 23 static const int gWidth = 2; 27 bm->setConfig(config, gWidth, gHeight); 276 fullRect.setXYWH(SkIntToScalar(0), SkIntToScalar(0), SkIntToScalar(gWidth), [all...] |
/frameworks/native/opengl/tests/gl_perf/ |
filltest.cpp | 38 gWidth = w;
|
fill_common.cpp | 23 static uint32_t gWidth = 0; 125 double pixels = (gWidth * gHeight) * count;
|
/frameworks/rs/java/tests/ImageProcessing/src/com/android/rs/image/ |
convolve3x3.fs | 19 int32_t gWidth; 26 uint32_t x1 = min((int32_t)x+1, gWidth-1);
|
histogram.rs | 24 int gWidth; 38 for (int px=0; px < gWidth; px++) {
|
convolve5x5.fs | 19 int32_t gWidth; 29 uint32_t x3 = min((int32_t)x+1, gWidth-1); 30 uint32_t x4 = min((int32_t)x+2, gWidth-1);
|
/frameworks/rs/java/tests/ImageProcessing2/src/com/android/rs/image/ |
ip2_convolve3x3.rs | 19 int32_t gWidth; 26 uint32_t x1 = min((int32_t)x+1, gWidth-1);
|
convolve5x5.fs | 19 int32_t gWidth; 29 uint32_t x3 = min((int32_t)x+1, gWidth-1); 30 uint32_t x4 = min((int32_t)x+2, gWidth-1);
|
/frameworks/rs/java/tests/ImageProcessing_jb/src/com/android/rs/image/ |
convolve3x3.fs | 19 int32_t gWidth; 26 uint32_t x1 = min((int32_t)x+1, gWidth-1);
|
convolve5x5.fs | 19 int32_t gWidth; 29 uint32_t x3 = min((int32_t)x+1, gWidth-1); 30 uint32_t x4 = min((int32_t)x+2, gWidth-1);
|
/cts/tests/src/android/renderscript/cts/ |
intrinsic_convolve5x5.rs | 20 int32_t gWidth; 30 uint32_t x3 = min((int32_t)x+1, gWidth-1); 31 uint32_t x4 = min((int32_t)x+2, gWidth-1); 77 uint32_t x3 = min((int32_t)x+1, gWidth-1); 78 uint32_t x4 = min((int32_t)x+2, gWidth-1); 124 uint32_t x3 = min((int32_t)x+1, gWidth-1); 125 uint32_t x4 = min((int32_t)x+2, gWidth-1); 171 uint32_t x3 = min((int32_t)x+1, gWidth-1); 172 uint32_t x4 = min((int32_t)x+2, gWidth-1); 217 uint32_t x3 = min((int32_t)x+1, gWidth-1) [all...] |
intrinsic_convolve3x3.rs | 19 int32_t gWidth; 26 uint32_t x1 = min((int32_t)x+1, gWidth-1); 67 uint32_t x1 = min((int32_t)x+1, gWidth-1); 108 uint32_t x1 = min((int32_t)x+1, gWidth-1); 149 uint32_t x1 = min((int32_t)x+1, gWidth-1); 190 uint32_t x1 = min((int32_t)x+1, gWidth-1); 219 uint32_t x1 = min((int32_t)x+1, gWidth-1); 248 uint32_t x1 = min((int32_t)x+1, gWidth-1); 277 uint32_t x1 = min((int32_t)x+1, gWidth-1);
|
/external/skia/gm/ |
hairmodes.cpp | 31 const int gWidth = 64; 33 const SkScalar W = SkIntToScalar(gWidth); 52 SkScalar x = SkScalarCos(SkIntToScalar(angle) * (SK_ScalarPI * 2) / 24) * gWidth;
|
tilemodes.cpp | 165 static const int gWidth = 32; 170 makebm(&bm, SkBitmap::kARGB_8888_Config, gWidth, gHeight); 175 SkPoint pts[] = { { 0, 0 }, { SkIntToScalar(gWidth), SkIntToScalar(gHeight)} }; 176 SkPoint center = { SkIntToScalar(gWidth)/2, SkIntToScalar(gHeight)/2 }; 177 SkScalar rad = SkIntToScalar(gWidth)/2; 213 const SkScalar w = SkIntToScalar(gWidth);
|
tilemodes_scaled.cpp | 176 static const int gWidth = 32; 181 makebm(&bm, SkBitmap::kARGB_8888_Config, gWidth, gHeight); 186 SkPoint pts[] = { { 0, 0 }, { SkIntToScalar(gWidth), SkIntToScalar(gHeight)} }; 187 SkPoint center = { SkIntToScalar(gWidth)/2, SkIntToScalar(gHeight)/2 }; 188 SkScalar rad = SkIntToScalar(gWidth)/2; 224 const SkScalar w = SkIntToScalar(gWidth);
|
aarectmodes.cpp | 78 const int gWidth = 64; 80 const SkScalar W = SkIntToScalar(gWidth);
|
/build/tools/droiddoc/templates-ds/assets/js/grid/ |
960.gridder.js | 36 gWidth: 10,
88 jQuery('<div id="g-setup"><ul><li class="head">Vertical</li><li><span>Color</span><input id="g-setup-gColor" /></li><li><span>Opacity</span><input id="g-setup-gOpacity" /></li><li><span>Width</span><input id="g-setup-gWidth" /></li><li><span>Columns</span><select id="g-setup-gColumns"></select></li></ul><ul><li class="head">Horizontal</li><li><span>Color</span><input id="g-setup-pColor" /></li><li><span>Opacity</span><input id="g-setup-pOpacity" /></li><li><span>Height</span><input id="g-setup-pHeight" /></li><li><span>Offset</span><input id="g-setup-pOffset" /></li></ul><ul id="g-setup-misc"><li><span>Enable vertical (gutters)</span><input id="g-setup-gEnabled" type="checkbox" /></li><li><span>Enable horizontal (paragraphs)</span><input id="g-setup-pEnabled" type="checkbox" /></li><li><span>Invert vertical</span><input id="g-setup-invert" type="checkbox" /></li><li><span>Center grid</span><input id="g-setup-center" type="checkbox" /></li></ul><div style="clear: left;"></div><div id="g-setup-tab"><a href="javascript:;"><img src="http://gridder.andreehansson.se/releases/1.3.1/logo-sprite.png" alt="" /></a></div></div>').appendTo("body");
193 marginLeft: -((c.settings.size / 2) + c.settings.gWidth)
208 var f = (c.settings.size / c.settings.gColumns) - (c.settings.gWidth * 2);
209 var h = (c.settings.gWidth * 2);
233 width: (c.settings.gWidth * 2),
248 width: (c.settings.size + (c.settings.gWidth * 2)),
|
/external/sonivox/jet_tools/JetCreator/ |
JetSegGraph.py | 227 gWidth, gHeight = self.GetSize()
228 gWidth = gWidth - (self.iEdges * 2)
229 step = int(gWidth / (self.iLengthInMeasures + .01))
292 if gWidth == 0:
295 iDiv = (gWidth)/18
328 till = gWidth * (self.iLocationInMs / self.iLengthInMs)
350 gWidth, gHeight = self.GetSize()
351 gWidth = gWidth - (self.iEdges * 2) [all...] |
/frameworks/native/opengl/tests/gl_perfapp/jni/ |
gl_code.cpp | 68 gWidth = width;
|