Home
last modified time | relevance | path

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

/frameworks/base/libs/input/
DMouseCursorController.cpp49 mLocked.pointerAlpha = 0.0f; // pointer is initially faded in MouseCursorController()
134 mLocked.pointerAlpha = 0.0f; in fade()
151 mLocked.pointerAlpha = 1.0f; in unfade()
308 mLocked.pointerAlpha -= float(frameDelay) / POINTER_FADE_DURATION; in doFadingAnimationLocked()
309 if (mLocked.pointerAlpha <= 0.0f) { in doFadingAnimationLocked()
310 mLocked.pointerAlpha = 0.0f; in doFadingAnimationLocked()
317 mLocked.pointerAlpha += float(frameDelay) / POINTER_FADE_DURATION; in doFadingAnimationLocked()
318 if (mLocked.pointerAlpha >= 1.0f) { in doFadingAnimationLocked()
319 mLocked.pointerAlpha = 1.0f; in doFadingAnimationLocked()
366 if (mLocked.pointerAlpha > 0) { in updatePointerLocked()
[all …]
DMouseCursorController.h87 float pointerAlpha; member