/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];
|
/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...] |
RadialGradientTest.java | 46 final float[] positions = { 0f, 0.3f, 1f }; local 48 RadialGradient rg = new RadialGradient(CENTER, CENTER, RADIUS, colors, positions, 55 checkPixels(b, colors, positions, tolerance); 65 final float[] positions = { 0f, 1f }; local 74 checkPixels(b, colors, positions, tolerance); 77 private void checkPixels(Bitmap bitmap, int[] colors, float[] positions, int tolerance) { 83 for (idx = 0; idx < positions.length; idx++) { 84 if (positions[idx] > dist) { 91 } else if (idx == positions.length) { 93 color = colors[positions.length - 1] [all...] |
/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); 60 int colors[], float positions[]);
|
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); 62 int colors[], float positions[], int tileMode);
|
LinearGradient.java | 27 @param positions May be null. The relative positions [0..1] of 33 int colors[], float positions[], TileMode tile) { 37 if (positions != null && colors.length != positions.length) { 40 native_instance = nativeCreate1(x0, y0, x1, y1, colors, positions, tile.nativeInt); 59 int colors[], float positions[], int tileMode);
|
/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)); 69 return nativeCreate1(x0, y0, x1, y1, new int[] { color0, color1}, null /*positions*/, 83 * @param positions May be null. The relative positions [0..1] of each 89 int colors[], float positions[], TileMode tile) { 90 super(colors, positions); 109 float positions[], TileMode tile) { 110 super(colors, positions, tile);
|
SweepGradient_Delegate.java | 55 /*package*/ static int nativeCreate1(float x, float y, int colors[], float positions[]) { 56 SweepGradient_Delegate newDelegate = new SweepGradient_Delegate(x, y, colors, positions); 62 return nativeCreate1(x, y, new int[] { color0, color1 }, null /*positions*/); 74 * @param positions May be NULL. The relative position of 78 * If positions is NULL, then the colors are automatically 82 int colors[], float positions[]) { 83 super(colors, positions); 93 float[] positions) { 94 super(colors, positions, null /*tileMode*/);
|
/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...] |
/external/webkit/WebCore/dom/ |
Position.h | 71 // For creating legacy editing positions: (Anchor type will be determined from editingIgnoresContent(node)) 74 // For creating before/after positions: 76 // For creating offset positions: 83 // These are always DOM compliant values. Editing positions like [img, 0] (aka [img, before]) 86 int computeOffsetInContainerNode() const; // O(n) for before/after-anchored positions, O(1) for parent-anchored positions 88 // Inline O(1) access for Positions which callers know to be parent-anchored 109 // For nodes which editingIgnoresContent(node()) returns true, positions like [ignoredNode, 0] 113 // These should only be used for PositionIsOffsetInAnchor positions, unless 138 // Returns true if the visually equivalent positions around have different editabilit [all...] |
/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/icu4c/layout/ |
KernTable.h | 44 * Process the glyph positions.
|
/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'*' \
|
/dalvik/dx/tests/044-dex-math-ops/ |
run | 18 dx --debug --dex --no-optimize --positions=none --no-locals \
|
/dalvik/dx/tests/045-dex-switch-ops/ |
run | 18 dx --debug --dex --no-optimize --positions=none --no-locals \
|
/dalvik/dx/tests/046-dex-exceptions/ |
run | 18 dx --debug --dex --no-optimize --positions=none --no-locals --dump-method=Blort.exTest'*' *.class
|
/dalvik/dx/tests/047-dex-wide-args/ |
run | 18 dx --debug --dex --no-optimize --positions=none --no-locals \
|
/dalvik/dx/tests/048-dex-new-array/ |
run | 18 dx --debug --dex --positions=none --no-locals --dump-method=Blort.test *.class
|
/dalvik/dx/tests/049-dex-instanceof/ |
run | 18 dx --debug --dex --no-optimize --positions=none --no-locals \
|