Home
last modified time | relevance | path

Searched refs:CanvasProperty (Results 1 – 19 of 19) sorted by relevance

/frameworks/base/graphics/java/android/graphics/
DRecordingCanvas.java210 public void drawCircle(CanvasProperty<Float> cx, CanvasProperty<Float> cy, in drawCircle()
211 CanvasProperty<Float> radius, CanvasProperty<Paint> paint) { in drawCircle()
228 public void drawRipple(CanvasProperty<Float> cx, CanvasProperty<Float> cy, in drawRipple()
229 CanvasProperty<Float> radius, CanvasProperty<Paint> paint, in drawRipple()
230 CanvasProperty<Float> progress, CanvasProperty<Float> turbulencePhase, in drawRipple()
251 public void drawRoundRect(CanvasProperty<Float> left, CanvasProperty<Float> top, in drawRoundRect()
252 CanvasProperty<Float> right, CanvasProperty<Float> bottom, CanvasProperty<Float> rx, in drawRoundRect()
253 CanvasProperty<Float> ry, CanvasProperty<Paint> paint) { in drawRoundRect()
DCanvasProperty.java28 public final class CanvasProperty<T> { class
33 public static CanvasProperty<Float> createFloat(float initialValue) { in createFloat()
34 return new CanvasProperty<Float>(nCreateFloat(initialValue)); in createFloat()
38 public static CanvasProperty<Paint> createPaint(Paint initialValue) { in createPaint()
39 return new CanvasProperty<Paint>(nCreatePaint(initialValue.getNativeInstance())); in createPaint()
42 private CanvasProperty(long nativeContainer) { in CanvasProperty() method in CanvasProperty
/frameworks/base/core/java/android/inputmethodservice/navigationbar/
DKeyButtonRipple.java25 import android.graphics.CanvasProperty;
56 private CanvasProperty<Float> mLeftProp;
57 private CanvasProperty<Float> mTopProp;
58 private CanvasProperty<Float> mRightProp;
59 private CanvasProperty<Float> mBottomProp;
60 private CanvasProperty<Float> mRxProp;
61 private CanvasProperty<Float> mRyProp;
62 private CanvasProperty<Paint> mPaintProp;
189 CanvasProperty<Float> cx = CanvasProperty.createFloat(getBounds().width() / 2); in drawHardware()
190 CanvasProperty<Float> cy = CanvasProperty.createFloat(getBounds().height() / 2); in drawHardware()
[all …]
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/navigationbar/
DKeyButtonRipple.java24 import android.graphics.CanvasProperty;
60 private CanvasProperty<Float> mLeftProp;
61 private CanvasProperty<Float> mTopProp;
62 private CanvasProperty<Float> mRightProp;
63 private CanvasProperty<Float> mBottomProp;
64 private CanvasProperty<Float> mRxProp;
65 private CanvasProperty<Float> mRyProp;
66 private CanvasProperty<Paint> mPaintProp;
213 CanvasProperty<Float> cx = CanvasProperty.createFloat(getBounds().width() / 2); in drawHardware()
214 CanvasProperty<Float> cy = CanvasProperty.createFloat(getBounds().height() / 2); in drawHardware()
[all …]
/frameworks/base/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/
DRippleActivity.java22 import android.graphics.CanvasProperty;
57 CanvasProperty<Float> mX;
58 CanvasProperty<Float> mY;
59 CanvasProperty<Float> mRadius;
60 CanvasProperty<Float> mProgress;
61 CanvasProperty<Float> mNoisePhase;
62 CanvasProperty<Paint> mPaint;
101 mX = CanvasProperty.createFloat(200.0f); in RippleView()
102 mY = CanvasProperty.createFloat(200.0f); in RippleView()
103 mRadius = CanvasProperty.createFloat(150.0f); in RippleView()
[all …]
DCirclePropActivity.java22 import android.graphics.CanvasProperty;
65 CanvasProperty<Float> mX;
66 CanvasProperty<Float> mY;
67 CanvasProperty<Float> mRadius;
68 CanvasProperty<Paint> mPaint;
74 mX = CanvasProperty.createFloat(200.0f); in CircleView()
75 mY = CanvasProperty.createFloat(200.0f); in CircleView()
76 mRadius = CanvasProperty.createFloat(150.0f); in CircleView()
83 mPaint = CanvasProperty.createPaint(p); in CircleView()
/frameworks/base/graphics/java/android/graphics/drawable/
DRippleAnimationSession.java26 import android.graphics.CanvasProperty;
51 private AnimationProperties<CanvasProperty<Float>, CanvasProperty<Paint>> mCanvasProperties;
151 AnimationProperties<CanvasProperty<Float>, CanvasProperty<Paint>> in exitHardware()
176 AnimationProperties<CanvasProperty<Float>, CanvasProperty<Paint>> in enterHardware()
226 mCanvasProperties.setRadius(CanvasProperty.createFloat(radius)); in setRadius()
236 AnimationProperties<CanvasProperty<Float>, CanvasProperty<Paint>> getCanvasProperties() { in getCanvasProperties()
239 CanvasProperty.createFloat(mProperties.getX()), in getCanvasProperties()
240 CanvasProperty.createFloat(mProperties.getY()), in getCanvasProperties()
241 CanvasProperty.createFloat(mProperties.getMaxRadius()), in getCanvasProperties()
242 CanvasProperty.createFloat(mProperties.getNoisePhase()), in getCanvasProperties()
[all …]
DRippleForeground.java24 import android.graphics.CanvasProperty;
62 private CanvasProperty<Paint> mPropPaint;
63 private CanvasProperty<Float> mPropRadius;
64 private CanvasProperty<Float> mPropX;
65 private CanvasProperty<Float> mPropY;
252 mPropX = CanvasProperty.createFloat(getCurrentX()); in startHardwareEnter()
253 mPropY = CanvasProperty.createFloat(getCurrentY()); in startHardwareEnter()
254 mPropRadius = CanvasProperty.createFloat(getCurrentRadius()); in startHardwareEnter()
256 mPropPaint = CanvasProperty.createPaint(paint); in startHardwareEnter()
DRippleDrawable.java40 import android.graphics.CanvasProperty;
779 .setOrigin(CanvasProperty.createFloat(cx), CanvasProperty.createFloat(cy)); in onHotspotBoundsChanged()
940 RippleAnimationSession.AnimationProperties<CanvasProperty<Float>, in drawPatterned()
941 CanvasProperty<Paint>> in drawPatterned()
/frameworks/base/core/java/android/view/
DRenderNodeAnimator.java20 import android.graphics.CanvasProperty;
35 public RenderNodeAnimator(CanvasProperty<Float> property, float finalValue) { in RenderNodeAnimator()
39 public RenderNodeAnimator(CanvasProperty<Paint> property, int paintField, float finalValue) { in RenderNodeAnimator()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DKeyguardAffordanceView.java28 import android.graphics.CanvasProperty;
85 private CanvasProperty<Float> mHwCircleRadius;
86 private CanvasProperty<Float> mHwCenterX;
87 private CanvasProperty<Float> mHwCenterY;
88 private CanvasProperty<Paint> mHwCirclePaint;
281 mHwCirclePaint = CanvasProperty.createPaint(modifiedPaint); in startRtAlphaFadeIn()
318 mHwCenterX = CanvasProperty.createFloat(mCenterX); in initHwProperties()
319 mHwCenterY = CanvasProperty.createFloat(mCenterY); in initHwProperties()
320 mHwCirclePaint = CanvasProperty.createPaint(mCirclePaint); in initHwProperties()
321 mHwCircleRadius = CanvasProperty.createFloat(mCircleRadius); in initHwProperties()
/frameworks/base/graphics/java/android/graphics/animation/
DRenderNodeAnimator.java22 import android.graphics.CanvasProperty;
107 public RenderNodeAnimator(CanvasProperty<Float> property, float finalValue) { in RenderNodeAnimator()
121 public RenderNodeAnimator(CanvasProperty<Paint> property, int paintField, float finalValue) { in RenderNodeAnimator()
/frameworks/base/core/java/com/android/internal/widget/
DLockPatternView.java29 import android.graphics.CanvasProperty;
252 CanvasProperty<Float> hwRadius;
253 CanvasProperty<Float> hwCenterX;
254 CanvasProperty<Float> hwCenterY;
255 CanvasProperty<Paint> hwPaint;
558 cellState.hwCenterY = CanvasProperty.createFloat( in startCellStateAnimationHw()
560 cellState.hwCenterX = CanvasProperty.createFloat(getCenterXForColumn(cellState.col)); in startCellStateAnimationHw()
561 cellState.hwRadius = CanvasProperty.createFloat(mDotSize/2 * startScale); in startCellStateAnimationHw()
564 cellState.hwPaint = CanvasProperty.createPaint(new Paint(mPaint)); in startCellStateAnimationHw()
597 private void startRtFloatAnimation(CanvasProperty<Float> property, float endValue, in startRtFloatAnimation()
/frameworks/base/libs/hwui/
DAndroid.bp363 "jni/CanvasProperty.cpp",
/frameworks/base/boot/
Dboot-image-profile.txt6152 HSPLandroid/graphics/CanvasProperty;-><init>(J)V
6153 HSPLandroid/graphics/CanvasProperty;->createFloat(F)Landroid/graphics/CanvasProperty;
6154 HSPLandroid/graphics/CanvasProperty;->createPaint(Landroid/graphics/Paint;)Landroid/graphics/Canvas…
6155 HSPLandroid/graphics/CanvasProperty;->getNativeContainer()J
6609CanvasProperty;Landroid/graphics/CanvasProperty;Landroid/graphics/CanvasProperty;Landroid/graphics…
6819 HSPLandroid/graphics/animation/RenderNodeAnimator;-><init>(Landroid/graphics/CanvasProperty;F)V
6820 HSPLandroid/graphics/animation/RenderNodeAnimator;-><init>(Landroid/graphics/CanvasProperty;IF)V
24556 Landroid/graphics/CanvasProperty;
Dpreloaded-classes2175 android.graphics.CanvasProperty
/frameworks/base/config/
Dboot-image-profile.txt6155 HSPLandroid/graphics/CanvasProperty;-><init>(J)V
6156 HSPLandroid/graphics/CanvasProperty;->createFloat(F)Landroid/graphics/CanvasProperty;
6157 HSPLandroid/graphics/CanvasProperty;->createPaint(Landroid/graphics/Paint;)Landroid/graphics/Canvas…
6158 HSPLandroid/graphics/CanvasProperty;->getNativeContainer()J
6612CanvasProperty;Landroid/graphics/CanvasProperty;Landroid/graphics/CanvasProperty;Landroid/graphics…
6822 HSPLandroid/graphics/animation/RenderNodeAnimator;-><init>(Landroid/graphics/CanvasProperty;F)V
6823 HSPLandroid/graphics/animation/RenderNodeAnimator;-><init>(Landroid/graphics/CanvasProperty;IF)V
34690 Landroid/graphics/CanvasProperty;
Dpreloaded-classes2179 android.graphics.CanvasProperty
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt16290 Landroid/graphics/CanvasProperty;-><init>(J)V
16291 Landroid/graphics/CanvasProperty;->getNativeContainer()J
16292 Landroid/graphics/CanvasProperty;->mProperty:Lcom/android/internal/util/VirtualRefBasePtr;
16293 Landroid/graphics/CanvasProperty;->nCreateFloat(F)J
16294 Landroid/graphics/CanvasProperty;->nCreatePaint(J)J
17318 Landroid/graphics/drawable/RippleForeground;->mPropPaint:Landroid/graphics/CanvasProperty;
17319 Landroid/graphics/drawable/RippleForeground;->mPropRadius:Landroid/graphics/CanvasProperty;
17320 Landroid/graphics/drawable/RippleForeground;->mPropX:Landroid/graphics/CanvasProperty;
17321 Landroid/graphics/drawable/RippleForeground;->mPropY:Landroid/graphics/CanvasProperty;
59224CanvasProperty;Landroid/graphics/CanvasProperty;Landroid/graphics/CanvasProperty;Landroid/graphics…