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.java269 void onSensor(int pulseReason, float screenX, float screenY, float[] rawValues) { in onSensor() argument
270 boolean isDoubleTap = pulseReason == DozeLog.REASON_SENSOR_DOUBLE_TAP; in onSensor()
271 boolean isTap = pulseReason == DozeLog.REASON_SENSOR_TAP; in onSensor()
272 boolean isPickup = pulseReason == DozeLog.REASON_SENSOR_PICKUP; in onSensor()
273 boolean isLongPress = pulseReason == DozeLog.PULSE_REASON_SENSOR_LONG_PRESS; in onSensor()
274 boolean isWakeOnPresence = pulseReason == DozeLog.REASON_SENSOR_WAKE_UP; in onSensor()
275 boolean isWakeOnReach = pulseReason == DozeLog.PULSE_REASON_SENSOR_WAKE_LOCK_SCREEN; in onSensor()
276 boolean isUdfpsLongPress = pulseReason == DozeLog.REASON_SENSOR_UDFPS_LONG_PRESS; in onSensor()
277 boolean isQuickPickup = pulseReason == DozeLog.REASON_SENSOR_QUICK_PICKUP; in onSensor()
284 pulseReason); in onSensor()
[all …]
DDozeMachine.java199 public void requestPulse(int pulseReason) { in requestPulse() argument
204 requestState(State.DOZE_REQUEST_PULSE, pulseReason); in requestPulse()
214 private void requestState(State requestedState, int pulseReason) { in requestState() argument
228 transitionTo(mQueuedRequests.get(i), pulseReason); in requestState() local
274 private void transitionTo(State requestedState, int pulseReason) { in transitionTo() argument
293 updatePulseReason(newState, oldState, pulseReason); in transitionTo()
300 private void updatePulseReason(State newState, State oldState, int pulseReason) { in updatePulseReason() argument
302 mPulseReason = pulseReason; in updatePulseReason()
DDozeSensors.java409 public TriggerSensor(Sensor sensor, String setting, boolean configured, int pulseReason, in TriggerSensor() argument
411 this(sensor, setting, true /* settingDef */, configured, pulseReason, in TriggerSensor()
416 boolean configured, int pulseReason, boolean reportsTouchCoordinates, in TriggerSensor() argument
418 this(sensor, setting, settingDef, configured, pulseReason, reportsTouchCoordinates, in TriggerSensor()
424 boolean configured, int pulseReason, boolean reportsTouchCoordinates, in TriggerSensor() argument
431 mPulseReason = pulseReason; in TriggerSensor()
545 int pulseReason, boolean reportsTouchCoordinates, boolean requiresTouchscreen, in PluginSensor() argument
547 this(sensor, setting, configured, pulseReason, reportsTouchCoordinates, in PluginSensor()
552 int pulseReason, boolean reportsTouchCoordinates, boolean requiresTouchscreen, in PluginSensor() argument
554 super(null, setting, configured, pulseReason, reportsTouchCoordinates, in PluginSensor()
[all …]
DDozeLog.java370 public static String reasonToString(@Reason int pulseReason) { in reasonToString() argument
371 switch (pulseReason) { in reasonToString()
384 default: throw new IllegalArgumentException("invalid reason: " + pulseReason); in reasonToString()