History log of /packages/apps/InCallUI/src/com/android/incallui/AccelerometerListener.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
3fc1bf713855bf922c3aceca205f4d2d9b8f9120 21-Feb-2015 Yorke Lee <yorkelee@google.com> InCall code cleanup

Clean up of some unused and deprecated code

Change-Id: I7c78584f6cdc5dd223bbf793a4ec58f04c049398
/packages/apps/InCallUI/src/com/android/incallui/AccelerometerListener.java
c83980baa7740f809192020c114a282ba19e3fef 02-Oct-2014 Neil Fuller <nfuller@google.com> Remove dependencies on FloatMath

See frameworks/base commit 33253a4baa6279f81a73425b49dfb6abe5f5416e
for details.

Bug: https://code.google.com/p/android/issues/detail?id=36199
Change-Id: I3e06d3050dc14c2b065ade4fa6a00079c2be735f
/packages/apps/InCallUI/src/com/android/incallui/AccelerometerListener.java
3c2a439eb67ec6fb89daf1914ab3ce05e8aaa428 21-Aug-2013 Santos Cordon <santoscordon@google.com> Adding proximity sensor code to in-call UI.

Many of these changes are verbatim code copies from what used to exist
in services/Telephony. The rest of them are straight logic copies that
should do the exact same things.

New class ProximitySensor manages the proximity behavior. It receives
device state from InCallPresenter, AudioModeProvider, CallButtonPresenter,
and AcceleromterListener, the last of which is a transplanted class from
services/Telephony.

ProximitySensor listens for the following events:
1. Change in the call state
2. Change in the audio mode
3. Change in the device orientation (from AccelerometerListener)
4. Change in the dialpad visibility
5. Change in hard keyboard open/close events.
6. Change in foreground position of InCall UI app.

It uses these to figure out when to enable/disable proximity sensor.

CL that removes code from TeleService: I77e0d15ad1a8f5a090c1368db98edaa246dbcd72

bug: 10366512
Change-Id: I5c2ea6daa9443e7ad77c67f272bc0bafdb060e5e
/packages/apps/InCallUI/src/com/android/incallui/AccelerometerListener.java