Home
last modified time | relevance | path

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

/device/google/dragon/sensor_hub/
Dsensors.cpp313 int gesture_id = cros_ec_gesture_id[gesture]; in cros_ec_get_gesture_names() local
314 if (Stotal_max_gesture_handle_ <= gesture_id) { in cros_ec_get_gesture_names()
316 (gesture_id + 1) * sizeof(cros_ec_gesture_info)); in cros_ec_get_gesture_names()
320 (gesture_id + 1 - Stotal_max_gesture_handle_) * in cros_ec_get_gesture_names()
322 Stotal_max_gesture_handle_ = gesture_id + 1; in cros_ec_get_gesture_names()
324 cros_ec_gesture_info *gesture_info = &Sgesture_info_[gesture_id]; in cros_ec_get_gesture_names()
331 sensor_data->handle = CROS_EC_MAX_PHYSICAL_SENSOR + gesture_id; in cros_ec_get_gesture_names()
334 gesture_info->enable_entry, gesture_info->device_name, gesture_id); in cros_ec_get_gesture_names()