/frameworks/base/libs/hwui/ |
GradientCache.h | 35 positions = NULL; 39 GradientCacheEntry(uint32_t* colors, float* positions, int count, 41 copy(colors, positions, count, tileMode); 45 copy(entry.colors, entry.positions, entry.count, entry.tileMode); 50 delete[] positions; 56 delete[] positions; 58 copy(entry.colors, entry.positions, entry.count, entry.tileMode); 71 result = memcmp(positions, rhs.positions, count * sizeof(float)); 80 float* positions; member in struct:android::uirenderer::GradientCacheEntry [all...] |
GradientCache.cpp | 100 Texture* GradientCache::get(uint32_t* colors, float* positions, 103 GradientCacheEntry gradient(colors, positions, count, tileMode); 107 texture = addLinearGradient(gradient, colors, positions, count, tileMode); 118 uint32_t* colors, float* positions, int count, SkShader::TileMode tileMode) { 131 reinterpret_cast<const SkColor*>(colors), positions, count, tileMode);
|
/external/icu4c/samples/layout/ |
rsurface.cpp | 17 const float *positions, le_int32 x, le_int32 y, le_int32 width, le_int32 height) 21 rs->drawGlyphs((const LEFontInstance *) font, glyphs, count, positions, x, y, width, height);
|
rsurface.h | 17 const float *positions, le_int32 x, le_int32 y, le_int32 width, le_int32 height);
|
RenderingSurface.h | 27 const float *positions, le_int32 x, le_int32 y, le_int32 width, le_int32 height) = 0;
|
GnomeFontInstance.cpp | 42 const float *positions, le_int32 x, le_int32 y, le_int32 /*width*/, le_int32 /*height*/) 46 gFont->rasterizeGlyphs(fCairo, glyphs, count, positions, x, y); 178 void GnomeFontInstance::rasterizeGlyphs(cairo_t *cairo, const LEGlyphID *glyphs, le_int32 glyphCount, const float *positions, 189 glyph_t[out].x = x + positions[in*2]; 190 glyph_t[out].y = y + positions[in*2 + 1];
|
/frameworks/base/graphics/java/android/graphics/ |
SweepGradient.java | 28 * @param positions May be NULL. The relative position of 32 * If positions is NULL, then the colors are automatically 36 int colors[], float positions[]) { 40 if (positions != null && colors.length != positions.length) { 44 native_instance = nativeCreate1(cx, cy, colors, positions); 45 native_shader = nativePostCreate1(native_instance, cx, cy, colors, positions); 61 private static native int nativeCreate1(float x, float y, int colors[], float positions[]); 65 int[] colors, float[] positions);
|
LinearGradient.java | 26 @param positions May be null. The relative positions [0..1] of 32 int colors[], float positions[], TileMode tile) { 36 if (positions != null && colors.length != positions.length) { 39 native_instance = nativeCreate1(x0, y0, x1, y1, colors, positions, tile.nativeInt); 40 native_shader = nativePostCreate1(native_instance, x0, y0, x1, y1, colors, positions, 61 int colors[], float positions[], int tileMode); 65 int colors[], float positions[], int tileMode);
|
RadialGradient.java | 26 @param positions May be NULL. The relative position of 32 int colors[], float positions[], TileMode tile) { 39 if (positions != null && colors.length != positions.length) { 42 native_instance = nativeCreate1(x, y, radius, colors, positions, tile.nativeInt); 43 native_shader = nativePostCreate1(native_instance, x, y, radius, colors, positions, 66 int colors[], float positions[], int tileMode); 71 int colors[], float positions[], int tileMode);
|
/cts/tests/tests/graphics/src/android/graphics/cts/ |
SweepGradientTest.java | 63 final float[] positions = new float[] { 0f, 1f }; local 67 checkColors(colors, positions, TOLERANCE); 77 final float[] positions = new float[] { 0f, 0.3f, 1f }; local 78 Shader shader = new SweepGradient(CENTER, CENTER, colors, positions); 82 checkColors(colors, positions, TOLERANCE); 92 final float[] positions = new float[] { 0f, 0.25f, 0.5f, 1f }; local 94 Shader shader = new SweepGradient(CENTER, CENTER, colors, positions); 98 checkColors(colors, positions, TOLERANCE); 101 private void checkColors(int[] colors, float[] positions, int tolerance) { 113 for (idx = 0; idx < positions.length; idx++) [all...] |
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
Gradient_Delegate.java | 45 * @param positions May be null. The relative positions [0..1] of each 49 protected Gradient_Delegate(int colors[], float positions[]) { 53 if (positions != null && colors.length != positions.length) { 57 if (positions == null) { 59 positions = new float[colors.length]; 60 positions[0] = 0.f; 61 positions[colors.length-1] = 1.f; 63 positions[i] = spacing * i [all...] |
LinearGradient_Delegate.java | 59 int colors[], float positions[], int tileMode) { 61 colors, positions, Shader_Delegate.getTileMode(tileMode)); 70 x0, y0, x1, y1, new int[] { color0, color1}, null /*positions*/, 77 int colors[], float positions[], int tileMode) { 100 * @param positions May be null. The relative positions [0..1] of each 106 int colors[], float positions[], TileMode tile) { 107 super(colors, positions); 126 float positions[], TileMode tile) { 127 super(colors, positions, tile) [all...] |
/development/samples/GlobalTime/src/com/android/globaltime/ |
PointCloud.java | 29 * (x, y, z) positions. 30 * @param vertices an array of (x, y, z) positions given in fixed-point. 38 * (x, y, z) positions. 39 * @param vertices an array of (x, y, z) positions given in fixed-point.
|
/dalvik/dx/tests/069-dex-source-position/ |
run | 18 dx --debug --dex --no-optimize --positions=none --no-locals \ 20 dx --debug --dex --no-optimize --positions=important --no-locals \ 22 dx --debug --dex --no-optimize --positions=lines --no-locals \
|
/frameworks/base/opengl/java/android/opengl/ |
Visibility.java | 32 * @param positions the vertex positions (x, y, z). 33 * @param positionsOffset the index in the positions array where the data 46 * positions is null, positionsOffset < 0, indices is null, 50 float[] positions, int positionsOffset, char[] indices, 110 * @param positions positions in x, y, z triples 111 * @param positionsOffset offset into positions array 116 * @throws IllegalArgumentException if positions is null, 117 * positionsOffset < 0, positionsOffset > positions.length - positionsCount [all...] |
/dalvik/dexgen/src/com/android/dexgen/dex/code/ |
DalvCode.java | 54 * {@code null-ok;} source positions list; set in 57 private PositionList positions; field in class:DalvCode 95 this.positions = null; 109 positions = PositionList.make(insns, positionInfo); 200 * Gets the source positions list. 202 * @return {@code non-null;} the source positions list 206 return positions; 210 * Gets the source positions list. 212 * @return {@code non-null;} the source positions list
|
/dalvik/dx/src/com/android/dx/dex/code/ |
DalvCode.java | 54 * {@code null-ok;} source positions list; set in 57 private PositionList positions; field in class:DalvCode 95 this.positions = null; 109 positions = PositionList.make(insns, positionInfo); 200 * Gets the source positions list. 202 * @return {@code non-null;} the source positions list 206 return positions; 210 * Gets the source positions list. 212 * @return {@code non-null;} the source positions list
|
/external/chromium/chrome/browser/history/ |
snippet.h | 18 // Each MatchPosition is the [begin, end) positions of a match within a 34 // NOTE: the positions returned are in terms of UTF8 encoding. To convert the 40 // Converts match positions as returned from ExtractMatchPositions to be in 49 // Given |matches|, the match positions within |document|, compute the snippet
|
/external/icu4c/layout/ |
KernTable.h | 44 * Process the glyph positions.
|
/external/webkit/Source/WebCore/dom/ |
Position.h | 67 // For creating legacy editing positions: (Anchor type will be determined from editingIgnoresContent(node)) 70 // For creating before/after positions: 72 // For creating offset positions: 79 // These are always DOM compliant values. Editing positions like [img, 0] (aka [img, before]) 82 int computeOffsetInContainerNode() const; // O(n) for before/after-anchored positions, O(1) for parent-anchored positions 83 Position parentAnchoredEquivalent() const; // Convenience method for DOM positions that also fixes up some positions for editing 85 // Inline O(1) access for Positions which callers know to be parent-anchored 107 // For nodes which editingIgnoresContent(node()) returns true, positions like [ignoredNode, 0 [all...] |
/external/replicaisland/src/com/replica/replicaisland/ |
Grid.java | 150 public void set(int quadX, int quadY, float[][] positions, float[][] uvs) { 157 if (positions.length < 4) { 158 throw new IllegalArgumentException("positions"); 167 setVertex(i, j, positions[0][0], positions[0][1], positions[0][2], uvs[0][0], uvs[0][1]); 168 setVertex(i + 1, j, positions[1][0], positions[1][1], positions[1][2], uvs[1][0], uvs[1][1]); 169 setVertex(i, j + 1, positions[2][0], positions[2][1], positions[2][2], uvs[2][0], uvs[2][1]) [all...] |
/dalvik/dx/tests/097-dex-branch-offset-zero/ |
run | 18 dx --debug --dex --positions=none --no-locals --dump-method=Blort.test'*' \ 25 dx --debug --dex --positions=none --no-locals --dump-method=Blort.test'*' \
|
/ndk/sources/host-tools/make-3.81/config/ |
printf-posix.m4 | 11 dnl positions. 43 [Define if your printf() function supports format strings with positions.])
|
/packages/apps/Mms/src/com/android/mms/ui/ |
Divot.java | 11 // Used for non-middle positions. For middle positions this distance is basically
|
/external/webkit/Source/WebCore/platform/graphics/mac/ |
FontMac.mm | 110 Vector<CGPoint, 256> positions(count); 113 positions[i] = CGPointApplyAffineTransform(CGPointMake(position.x - translation.width, position.y + translation.height), transform); 117 CGContextShowGlyphsAtPositions(context, glyphs, positions.data(), count); 127 Vector<CGPoint, 256> positions(count); 129 positions[0] = CGPointZero; 132 positions[i].x = positions[i - 1].x + advance.width; 133 positions[i].y = positions[i - 1].y + advance.height; 135 CTFontDrawGlyphs(platformData.ctFont(), glyphs, positions.data(), count, context) [all...] |