Home | History | Annotate | Download | only in incallui

Lines Matching refs:orientation

30  * orientation of the phone. The client of this class is notified when
31 * the orientation changes between horizontal and vertical.
41 // mOrientation is the orientation value most recently reported to the client.
44 // mPendingOrientation is the latest orientation computed based on the sensor value.
51 // Device orientation
63 public void orientationChanged(int orientation);
87 private void setOrientation(int orientation) {
89 if (mPendingOrientation == orientation) {
90 // Pending orientation has not changed, so do nothing.
96 // if the orientation has not changed.
99 if (mOrientation != orientation) {
100 // Set timer to send an event if the orientation has changed since its
102 mPendingOrientation = orientation;
105 int delay = (orientation == ORIENTATION_VERTICAL ? VERTICAL_DEBOUNCE
128 final int orientation = (angle > VERTICAL_ANGLE ? ORIENTATION_VERTICAL : ORIENTATION_HORIZONTAL);
129 if (VDEBUG) Log.d(TAG, "angle: " + angle + " orientation: " + orientation);
130 setOrientation(orientation);
150 Log.d(TAG, "orientation: " +