Home
last modified time | relevance | path

Searched refs:stops (Results 1 – 16 of 16) sorted by relevance

/frameworks/base/graphics/java/android/graphics/
DRadialGradient.java71 @NonNull @ColorInt int[] colors, @Nullable float[] stops, in RadialGradient() argument
74 stops, tileMode, ColorSpace.get(ColorSpace.Named.SRGB)); in RadialGradient()
95 @NonNull @ColorLong long[] colors, @Nullable float[] stops, in RadialGradient() argument
97 this(centerX, centerY, 0f, centerX, centerY, radius, colors.clone(), stops, in RadialGradient()
140 @NonNull @ColorLong long[] colors, @Nullable float[] stops, in RadialGradient() argument
142 this(startX, startY, startRadius, endX, endY, endRadius, colors.clone(), stops, tileMode, in RadialGradient()
151 float endRadius, @NonNull @ColorLong long[] colors, @Nullable float[] stops, in RadialGradient() argument
165 if (stops != null && colors.length != stops.length) { in RadialGradient()
175 mPositions = stops != null ? stops.clone() : null; in RadialGradient()
/frameworks/base/core/java/com/android/internal/widget/remotecompose/core/operations/paint/
DPaintBundle.java292 String[] stops = null; in callPrintGradient() local
294 stops = new String[len]; in callPrintGradient()
295 for (int j = 0; j < stops.length; j++) { in callPrintGradient()
296 stops[j] = asFloatStr(array[ret++]); in callPrintGradient()
301 p.append(" stops = " + Arrays.toString(stops) + ",\n"); in callPrintGradient()
325 String[] stops = null; in callPrintGradient() local
327 stops = new String[len]; in callPrintGradient()
328 for (int j = 0; j < stops.length; j++) { in callPrintGradient()
329 stops[j] = asFloatStr(array[ret++]); in callPrintGradient()
334 p.append(" stops = " + Arrays.toString(stops) + ",\n"); in callPrintGradient()
[all …]
/frameworks/base/core/tests/coretests/src/android/text/
DTextLineTest.java212 final TabStops stops = new TabStops(100, spans); in testMeasure_Tab_LTR() local
217 TextLine tl = getTextLine("II\tII", paint, stops); in testMeasure_Tab_LTR()
227 final TabStops stops = new TabStops(100, spans); in testMeasure_Tab_RTL() local
232 TextLine tl = getTextLine("\u05D0\u05D0\t\u05D0\u05D0", paint, stops); in testMeasure_Tab_RTL()
242 final TabStops stops = new TabStops(100, spans); in testMeasure_Tab_BiDi() local
247 TextLine tl = getTextLine("I\u05D0\tI\u05D0", paint, stops); in testMeasure_Tab_BiDi()
257 final TabStops stops = new TabStops(100, spans); in testMeasure_Tab_BiDi2() local
262 TextLine tl = getTextLine("\u05D0I\t\u05D0I", paint, stops); in testMeasure_Tab_BiDi2()
492 final TabStops stops = new TabStops(100, spans); in testMeasureAllBounds_Tab_LTR() local
497 TextLine tl = getTextLine("II\tII", paint, stops); in testMeasureAllBounds_Tab_LTR()
[all …]
/frameworks/minikin/include/minikin/
DLineBreaker.h56 TabStops(const float* stops, size_t nStops, float tabWidth) in TabStops() argument
57 : mStops(stops), mStopsSize(nStops), mTabWidth(tabWidth) {} in TabStops()
/frameworks/base/core/java/com/android/internal/widget/remotecompose/player/platform/
DAndroidPaintContext.java505 float[] stops, in applyPaint() argument
514 endY, colors, stops, mTileModes[tileMode])); in applyPaint()
520 float[] stops, in applyPaint() argument
526 colors, stops, mTileModes[tileMode])); in applyPaint()
531 float[] stops, in applyPaint() argument
534 mPaint.setShader(new SweepGradient(centerX, centerY, colors, stops)); in applyPaint()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/startingsurface/
DSplashScreenExitAnimationUtils.java147 final float[] stops = {0f, transparentRatio, 1f}; in createRadialVanishSlideUpAnimator() local
152 radialVanishAnimation.setRadialPaintParam(colors, stops); in createRadialVanishSlideUpAnimator()
353 void setRadialPaintParam(int[] colors, float[] stops) { in setRadialPaintParam() argument
356 new RadialGradient(0, 0, 1, colors, stops, Shader.TileMode.CLAMP); in setRadialPaintParam()
/frameworks/base/packages/SystemUI/aconfig/
Daccessibility.aconfig54 description: "stops the FAB from monitoring enabled services to trigger target content changes."
/frameworks/proto_logging/stats/atoms/bluetooth/
Dbluetooth_extension_atoms.proto335 * Logs LE app scan information when the scan starts and stops.
428 * Logs LE advertisement information when LE adv starts and stops.
450 // starts or stops.
452 // Adv duration when adv stops (adv stop timestamp - adv start timestamp),
/frameworks/base/core/java/android/text/
DLayout.java3289 float[] stops = this.mStops;
3292 if (stops == null) {
3293 stops = new float[10];
3294 } else if (ns == stops.length) {
3297 nstops[i] = stops[i];
3299 stops = nstops;
3301 stops[ns++] = ((TabStopSpan) o).getTabStop();
3305 Arrays.sort(stops, 0, ns);
3307 if (stops != this.mStops) {
3308 this.mStops = stops;
[all …]
DStaticLayout.java928 float[] stops = new float[spans.length]; in generate()
930 stops[i] = (float) spans[i].getTabStop(); in generate()
932 Arrays.sort(stops, 0, stops.length); in generate()
933 variableTabStops = stops; in generate()
/frameworks/av/drm/mediadrm/plugins/clearkey/aidl/
DDrmPlugin.cpp476 std::vector<::aidl::android::hardware::drm::SecureStop> stops; in getSecureStops() local
485 stops.push_back(secureStop); in getSecureStops()
489 *_aidl_return = stops; in getSecureStops()
/frameworks/base/packages/SystemUI/
DREADME.md103 Recents tracks all the data needed for recents and starts/stops the recents
/frameworks/proto_logging/stats/atoms/media/
Dmedia_codec_extension_atoms.proto154 * when a client stops a codec.
/frameworks/proto_logging/stats/enums/app/
Dsettings_enums.proto2442 // Settings -> Accessibility -> Click after pointer stops moving
/frameworks/proto_logging/stats/
Datoms.proto5731 * Logs foreground service starts and stops.
5732 * Note that this is not when a service starts or stops, but when it is
6818 * Logs when a service starts and stops.
8464 // This clock stops when the system enters deep sleep (CPU off, display dark, device waiting
/frameworks/base/proto/src/metrics_constants/
Dmetrics_constants.proto1975 // Settings -> Accessibility -> Click after pointer stops moving