Home
last modified time | relevance | path

Searched refs:pointerAlpha (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/libs/input/
DPointerController.cpp94 mLocked.pointerAlpha = 0.0f; // pointer is initially faded in PointerController()
226 mLocked.pointerAlpha = 0.0f; in fade()
243 mLocked.pointerAlpha = 1.0f; in unfade()
551 mLocked.pointerAlpha -= float(frameDelay) / POINTER_FADE_DURATION; in doFadingAnimationLocked()
552 if (mLocked.pointerAlpha <= 0.0f) { in doFadingAnimationLocked()
553 mLocked.pointerAlpha = 0.0f; in doFadingAnimationLocked()
560 mLocked.pointerAlpha += float(frameDelay) / POINTER_FADE_DURATION; in doFadingAnimationLocked()
561 if (mLocked.pointerAlpha >= 1.0f) { in doFadingAnimationLocked()
562 mLocked.pointerAlpha = 1.0f; in doFadingAnimationLocked()
662 if (mLocked.pointerAlpha > 0) { in updatePointerLocked()
[all …]
DPointerController.h186 float pointerAlpha; member