Home
last modified time | relevance | path

Searched refs:pulseReason (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/doze/
DDozeTriggers.java160 void onSensor(int pulseReason, float screenX, float screenY, float[] rawValues) { in onSensor() argument
161 boolean isDoubleTap = pulseReason == DozeLog.REASON_SENSOR_DOUBLE_TAP; in onSensor()
162 boolean isTap = pulseReason == DozeLog.REASON_SENSOR_TAP; in onSensor()
163 boolean isPickup = pulseReason == DozeLog.REASON_SENSOR_PICKUP; in onSensor()
164 boolean isLongPress = pulseReason == DozeLog.PULSE_REASON_SENSOR_LONG_PRESS; in onSensor()
165 boolean isWakeDisplay = pulseReason == DozeLog.REASON_SENSOR_WAKE_UP; in onSensor()
166 boolean isWakeLockScreen = pulseReason == DozeLog.PULSE_REASON_SENSOR_WAKE_LOCK_SCREEN; in onSensor()
172 requestPulse(pulseReason, true /* alreadyPerformedProxCheck */, in onSensor()
176 requestPulse(pulseReason, true /* alreadyPerformedProxCheck */, in onSensor()
189 gentleWakeUp(pulseReason); in onSensor()
[all …]
DDozeMachine.java166 public void requestPulse(int pulseReason) { in requestPulse() argument
171 requestState(State.DOZE_REQUEST_PULSE, pulseReason); in requestPulse()
174 private void requestState(State requestedState, int pulseReason) { in requestState() argument
188 transitionTo(mQueuedRequests.get(i), pulseReason); in requestState() local
234 private void transitionTo(State requestedState, int pulseReason) { in transitionTo() argument
253 updatePulseReason(newState, oldState, pulseReason); in transitionTo()
260 private void updatePulseReason(State newState, State oldState, int pulseReason) { in updatePulseReason() argument
262 mPulseReason = pulseReason; in updatePulseReason()
DDozeSensors.java398 public TriggerSensor(Sensor sensor, String setting, boolean configured, int pulseReason, in TriggerSensor() argument
400 this(sensor, setting, true /* settingDef */, configured, pulseReason, in TriggerSensor()
405 boolean configured, int pulseReason, boolean reportsTouchCoordinates, in TriggerSensor() argument
407 this(sensor, setting, settingDef, configured, pulseReason, reportsTouchCoordinates, in TriggerSensor()
412 boolean configured, int pulseReason, boolean reportsTouchCoordinates, in TriggerSensor() argument
418 mPulseReason = pulseReason; in TriggerSensor()
534 int pulseReason, boolean reportsTouchCoordinates, boolean requiresTouchscreen) { in PluginSensor() argument
535 this(sensor, setting, configured, pulseReason, reportsTouchCoordinates, in PluginSensor()
540 int pulseReason, boolean reportsTouchCoordinates, boolean requiresTouchscreen, in PluginSensor() argument
542 super(null, setting, configured, pulseReason, reportsTouchCoordinates, in PluginSensor()
[all …]
DDozeDockHandler.java93 final int pulseReason = mMachine.getPulseReason(); in requestPulseOutNow() local
94 if (pulseReason == DozeLog.PULSE_REASON_DOCKING) { in requestPulseOutNow()
DDozeLog.java200 public static String reasonToString(int pulseReason) { in reasonToString() argument
201 switch (pulseReason) { in reasonToString()
212 default: throw new IllegalArgumentException("bad reason: " + pulseReason); in reasonToString()