Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/src/com/android/systemui/doze/
DDozeTriggers.java236 void onSensor(int pulseReason, float screenX, float screenY, float[] rawValues) { in onSensor() argument
237 boolean isDoubleTap = pulseReason == DozeLog.REASON_SENSOR_DOUBLE_TAP; in onSensor()
238 boolean isTap = pulseReason == DozeLog.REASON_SENSOR_TAP; in onSensor()
239 boolean isPickup = pulseReason == DozeLog.REASON_SENSOR_PICKUP; in onSensor()
240 boolean isLongPress = pulseReason == DozeLog.PULSE_REASON_SENSOR_LONG_PRESS; in onSensor()
241 boolean isWakeDisplay = pulseReason == DozeLog.REASON_SENSOR_WAKE_UP; in onSensor()
242 boolean isWakeLockScreen = pulseReason == DozeLog.PULSE_REASON_SENSOR_WAKE_LOCK_SCREEN; in onSensor()
248 requestPulse(pulseReason, true /* alreadyPerformedProxCheck */, in onSensor()
252 requestPulse(pulseReason, true /* alreadyPerformedProxCheck */, in onSensor()
265 gentleWakeUp(pulseReason); in onSensor()
[all …]
DDozeMachine.java194 public void requestPulse(int pulseReason) { in requestPulse() argument
199 requestState(State.DOZE_REQUEST_PULSE, pulseReason); in requestPulse()
202 private void requestState(State requestedState, int pulseReason) { in requestState() argument
216 transitionTo(mQueuedRequests.get(i), pulseReason); in requestState() local
262 private void transitionTo(State requestedState, int pulseReason) { in transitionTo() argument
281 updatePulseReason(newState, oldState, pulseReason); in transitionTo()
288 private void updatePulseReason(State newState, State oldState, int pulseReason) { in updatePulseReason() argument
290 mPulseReason = pulseReason; in updatePulseReason()
DDozeSensors.java351 public TriggerSensor(Sensor sensor, String setting, boolean configured, int pulseReason, in TriggerSensor() argument
353 this(sensor, setting, true /* settingDef */, configured, pulseReason, in TriggerSensor()
358 boolean configured, int pulseReason, boolean reportsTouchCoordinates, in TriggerSensor() argument
360 this(sensor, setting, settingDef, configured, pulseReason, reportsTouchCoordinates, in TriggerSensor()
365 boolean configured, int pulseReason, boolean reportsTouchCoordinates, in TriggerSensor() argument
371 mPulseReason = pulseReason; in TriggerSensor()
489 int pulseReason, boolean reportsTouchCoordinates, boolean requiresTouchscreen, in PluginSensor() argument
491 this(sensor, setting, configured, pulseReason, reportsTouchCoordinates, in PluginSensor()
496 int pulseReason, boolean reportsTouchCoordinates, boolean requiresTouchscreen, in PluginSensor() argument
498 super(null, setting, configured, pulseReason, reportsTouchCoordinates, in PluginSensor()
[all …]
DDozeLog.java330 public static String reasonToString(@Reason int pulseReason) { in reasonToString() argument
331 switch (pulseReason) { in reasonToString()
342 default: throw new IllegalArgumentException("invalid reason: " + pulseReason); in reasonToString()