Home
last modified time | relevance | path

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

/frameworks/base/libs/input/
DMouseCursorController.cpp52 mLocked.pointerAlpha = 0.0f; // pointer is initially faded in MouseCursorController()
167 mLocked.pointerAlpha = 0.0f; in fade()
184 mLocked.pointerAlpha = 1.0f; in unfade()
321 mLocked.pointerAlpha -= float(frameDelay) / POINTER_FADE_DURATION; in doFadingAnimationLocked()
322 if (mLocked.pointerAlpha <= 0.0f) { in doFadingAnimationLocked()
323 mLocked.pointerAlpha = 0.0f; in doFadingAnimationLocked()
330 mLocked.pointerAlpha += float(frameDelay) / POINTER_FADE_DURATION; in doFadingAnimationLocked()
331 if (mLocked.pointerAlpha >= 1.0f) { in doFadingAnimationLocked()
332 mLocked.pointerAlpha = 1.0f; in doFadingAnimationLocked()
378 if (mLocked.pointerAlpha > 0) { in updatePointerLocked()
[all …]
DMouseCursorController.h84 float pointerAlpha; member