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

1 2 3 4 5 6 7 8 91011>>

  /external/icu/icu4c/source/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;
  /cts/tests/tests/graphics/src/android/graphics/cts/
SweepGradientTest.java 54 final float[] positions = new float[] { 0f, 1f }; local
58 checkColors(colors, positions, TOLERANCE);
63 final float[] positions = new float[] { 0f, 0.3f, 1f }; local
64 Shader shader = new SweepGradient(CENTER, CENTER, colors, positions);
68 checkColors(colors, positions, TOLERANCE);
73 final float[] positions = new float[] { 0f, 0.25f, 0.5f, 1f }; local
75 Shader shader = new SweepGradient(CENTER, CENTER, colors, positions);
79 checkColors(colors, positions, TOLERANCE);
82 private void checkColors(int[] colors, float[] positions, int tolerance) {
94 for (idx = 0; idx < positions.length; idx++)
    [all...]
  /frameworks/base/graphics/java/android/graphics/
LinearGradient.java 47 @param positions May be null. The relative positions [0..1] of
52 public LinearGradient(float x0, float y0, float x1, float y1, int colors[], float positions[],
57 if (positions != null && colors.length != positions.length) {
66 mPositions = positions;
68 init(nativeCreate1(x0, y0, x1, y1, colors, positions, tile.nativeInt));
109 "colors and positions or start color and end color");
116 int colors[], float positions[], int tileMode);
SweepGradient.java 44 * @param positions May be NULL. The relative position of
48 * If positions is NULL, then the colors are automatically
52 int colors[], float positions[]) {
56 if (positions != null && colors.length != positions.length) {
64 mPositions = positions;
65 init(nativeCreate1(cx, cy, colors, positions));
101 "colors and positions or start color and end color");
107 private static native long nativeCreate1(float x, float y, int colors[], float positions[]);
  /frameworks/base/libs/hwui/
TextDropShadowCache.h 38 flags(0), italicStyle(0.0f), scaleX(0), text(nullptr), positions(nullptr) {
43 const float* positions):
44 len(len), radius(radius), positions(positions) {
79 if (positions != nullptr) {
81 positionsCopy.appendArray(positions, charCount * 2);
82 positions = positionsCopy.array();
94 const float* positions; member in struct:android::uirenderer::ShadowText
140 int numGlyphs, float radius, const float* positions);
GradientCache.h 39 positions = nullptr;
42 GradientCacheEntry(uint32_t* colors, float* positions, uint32_t count) {
43 copy(colors, positions, count);
47 copy(entry.colors.get(), entry.positions.get(), entry.count);
52 copy(entry.colors.get(), entry.positions.get(), entry.count);
71 std::unique_ptr<float[]> positions; member in struct:android::uirenderer::GradientCacheEntry
75 void copy(uint32_t* colors, float* positions, uint32_t count) {
78 this->positions.reset(new float[count]);
81 memcpy(this->positions.get(), positions, count * sizeof(float))
    [all...]
TextDropShadowCache.cpp 47 if (positions) {
49 hash = JenkinsHashMix(hash, android::hash_type(positions[i]));
85 if (lhs.positions != rhs.positions) {
86 if (!lhs.positions) return -1;
87 if (!rhs.positions) return +1;
89 return memcmp(lhs.positions, rhs.positions, lhs.len << 2);
174 int numGlyphs, float radius, const float* positions) {
175 ShadowText entry(paint, radius, len, text, positions);
    [all...]
GradientCache.cpp 46 hash = JenkinsHashMix(hash, android::hash_type(positions[i]));
58 return memcmp(lhs.positions.get(), rhs.positions.get(), lhs.count * sizeof(float));
125 Texture* GradientCache::get(uint32_t* colors, float* positions, int count) {
126 GradientCacheEntry gradient(colors, positions, count);
130 texture = addLinearGradient(gradient, colors, positions, count);
164 uint32_t* colors, float* positions, int count) {
181 generateTexture(colors, positions, texture);
234 void GradientCache::generateTexture(uint32_t* colors, float* positions, Texture* texture) {
258 float startPos = positions[0]
    [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...]
  /external/androidplot/AndroidPlot-Core/src/main/java/com/androidplot/ui/
AnchorPosition.java 20 * Enumeration of possible anchor positions that a {@link com.androidplot.ui.widget.Widget} can use. There are a total
21 * 8 possible anchor positions representing each corner of the Widget and the point exactly between each corner.
  /external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/
MediaPlayerTest.java 27 int[] positions = {0, 1, 2, 1024}; local
29 for (int position : positions) {
  /sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/internal/editors/
AndroidDoubleClickStrategyTest.java 63 Point positions = strategy.getWord(before, cursor); local
64 assertNotNull(positions);
65 assertTrue(positions.y >= positions.x);
66 String after = before.substring(0, positions.x) + '[' +
67 before.substring(positions.x, positions.y) + ']' +
68 before.substring(positions.y);
  /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/harfbuzz_ng/test/api/
test-shape.c 38 /* TODO Test positions too. And test non-native direction. Test commit 2e18c6dbdfb */
93 hb_glyph_position_t *positions; local
117 positions = hb_buffer_get_glyph_positions (buffer, NULL);
130 g_assert_cmpint (output_x_advances[i], ==, positions[i].x_advance);
131 g_assert_cmpint (output_x_offsets [i], ==, positions[i].x_offset);
132 g_assert_cmpint (0, ==, positions[i].y_advance);
133 g_assert_cmpint (0, ==, positions[i].y_offset);
  /external/jmonkeyengine/engine/src/blender/com/jme3/scene/plugins/blender/textures/
UVProjectionGenerator.java 34 FloatBuffer positions = mesh.getFloatBuffer(VertexBuffer.Type.Position); local
35 float[] uvCoordinates = new float[positions.limit() / 3 * 2];
36 for (int i = 0, j = 0; i < positions.limit(); i += 3, j += 2) {
37 uvCoordinates[j] = (positions.get(i) - min.x) / ext[0];
38 uvCoordinates[j + 1] = (positions.get(i + 1) - min.y) / ext[1];
117 FloatBuffer positions = mesh.getFloatBuffer(VertexBuffer.Type.Position); local
118 float[] uvCoordinates = new float[positions.limit() / 3 * 2];
124 for (int i = 0, j = 0; i < positions.limit(); i += 3, j += 2) {
126 v.set(positions.get(i)-cx, positions.get(i + 1)-cy, 0)
176 FloatBuffer positions = mesh.getFloatBuffer(VertexBuffer.Type.Position); local
    [all...]
  /external/jmonkeyengine/engine/src/core/com/jme3/scene/debug/
Arrow.java 53 private static final float[] positions = new float[]{ field in class:Arrow
82 float[] newPositions = new float[positions.length];
83 for (int i = 0; i < positions.length; i += 3) {
84 Vector3f vec = tempVec.set(positions[i],
85 positions[i + 1],
86 positions[i + 2]);
125 for (int i = 0; i < positions.length; i += 3) {
126 Vector3f vec = tempVec.set(positions[i],
127 positions[i + 1],
128 positions[i + 2])
    [all...]
  /external/v8/test/mjsunit/
debug-stepin-positions.js 48 assertHasLineMark(/positions/, exec_state.frame(frame_number));
107 assertTrue(false, "Some positions are not reported: " + decoratedResult);
140 var res = [ g(1), /*#*/g(2) ]; /*positions*/
157 var res = [ /*#*/f(1), /*#*/g(2) ]; /*pause, positions*/
170 var res = [ /*#*/g(Math.rand), /*#*/g(2) ]; /*pause, positions*/
182 var res = [ /*#*/g(), /*#*/g() ]; /*pause, positions*/
194 var res = [ DebuggerStatement(), data./*#*/a(), data[/*#*/String("a")]/*#*/(), data["a"]/*#*/(), data.a, data["a"] ]; /*positions*/
203 var res = [ DebuggerStatement(), /*#*/g(2), /*#*/g(2)/*#*/(3), /*#*/g(0)/*#*/(0)/*#*/(g) ]; /*positions*/
213 var res = /*#*/f(DebuggerStatement(), /*#*/p(/*#*/new f())); /*positions*/
221 var res = [ Math.abs(new Object()), DebuggerStatement(), Math./*#*/abs(4), /*#*/new Object()./*#*/toString() ]; /*positions*/
    [all...]
  /frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
GradientStopsActivity.java 46 float[] positions = new float[] { 0.3f, 0.6f }; local
48 colors, positions, Shader.TileMode.CLAMP);
56 positions = new float[] { 0.3f, 0.6f, 1.0f };
58 colors, positions, Shader.TileMode.CLAMP);
66 positions = new float[] { 0.0f, 0.3f, 0.6f };
68 colors, positions, Shader.TileMode.CLAMP);
  /external/bison/darwin-lib/
uniwidth.h 40 /* Determine number of column positions required for UC. */
45 /* Determine number of column positions required for first N units
57 /* Determine number of column positions required for S. */
  /external/bison/lib/
uniwidth.in.h 39 /* Determine number of column positions required for UC. */
44 /* Determine number of column positions required for first N units
56 /* Determine number of column positions required for S. */
  /external/bison/linux-lib/
uniwidth.h 40 /* Determine number of column positions required for UC. */
45 /* Determine number of column positions required for first N units
57 /* Determine number of column positions required for S. */
  /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

Completed in 903 milliseconds

1 2 3 4 5 6 7 8 91011>>