Home
last modified time | relevance | path

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

/packages/apps/Gallery2/src/com/android/gallery3d/app/
DEyePosition.java62 private final float mUserDistance; // in pixel field in EyePosition
73 mUserDistance = GalleryUtils.meterToPixel(USER_DISTANCE_METER); in EyePosition()
74 mLimit = mUserDistance * MAX_VIEW_RANGE; in EyePosition()
99 mZ = -mUserDistance; in resetPosition()
134 + tx * USER_ANGEL_SIN / length) * mUserDistance, in onAccelerometerChanged()
137 + ty * USER_ANGEL_SIN / length) * mUserDistance, in onAccelerometerChanged()
140 mUserDistance * mUserDistance - mX * mX - mY * mY); in onAccelerometerChanged()
151 float limit = mUserDistance / 20f; in onGyroscopeChanged()
156 mUserDistance * mUserDistance - mX * mX - mY * mY); in onGyroscopeChanged()
162 float t = (now - mStartTime) / 1000f * mUserDistance * (-mZ); in onGyroscopeChanged()
[all …]
DAlbumPage.java104 private float mUserDistance; // in pixel field in AlbumPage
169 (right - left) / 2, (bottom - top) / 2, -mUserDistance);
367 mUserDistance = GalleryUtils.meterToPixel(USER_DISTANCE_METER); in onCreate()