/frameworks/base/libs/hwui/ |
D | GradientCache.h | 36 positions = NULL; in GradientCacheEntry() 40 GradientCacheEntry(uint32_t* colors, float* positions, int count, in GradientCacheEntry() 42 copy(colors, positions, count, tileMode); in GradientCacheEntry() 46 copy(entry.colors, entry.positions, entry.count, entry.tileMode); in GradientCacheEntry() 51 delete[] positions; in ~GradientCacheEntry() 57 delete[] positions; 59 copy(entry.colors, entry.positions, entry.count, entry.tileMode); 72 result = memcmp(positions, rhs.positions, count * sizeof(float)); in LTE_INT() 81 float* positions; member 87 void copy(uint32_t* colors, float* positions, int count, SkShader::TileMode tileMode) { in copy() [all …]
|
D | GradientCache.cpp | 100 Texture* GradientCache::get(uint32_t* colors, float* positions, in get() argument 103 GradientCacheEntry gradient(colors, positions, count, tileMode); in get() 107 texture = addLinearGradient(gradient, colors, positions, count, tileMode); in get() 118 uint32_t* colors, float* positions, int count, SkShader::TileMode tileMode) { in addLinearGradient() argument 131 reinterpret_cast<const SkColor*>(colors), positions, count, tileMode); in addLinearGradient()
|
D | SkiaShader.cpp | 178 float* positions, int count, SkShader* key, SkShader::TileMode tileMode, in SkiaLinearGradientShader() argument 181 mBounds(bounds), mColors(colors), mPositions(positions), mCount(count) { in SkiaLinearGradientShader() 253 uint32_t* colors, float* positions, int count, SkShader* key, SkShader::TileMode tileMode, in SkiaCircularGradientShader() argument 255 SkiaSweepGradientShader(kCircularGradient, x, y, colors, positions, count, key, in SkiaCircularGradientShader() 290 float* positions, int count, SkShader* key, SkMatrix* matrix, bool blend): in SkiaSweepGradientShader() argument 293 mColors(colors), mPositions(positions), mCount(count) { in SkiaSweepGradientShader() 302 float* positions, int count, SkShader* key, SkShader::TileMode tileMode, in SkiaSweepGradientShader() argument 305 mColors(colors), mPositions(positions), mCount(count) { in SkiaSweepGradientShader()
|
D | SkiaShader.h | 174 ANDROID_API SkiaLinearGradientShader(float* bounds, uint32_t* colors, float* positions, 198 ANDROID_API SkiaSweepGradientShader(float x, float y, uint32_t* colors, float* positions, 209 SkiaSweepGradientShader(Type type, float x, float y, uint32_t* colors, float* positions, 224 float* positions, int count, SkShader* key,SkShader::TileMode tileMode,
|
D | FontRenderer.cpp | 235 int numGlyphs, int x, int y, const float* positions) { in render() argument 237 0, 0, NULL, positions); in render() 302 uint32_t bitmapW, uint32_t bitmapH, Rect* bounds, const float* positions) { in render() argument 317 if (CC_LIKELY(positions == NULL)) { in render() 338 bitmap, bitmapW, bitmapH, bounds, positions); in render() 361 int penX = x + positions[(glyphsCount << 1)]; in render() 362 int penY = y + positions[(glyphsCount << 1) + 1]; in render() 377 bitmap, bitmapW, bitmapH, bounds, positions); in render() 1081 const float* positions, Rect* bounds) { in renderPosText() argument 1088 mCurrentFont->render(paint, text, startIndex, len, numGlyphs, x, y, positions); in renderPosText()
|
D | FontRenderer.h | 160 int numGlyphs, int x, int y, const float* positions); 185 uint32_t bitmapW, uint32_t bitmapH, Rect *bounds, const float* positions); 253 uint32_t len, int numGlyphs, int x, int y, const float* positions, Rect* bounds);
|
D | DisplayListRenderer.cpp | 600 float* positions = getFloats(positionsCount); in output() local 1218 float* positions = getFloats(positionsCount); in replay() local 1223 positions, paint); in replay() 1714 const float* positions, SkPaint* paint) { in drawPosText() argument 1719 addFloats(positions, count * 2); in drawPosText()
|
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
D | Gradient_Delegate.java | 49 protected Gradient_Delegate(int colors[], float positions[]) { in Gradient_Delegate() argument 53 if (positions != null && colors.length != positions.length) { in Gradient_Delegate() 57 if (positions == null) { in Gradient_Delegate() 59 positions = new float[colors.length]; in Gradient_Delegate() 60 positions[0] = 0.f; in Gradient_Delegate() 61 positions[colors.length-1] = 1.f; in Gradient_Delegate() 63 positions[i] = spacing * i; in Gradient_Delegate() 68 mPositions = positions; in Gradient_Delegate() 84 protected GradientPaint(int[] colors, float[] positions, TileMode tileMode) { in GradientPaint() argument 86 mPositions = positions; in GradientPaint()
|
D | RadialGradient_Delegate.java | 58 int colors[], float positions[], int tileMode) { in nativeCreate1() argument 60 colors, positions, Shader_Delegate.getTileMode(tileMode)); in nativeCreate1() 73 int colors[], float positions[], int tileMode) { in nativePostCreate1() argument 101 private RadialGradient_Delegate(float x, float y, float radius, int colors[], float positions[], in RadialGradient_Delegate() argument 103 super(colors, positions); in RadialGradient_Delegate() 114 int[] colors, float[] positions, TileMode mode) { in RadialGradientPaint() argument 115 super(colors, positions, mode); in RadialGradientPaint()
|
D | SweepGradient_Delegate.java | 55 /*package*/ static int nativeCreate1(float x, float y, int colors[], float positions[]) { in nativeCreate1() argument 56 SweepGradient_Delegate newDelegate = new SweepGradient_Delegate(x, y, colors, positions); in nativeCreate1() 67 int[] colors, float[] positions) { in nativePostCreate1() argument 96 int colors[], float positions[]) { in SweepGradient_Delegate() argument 97 super(colors, positions); in SweepGradient_Delegate() 107 float[] positions) { in SweepGradientPaint() argument 108 super(colors, positions, null /*tileMode*/); in SweepGradientPaint()
|
D | LinearGradient_Delegate.java | 59 int colors[], float positions[], int tileMode) { in nativeCreate1() argument 61 colors, positions, Shader_Delegate.getTileMode(tileMode)); in nativeCreate1() 77 int colors[], float positions[], int tileMode) { in nativePostCreate1() argument 106 int colors[], float positions[], TileMode tile) { in LinearGradient_Delegate() argument 107 super(colors, positions); in LinearGradient_Delegate() 126 float positions[], TileMode tile) { in LinearGradientPaint() argument 127 super(colors, positions, tile); in LinearGradientPaint()
|
/frameworks/base/graphics/java/android/graphics/ |
D | SweepGradient.java | 36 int colors[], float positions[]) { in SweepGradient() argument 40 if (positions != null && colors.length != positions.length) { in SweepGradient() 44 native_instance = nativeCreate1(cx, cy, colors, positions); in SweepGradient() 45 native_shader = nativePostCreate1(native_instance, cx, cy, colors, positions); in SweepGradient() 61 private static native int nativeCreate1(float x, float y, int colors[], float positions[]); in nativeCreate1() argument 65 int[] colors, float[] positions); in nativePostCreate1() argument
|
D | RadialGradient.java | 32 int colors[], float positions[], TileMode tile) { in RadialGradient() argument 39 if (positions != null && colors.length != positions.length) { in RadialGradient() 42 native_instance = nativeCreate1(x, y, radius, colors, positions, tile.nativeInt); in RadialGradient() 43 native_shader = nativePostCreate1(native_instance, x, y, radius, colors, positions, in RadialGradient() 66 int colors[], float positions[], int tileMode); in nativeCreate1() argument 71 int colors[], float positions[], int tileMode); in nativePostCreate1() argument
|
D | LinearGradient.java | 31 public LinearGradient(float x0, float y0, float x1, float y1, int colors[], float positions[], in LinearGradient() argument 36 if (positions != null && colors.length != positions.length) { in LinearGradient() 39 native_instance = nativeCreate1(x0, y0, x1, y1, colors, positions, tile.nativeInt); in LinearGradient() 40 native_shader = nativePostCreate1(native_instance, x0, y0, x1, y1, colors, positions, in LinearGradient() 61 int colors[], float positions[], int tileMode); in nativeCreate1() argument 65 int colors[], float positions[], int tileMode); in nativePostCreate1() argument
|
/frameworks/base/include/androidfw/ |
D | VelocityTracker.h | 83 void addMovement(nsecs_t eventTime, BitSet32 idBits, const Position* positions); 131 const VelocityTracker::Position* positions) = 0; 163 const VelocityTracker::Position* positions); 178 VelocityTracker::Position positions[MAX_POINTERS]; member 181 return positions[idBits.getIndexOfBit(id)]; in getPosition() 206 const VelocityTracker::Position* positions); 240 const VelocityTracker::Position* positions); 256 VelocityTracker::Position positions[MAX_POINTERS]; member 259 return positions[idBits.getIndexOfBit(id)]; in getPosition()
|
/frameworks/base/libs/androidfw/ |
D | VelocityTracker.cpp | 221 void VelocityTracker::addMovement(nsecs_t eventTime, BitSet32 idBits, const Position* positions) { in addMovement() argument 243 mStrategy->addMovement(eventTime, idBits, positions); in addMovement() 256 id, positions[index].x, positions[index].y, in addMovement() 314 Position positions[pointerCount]; in addMovement() local 321 positions[index].x = event->getHistoricalX(i, h); in addMovement() 322 positions[index].y = event->getHistoricalY(i, h); in addMovement() 324 addMovement(eventTime, idBits, positions); in addMovement() 330 positions[index].x = event->getX(i); in addMovement() 331 positions[index].y = event->getY(i); in addMovement() 333 addMovement(eventTime, idBits, positions); in addMovement() [all …]
|
/frameworks/base/opengl/java/android/opengl/ |
D | Visibility.java | 50 float[] positions, int positionsOffset, char[] indices, in visibilityTest() argument 120 public static native void computeBoundingSphere(float[] positions, in computeBoundingSphere() argument
|
/frameworks/base/core/jni/android/opengl/ |
D | util.cpp | 238 FloatArrayHelper positions(env, positions_ref, positionsOffset, 0); in util_computeBoundingSphere() local 241 bool checkOK = positions.check() && sphere.check(); in util_computeBoundingSphere() 246 positions.bind(); in util_computeBoundingSphere() 254 const float* pSrc = positions.mData; in util_computeBoundingSphere() 445 FloatArrayHelper positions(env, positions_ref, positionsOffset, 0); in util_visibilityTest() local 448 bool checkOK = ws.check() && positions.check() && indices.check(); in util_visibilityTest() 460 positions.bind(); in util_visibilityTest() 464 positions.mData, positions.mLength, in util_visibilityTest()
|
/frameworks/base/core/jni/ |
D | android_view_GLES20Canvas.cpp | 620 const jfloat* positions, jint dirFlags, SkPaint* paint) { in renderPosText() argument 631 renderer->drawPosText((const char*) glyphs, bytesCount, glyphsCount, positions, paint); in renderPosText() 638 jfloat* positions = env->GetFloatArrayElements(pos, NULL); in android_view_GLES20Canvas_drawPosTextArray() local 640 renderPosText(renderer, textArray + index, count, positions, kBidi_LTR, paint); in android_view_GLES20Canvas_drawPosTextArray() 642 env->ReleaseFloatArrayElements(pos, positions, JNI_ABORT); in android_view_GLES20Canvas_drawPosTextArray() 650 jfloat* positions = env->GetFloatArrayElements(pos, NULL); in android_view_GLES20Canvas_drawPosText() local 652 renderPosText(renderer, textArray + start, end - start, positions, kBidi_LTR, paint); in android_view_GLES20Canvas_drawPosText() 654 env->ReleaseFloatArrayElements(pos, positions, JNI_ABORT); in android_view_GLES20Canvas_drawPosText()
|
/frameworks/base/data/keyboards/ |
D | Vendor_046d_Product_c294.kl | 31 # Gear shift positions
|
D | Vendor_046d_Product_c299.kl | 31 # Gear shift positions
|
/frameworks/base/core/tests/coretests/src/android/util/ |
D | ListScenario.java | 180 public Params setPositionsUnselectable(int ...positions) { in setPositionsUnselectable() argument 181 for (int pos : positions) { in setPositionsUnselectable()
|
/frameworks/base/docs/html/guide/topics/ui/layout/ |
D | relative.jd | 22 positions. The position of each view can be specified as relative to sibling elements (such as to 23 the left-of or below another view) or in positions relative to the parent {@link
|
/frameworks/rs/scriptc/ |
D | rs_mesh.rsh | 54 * vertex data, e.g. positions, normals, texcoords
|
/frameworks/base/docs/html/training/custom-views/ |
D | making-interactive.jd | 204 <p>The {@link android.widget.Scroller Scroller} class computes scroll positions for you, but it does 206 apply those positions to your view. It's your responsibility to make sure you get and apply new
|