/frameworks/base/graphics/java/android/graphics/ |
D | SweepGradient.java | 63 @Nullable float[] positions) { in SweepGradient() argument 64 this(cx, cy, convertColors(colors), positions, ColorSpace.get(ColorSpace.Named.SRGB)); in SweepGradient() 85 @Nullable float[] positions) { in SweepGradient() argument 86 this(cx, cy, colors.clone(), positions, detectColorSpace(colors)); in SweepGradient() 94 @Nullable float[] positions, ColorSpace colorSpace) { in SweepGradient() argument 97 if (positions != null && colors.length != positions.length) { in SweepGradient() 104 mPositions = positions != null ? positions.clone() : null; in SweepGradient() 142 long[] colors, float[] positions, long colorSpaceHandle); in nativeCreate() argument
|
D | LinearGradient.java | 70 @Nullable float[] positions, @NonNull TileMode tile) { in LinearGradient() argument 71 this(x0, y0, x1, y1, convertColors(colors), positions, tile, in LinearGradient() 93 @Nullable float[] positions, @NonNull TileMode tile) { in LinearGradient() argument 94 this(x0, y0, x1, y1, colors.clone(), positions, tile, detectColorSpace(colors)); in LinearGradient() 102 @NonNull @ColorLong long[] colors, @Nullable float[] positions, @NonNull TileMode tile, in LinearGradient() argument 106 if (positions != null && colors.length != positions.length) { in LinearGradient() 114 mPositions = positions != null ? positions.clone() : null; in LinearGradient() 164 long[] colors, float[] positions, int tileMode, long colorSpaceHandle); in nativeCreate() argument
|
D | BaseCanvas.java | 484 @NonNull float[] positions, in drawGlyphs() argument 490 Objects.requireNonNull(positions, "positions must not be null."); in drawGlyphs() 499 if (positionOffset < 0 || positionOffset + glyphCount * 2 > positions.length) { in drawGlyphs() 504 nDrawGlyphs(mNativeCanvasWrapper, glyphIds, positions, glyphIdOffset, positionOffset, in drawGlyphs() 835 private static native void nDrawGlyphs(long nativeCanvas, int[] glyphIds, float[] positions, in nDrawGlyphs() argument
|
D | BaseRecordingCanvas.java | 422 @NonNull float[] positions, in drawGlyphs() argument 428 Objects.requireNonNull(positions, "positions must not be null."); in drawGlyphs() 437 if (positionOffset < 0 || positionOffset + glyphCount * 2 > positions.length) { in drawGlyphs() 442 nDrawGlyphs(mNativeCanvasWrapper, glyphIds, positions, glyphIdOffset, positionOffset, in drawGlyphs() 735 private static native void nDrawGlyphs(long nativeCanvas, int[] glyphIds, float[] positions, in nDrawGlyphs() argument
|
D | RadialGradient.java | 221 float[] positions, int tileMode, long colorSpaceHandle); in nativeCreate() argument
|
/frameworks/base/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/ |
D | GradientStopsActivity.java | 46 float[] positions = new float[] { 0.3f, 0.6f }; in onDraw() local 48 colors, positions, Shader.TileMode.CLAMP); in onDraw() 56 positions = new float[] { 0.3f, 0.6f, 1.0f }; in onDraw() 58 colors, positions, Shader.TileMode.CLAMP); in onDraw() 66 positions = new float[] { 0.0f, 0.3f, 0.6f }; in onDraw() 68 colors, positions, Shader.TileMode.CLAMP); in onDraw()
|
/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/packages/SystemUI/src/com/android/systemui/dreams/ |
D | DreamOverlayAnimationsController.kt | 219 positions = POSITION_BOTTOM in <lambda>() 230 positions = POSITION_TOP in <lambda>() 290 @Position positions: Int = POSITION_TOP or POSITION_BOTTOM, in <lambda>() 306 positions in <lambda>() 317 @Position positions: Int = POSITION_TOP or POSITION_BOTTOM, in <lambda>() 329 positions in <lambda>()
|
/frameworks/rs/tests/java_api/RsNbody/src/com/example/android/rs/nbody_gl/ |
D | nbody.rscript | 9 rs_allocation positions; // float4 23 rsSetElementAt_float4(positions, ctr_pos, 0); 57 int dimx = rsAllocationGetDimX(positions); 59 float4 mass = rsGetElementAt_float4(positions, i);
|
/frameworks/base/packages/EasterEgg/src/com/android/egg/landroid/ |
D | VisibleUniverse.kt | 317 positions, in ZoomedDrawScope() 323 if (positions.size < 2) return in ZoomedDrawScope() 324 var prev: Vec2 = positions[positions.size - 1] in ZoomedDrawScope() 326 positions.reversed().subList(1, positions.size).forEach { pos -> in ZoomedDrawScope()
|
D | Universe.kt | 419 val positions = ArrayDeque<Vec2>(TRACK_LENGTH) constant in Track 422 if (positions.size >= (TRACK_LENGTH - 1)) { in add() 423 positions.removeFirst() in add() 425 positions.removeFirst() in add() 428 positions.addLast(Vec2(x, y)) in add()
|
/frameworks/base/libs/hwui/hwui/ |
D | DrawTextFunctor.h | 92 auto glyphFunc = [&](uint16_t* text, float* positions) { in operator() 95 positions[posIndex++] = x + layout.getX(i); in operator() 96 positions[posIndex++] = y + layout.getY(i); in operator()
|
D | Canvas.cpp | 69 void Canvas::drawGlyphs(const minikin::Font& font, const int* glyphIds, const float* positions, in drawGlyphs() argument 78 memcpy(outPositions, positions, sizeof(float) * 2 * glyphCount); in drawGlyphs()
|
D | Canvas.h | 59 typedef std::function<void(uint16_t* text, float* positions)> ReadGlyphFunc; 254 void drawGlyphs(const minikin::Font& font, const int* glyphIds, const float* positions,
|
/frameworks/base/core/jni/android/opengl/ |
D | util.cpp | 314 FloatArrayHelper positions(env, positions_ref, positionsOffset, 0); in util_computeBoundingSphere() local 317 bool checkOK = positions.check() && sphere.check(); in util_computeBoundingSphere() 322 positions.bind(); in util_computeBoundingSphere() 330 const float* pSrc = positions.mData; in util_computeBoundingSphere() 521 FloatArrayHelper positions(env, positions_ref, positionsOffset, 0); in util_visibilityTest() local 524 bool checkOK = ws.check() && positions.check() && indices.check(); in util_visibilityTest() 536 positions.bind(); in util_visibilityTest() 540 positions.mData, positions.mLength, in util_visibilityTest()
|
/frameworks/native/libs/vr/libdvr/include/dvr/ |
D | dvr_tracking_types.h | 57 float (*positions)[2]; member
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/complication/ |
D | ComplicationLayoutParamsTest.java | 208 final int positions = ComplicationLayoutParams.POSITION_TOP in testIteratePositions() local 213 ComplicationLayoutParams.iteratePositions(consumer, positions); in testIteratePositions()
|
/frameworks/minikin/libs/minikin/ |
D | LayoutCore.cpp | 405 hb_glyph_position_t* positions = hb_buffer_get_glyph_positions(buffer.get(), NULL); in LayoutPiece() local 450 float xoff = HBFixedToFloat(positions[i].x_offset); in LayoutPiece() 451 float yoff = -HBFixedToFloat(positions[i].y_offset); in LayoutPiece() 456 float xAdvance = HBFixedToFloat(positions[i].x_advance); in LayoutPiece()
|
/frameworks/native/libs/input/tests/ |
D | VelocityTracker_test.cpp | 96 std::vector<Position> positions; member 99 static BitSet32 getValidPointers(const std::vector<Position>& positions) { in getValidPointers() argument 101 for (size_t i = 0; i < positions.size(); i++) { in getValidPointers() 102 if (positions[i].isValid()) { in getValidPointers() 180 BitSet32 pointers = getValidPointers(entry.positions); in createTouchMotionEventStream() 192 action = resolveAction(previousEntry.positions, entry.positions, nextEntry.positions); in createTouchMotionEventStream() 203 const Position& position = entry.positions[pointerId]; in createTouchMotionEventStream()
|
/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/widget/ |
D | ListScenario.java | 176 public Params setPositionsUnselectable(int ...positions) { in setPositionsUnselectable() argument 177 for (int pos : positions) { in setPositionsUnselectable()
|
/frameworks/native/include/input/ |
D | VelocityTracker.h | 246 void addMovement(nsecs_t eventTime, int32_t pointerId, float positions) override;
|
/frameworks/base/packages/SystemUI/docs/ |
D | physics-animation-testing.md | 4 …cted - animations might just look a bit off until the UI elements settle to their proper positions.
|
/frameworks/compile/libbcc/tests/libbcc/ |
D | getelementptr.ll | 3 ; that they index into the right positions of the structure and that
|