HomeSort by relevance Sort by last modified time
    Searched full:gwidth (Results 1 - 25 of 30) sorted by null

1 2

  /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...]
  /packages/wallpapers/Basic/src/com/android/wallpaper/galaxy/
galaxy.rs 32 static int gWidth;
132 float scale = gGalaxyRadius / (gWidth * 0.5f);
145 gWidth, 0.0f, 0.0f, 2.0f, 1.0f,
146 gWidth, gHeight, 0.0f, 2.0f, 0.0f,
155 if (gHeight > gWidth) {
170 float sx = (512.0f / gWidth) * 1.1f;
171 float sy = (512.0f / gWidth) * 1.2f;
204 gWidth = rsgGetWidth();
206 if ((gWidth != gOldWidth) || (gHeight != gOldHeight)) {
208 gOldWidth = gWidth;
    [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 };
  /frameworks/rs/java/tests/ImageProcessing/src/com/android/rs/image/
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);
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++) {
  /frameworks/rs/java/tests/ImageProcessing2/src/com/android/rs/image/
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);
ip2_convolve3x3.rs 19 int32_t gWidth;
26 uint32_t x1 = min((int32_t)x+1, gWidth-1);
  /frameworks/rs/java/tests/ImageProcessing_jb/src/com/android/rs/image/
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);
convolve3x3.fs 19 int32_t gWidth;
26 uint32_t x1 = min((int32_t)x+1, 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);
  /packages/wallpapers/Basic/src/com/android/wallpaper/nexus/
nexus.rs 51 static int gWidth;
91 gWidth = rsgGetWidth();
94 pulse->originX = rsRand(gWidth * 2 / PULSE_SIZE) * PULSE_SIZE;
114 pulse->originX = gWidth * 2 / scale;
147 rsgDrawRect(0.0f, 0.0f, gHeight*2, gWidth, 0.0f);
149 rsgDrawRect(0.0f, 0.0f, gWidth*2, gHeight, 0.0f);
171 rsMatrixTranslate(&modelMatrix, -(gXOffset * gWidth), 0, 0);
201 if (xx >= gWidth * 2) {
302 gWidth = rsgGetWidth();
304 gRotate = gWidth > gHeight ? 1 : 0
    [all...]
  /packages/wallpapers/Basic/src/com/android/wallpaper/grass/
grass.rs 33 int gWidth;
212 float xpos = rsRand(-gWidth, gWidth);
415 float x = mix((float)gWidth, 0.f, gXOffset);
426 drawNight(gWidth, gHeight);
431 drawNight(gWidth, gHeight);
434 drawSunrise(gWidth, gHeight);
436 drawSunrise(gWidth, gHeight);
438 drawNoon(gWidth, gHeight);
441 drawNoon(gWidth, gHeight)
    [all...]
  /frameworks/base/tests/RenderScriptTests/PerfTest/src/com/android/perftest/
ui_test.rs 45 static int gWidth;
181 float scale = gGalaxyRadius / (gWidth * 0.5f);
194 gWidth, 0.0f, 0.0f, 2.0f, 1.0f,
195 gWidth, gHeight, 0.0f, 2.0f, 0.0f,
204 float scale = 512.0f / gWidth;
222 if (gHeight > gWidth) {
387 gWidth = rsgGetWidth();
389 if ((gWidth != gOldWidth) || (gHeight != gOldHeight)) {
391 gOldWidth = gWidth;
  /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);
  /packages/wallpapers/HoloSpiral/src/com/android/wallpaper/holospiral/
holo_spiral.rs 74 static float gWidth;
128 gWidth = width;
131 rsMatrixLoadPerspective(&gProjectionMatrix, FOV, gWidth / gHeight, gNearPlane, gFarPlane);
  /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_perf/
filltest.cpp 38 gWidth = w;
  /frameworks/rs/java/tests/LivePreview/src/com/android/rs/livepreview/
yuv.rs 6 static int gWidth;
120 gWidth = w;
  /external/qemu/
curses.c 45 static int width, height, gwidth, gheight, invalidate; variable
63 width = gwidth;
101 if (ds_get_width(ds) == gwidth && ds_get_height(ds) == gheight)
104 gwidth = ds_get_width(ds);
  /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)),

Completed in 417 milliseconds

1 2