Home
last modified time | relevance | path

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

/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/accessibility/
H A DMagnificationGestureDetector.java81 private final PointF mPointerLocation = new PointF(Float.NaN, Float.NaN); field in MagnificationGestureDetector
170 if (!isLocationValid(mPointerLocation)) { in notifyDraggingGestureIfNeeded()
171 mPointerLocation.set(mPointerDown); in notifyDraggingGestureIfNeeded()
173 final float offsetX = x - mPointerLocation.x; in notifyDraggingGestureIfNeeded()
174 final float offsetY = y - mPointerLocation.y; in notifyDraggingGestureIfNeeded()
175 mPointerLocation.set(x, y); in notifyDraggingGestureIfNeeded()
181 resetPointF(mPointerLocation); in reset()
/aosp12/packages/apps/TvSettings/Settings/src/com/android/tv/settings/system/development/
H A DDevelopmentFragment.java214 private SwitchPreference mPointerLocation; field in DevelopmentFragment
384 mPointerLocation = findAndInitSwitchPref(POINTER_LOCATION_KEY); in onCreatePreferences()
973 Settings.System.POINTER_LOCATION, mPointerLocation.isChecked() ? 1 : 0); in writePointerLocationOptions()
977 updateSwitchPreference(mPointerLocation, in updatePointerLocationOptions()
1637 } else if (preference == mPointerLocation) { in onPreferenceTreeClick()