Home
last modified time | relevance | path

Searched refs:createFloat (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DKeyButtonRipple.java172 CanvasProperty<Float> cx = CanvasProperty.createFloat(getBounds().width() / 2); in drawHardware()
173 CanvasProperty<Float> cy = CanvasProperty.createFloat(getBounds().height() / 2); in drawHardware()
175 CanvasProperty<Float> r = CanvasProperty.createFloat(1.0f * d / 2); in drawHardware()
376 setExtendStart(CanvasProperty.createFloat(getExtendSize() / 2)); in enterHardware()
384 setExtendEnd(CanvasProperty.createFloat(getExtendSize() / 2)); in enterHardware()
393 mTopProp = CanvasProperty.createFloat(0f); in enterHardware()
394 mBottomProp = CanvasProperty.createFloat(getBounds().height()); in enterHardware()
395 mRxProp = CanvasProperty.createFloat(getBounds().height()/2); in enterHardware()
396 mRyProp = CanvasProperty.createFloat(getBounds().height()/2); in enterHardware()
398 mLeftProp = CanvasProperty.createFloat(0f); in enterHardware()
[all …]
/frameworks/base/core/jni/android/graphics/
DCanvasProperty.cpp29 static jlong createFloat(JNIEnv* env, jobject clazz, jfloat initialValue) { in createFloat() function
43 { "nCreateFloat", "(F)J", (void*) createFloat },
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
DCirclePropActivity.java74 mX = CanvasProperty.createFloat(200.0f); in CircleView()
75 mY = CanvasProperty.createFloat(200.0f); in CircleView()
76 mRadius = CanvasProperty.createFloat(150.0f); in CircleView()
/frameworks/base/graphics/java/android/graphics/
DCanvasProperty.java31 public static CanvasProperty<Float> createFloat(float initialValue) { in createFloat() method in CanvasProperty
/frameworks/base/graphics/java/android/graphics/drawable/
DRippleForeground.java252 mPropX = CanvasProperty.createFloat(getCurrentX()); in startHardwareEnter()
253 mPropY = CanvasProperty.createFloat(getCurrentY()); in startHardwareEnter()
254 mPropRadius = CanvasProperty.createFloat(getCurrentRadius()); in startHardwareEnter()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DKeyguardAffordanceView.java316 mHwCenterX = CanvasProperty.createFloat(mCenterX); in initHwProperties()
317 mHwCenterY = CanvasProperty.createFloat(mCenterY); in initHwProperties()
319 mHwCircleRadius = CanvasProperty.createFloat(mCircleRadius); in initHwProperties()
/frameworks/base/core/java/com/android/internal/widget/
DLockPatternView.java521 cellState.hwCenterY = CanvasProperty.createFloat( in startCellStateAnimationHw()
523 cellState.hwCenterX = CanvasProperty.createFloat(getCenterXForColumn(cellState.col)); in startCellStateAnimationHw()
524 cellState.hwRadius = CanvasProperty.createFloat(mDotSize/2 * startScale); in startCellStateAnimationHw()