Home
last modified time | relevance | path

Searched refs:strokeWidth (Results 1 – 25 of 40) sorted by relevance

12

/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/media/controls/ui/
H A DSquigglyProgressTest.kt48 private val strokeWidth = 5f regex
63 squigglyProgress.strokeWidth = strokeWidth
88 assertThat(wavePaint.strokeWidth).isEqualTo(strokeWidth)
89 assertThat(linePaint.strokeWidth).isEqualTo(strokeWidth)
/aosp14/frameworks/base/packages/SystemUI/animation/src/com/android/systemui/animation/
H A DTextAnimator.kt267 strokeWidth: Float = -1f,
290 if (strokeWidth >= 0F) {
291 textInterpolator.targetPaint.strokeWidth = strokeWidth
352 strokeWidth: Float = -1f,
369 strokeWidth = strokeWidth,
H A DTextInterpolator.kt487 out.strokeWidth = MathUtils.lerp(from.strokeWidth, to.strokeWidth, progress)
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/
H A DUdfpsDrawable.kt47 var strokeWidth: Float = fingerprintDrawable.paint.strokeWidth
50 fingerprintDrawable.paint.strokeWidth = value
102 drawable.paint.strokeWidth = DEFAULT_STROKE_WIDTH
/aosp14/frameworks/base/packages/SettingsLib/src/com/android/settingslib/qrcode/
H A DQrDecorateView.java128 final float strokeWidth = TypedValue.applyDimension(TypedValue.COMPLEX_UNIT_DIP, in calculateFramePos() local
133 mInnerFrame = new RectF(mOuterFrame.left + strokeWidth, mOuterFrame.top + strokeWidth, in calculateFramePos()
134 mOuterFrame.right - strokeWidth, mOuterFrame.bottom - strokeWidth); in calculateFramePos()
/aosp14/frameworks/base/packages/SystemUI/compose/core/src/com/android/compose/animation/
H A DExpandable.kt468 val strokeWidth = border.width.toPx() regex
469 val halfStroke = strokeWidth / 2
470 val borderStroke = Stroke(strokeWidth)
475 size = Size(size.width - strokeWidth, size.height - strokeWidth),
496 val strokeWidth = border.width.toPx() regex
500 strokeWidth,
515 strokeWidth: Float,
520 Path().apply { addRoundRect(createInsetRoundedRect(strokeWidth, roundedRect)) }
/aosp14/frameworks/base/packages/EasterEgg/src/com/android/egg/landroid/
H A DVisibleUniverse.kt282 drawLine(Color.Red, v + Vec2(-5f, -5f), v + Vec2(5f, 5f), strokeWidth = 1f / zoom)
283 drawLine(Color.Red, v + Vec2(5f, -5f), v + Vec2(-5f, 5f), strokeWidth = 1f / zoom)
291 if (opos != Vec2.Zero) drawLine(color, opos, pos, strokeWidth = size)
293 if (opos != Vec2.Zero) drawLine(color, opos, pos, strokeWidth = size / zoom)
311 strokeWidth = 1f / zoom
328 drawLine(Color(0f, 1f, 0f, a), prev, pos, strokeWidth = max(1f, 1f / zoom))
H A DMainActivity.kt389 strokeWidth = 2f
523 strokeWidth = (if ((x % (gridStep * 10) == 0f)) 3f else 1.5f) / cameraZoom
534 strokeWidth = (if ((y % (gridStep * 10) == 0f)) 3f else 1.5f) / cameraZoom
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/shared/clocks/
H A DAnimatableClockViewTest.kt66 strokeWidth = -1F,
88 strokeWidth = -1F,
100 strokeWidth = -1F,
/aosp14/frameworks/base/packages/SettingsLib/src/com/android/settingslib/graph/
H A DThemedBatteryDrawable.kt113 p.strokeWidth = 5f
122 p.strokeWidth = 5f
133 p.strokeWidth = 0f
141 p.strokeWidth = 0f
151 p.strokeWidth = 0f
382 fillColorStrokePaint.strokeWidth = scaledStrokeWidth
383 fillColorStrokeProtection.strokeWidth = scaledStrokeWidth
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/ui/
H A DSquigglyProgress.kt68 var strokeWidth = 0f regex
74 wavePaint.strokeWidth = value
75 linePaint.strokeWidth = value
187 val clipTop = lineAmplitude + strokeWidth
/aosp14/frameworks/base/libs/hwui/
H A DVectorDrawable.h209 float strokeWidth = 0; member
245 float getStrokeWidth() const { return mPrimitiveFields.strokeWidth; } in getStrokeWidth()
246 void setStrokeWidth(float strokeWidth) { in setStrokeWidth() argument
247 VD_SET_PRIMITIVE_FIELD_AND_NOTIFY(strokeWidth, strokeWidth); in setStrokeWidth()
283 void updateProperties(float strokeWidth, SkColor strokeColor, float strokeAlpha, in updateProperties() argument
287 mPrimitiveFields.strokeWidth = strokeWidth; in updateProperties()
309 strokeWidth = 0, enumerator
/aosp14/frameworks/base/core/java/android/view/accessibility/
H A DIAccessibilityManagerClient.aidl33 void setFocusAppearance(int strokeWidth, int color); in setFocusAppearance() argument
H A DAccessibilityDisplayProxy.java250 public void setAccessibilityFocusAppearance(int strokeWidth, @ColorInt int color) { in setAccessibilityFocusAppearance() argument
255 connection.setFocusAppearance(strokeWidth, color); in setAccessibilityFocusAppearance()
H A DAccessibilityManager.java501 public void setFocusAppearance(int strokeWidth, int color) {
503 updateFocusAppearanceLocked(strokeWidth, color);
2319 private void updateFocusAppearanceLocked(int strokeWidth, int color) { in updateFocusAppearanceLocked() argument
2320 if (mFocusStrokeWidth == strokeWidth && mFocusColor == color) { in updateFocusAppearanceLocked()
2323 mFocusStrokeWidth = strokeWidth; in updateFocusAppearanceLocked()
/aosp14/frameworks/base/libs/hwui/tests/common/scenes/
H A DShapeAnimation.cpp77 for (auto strokeWidth : {0.0f, 0.5f, 8.0f}) { in createContent()
78 paint.setStrokeWidth(strokeWidth); in createContent()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/battery/
H A DAccessorizedBatteryDrawable.kt68 p.strokeWidth = ThemedBatteryDrawable.PROTECTION_MIN_STROKE_WIDTH
124 shieldTransparentOutlinePaint.strokeWidth = scaledStrokeWidth
/aosp14/frameworks/base/libs/hwui/jni/
H A Dandroid_graphics_drawable_VectorDrawable.cpp135 jfloat strokeWidth, jint strokeColor, jfloat strokeAlpha, jint fillColor, jfloat fillAlpha, in updateFullPathPropertiesAndStrokeStyles() argument
139 fullPath->mutateStagingProperties()->updateProperties(strokeWidth, strokeColor, strokeAlpha, in updateFullPathPropertiesAndStrokeStyles()
280 static void setStrokeWidth(JNIEnv*, jobject, jlong fullPathPtr, jfloat strokeWidth) { in setStrokeWidth() argument
282 fullPath->mutateStagingProperties()->setStrokeWidth(strokeWidth); in setStrokeWidth()
/aosp14/frameworks/base/services/accessibility/java/com/android/server/accessibility/
H A DAccessibilityServiceConnection.java484 public void setFocusAppearance(int strokeWidth, int color) { in setFocusAppearance() argument
499 if (userState.getFocusStrokeWidthLocked() == strokeWidth in setFocusAppearance()
505 userState.setFocusAppearanceLocked(strokeWidth, color); in setFocusAppearance()
H A DProxyAccessibilityServiceConnection.java236 public void setFocusAppearance(int strokeWidth, int color) { in setFocusAppearance() argument
246 if (getFocusStrokeWidthLocked() == strokeWidth && getFocusColorLocked() == color) { in setFocusAppearance()
250 mFocusStrokeWidth = strokeWidth; in setFocusAppearance()
/aosp14/frameworks/base/tests/SilkFX/src/com/android/test/silkfx/hdr/
H A DGlowingCard.kt60 paint.strokeWidth = 4.dp()
/aosp14/frameworks/base/packages/SystemUI/compose/features/src/com/android/systemui/bouncer/ui/composable/
H A DPatternBouncer.kt251 strokeWidth = lineStrokeWidth,
267 strokeWidth = lineStrokeWidth,
H A DPasswordBouncer.kt102 strokeWidth = lineWidthPx,
/aosp14/frameworks/base/libs/hwui/hwui/
H A DCanvas.cpp39 const SkScalar strokeWidth = fmax(thickness, 1.0f); in drawStroke() local
40 const SkScalar bottom = top + strokeWidth; in drawStroke()
/aosp14/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
H A DFrontBufferedLayer.kt88 it.strokeWidth = 10f

12