/frameworks/native/services/inputflinger/reader/mapper/ |
D | JoystickInputMapper.cpp | 36 for (const auto& [_, axis] : mAxes) { in populateDeviceInfo() 37 addMotionRange(axis.axisInfo.axis, axis, info); in populateDeviceInfo() 39 if (axis.axisInfo.mode == AxisInfo::MODE_SPLIT) { in populateDeviceInfo() 40 addMotionRange(axis.axisInfo.highAxis, axis, info); in populateDeviceInfo() 45 void JoystickInputMapper::addMotionRange(int32_t axisId, const Axis& axis, InputDeviceInfo& info) { in addMotionRange() argument 46 info.addMotionRange(axisId, AINPUT_SOURCE_JOYSTICK, axis.min, axis.max, axis.flat, axis.fuzz, in addMotionRange() 47 axis.resolution); in addMotionRange() 53 info.addMotionRange(compatAxis, AINPUT_SOURCE_JOYSTICK, axis.min, axis.max, axis.flat, in addMotionRange() 54 axis.fuzz, axis.resolution); in addMotionRange() 61 int32_t JoystickInputMapper::getCompatAxis(int32_t axis) { in getCompatAxis() argument [all …]
|
D | SensorInputMapper.cpp | 66 int32_t sensorDataIndex, const Axis& axis) { in parseSensorConfiguration() argument 69 Sensor sensor = createSensor(sensorType, axis); in parseSensorConfiguration() 104 const Axis& axis = it->second; in dump() local 107 axis.min, axis.max, axis.flat, axis.fuzz, axis.resolution); in dump() 108 dump += StringPrintf(INDENT5 " scale=%0.5f, offset=%0.5f\n", axis.scale, in dump() 109 axis.offset); in dump() 112 axis.rawAxisInfo.minValue, axis.rawAxisInfo.maxValue, in dump() 113 axis.rawAxisInfo.flat, axis.rawAxisInfo.fuzz, in dump() 114 axis.rawAxisInfo.resolution); in dump() 143 axisInfo.axis = -1; in reconfigure() [all …]
|
/frameworks/base/core/java/android/view/ |
D | HapticScrollFeedbackProvider.java | 82 public void onScrollProgress(int inputDeviceId, int source, int axis, int deltaInPixels) { in onScrollProgress() argument 83 maybeUpdateCurrentConfig(inputDeviceId, source, axis); in onScrollProgress() 109 public void onScrollLimit(int inputDeviceId, int source, int axis, boolean isStart) { in onScrollLimit() argument 110 maybeUpdateCurrentConfig(inputDeviceId, source, axis); in onScrollLimit() 126 public void onSnapToItem(int inputDeviceId, int source, int axis) { in onSnapToItem() argument 127 maybeUpdateCurrentConfig(inputDeviceId, source, axis); in onSnapToItem() 136 private void maybeUpdateCurrentConfig(int deviceId, int source, int axis) { in maybeUpdateCurrentConfig() argument 137 if (mAxis != axis || mSource != source || mDeviceId != deviceId) { in maybeUpdateCurrentConfig() 145 mAxis = axis; in maybeUpdateCurrentConfig() 149 mViewConfig.isHapticScrollFeedbackEnabled(deviceId, axis, source); in maybeUpdateCurrentConfig() [all …]
|
/frameworks/base/data/keyboards/ |
D | Vendor_054c_Product_0268.kl | 36 axis 0x00 X 37 axis 0x01 Y 40 axis 0x02 Z 41 axis 0x05 RZ 44 # axis 0x2c -HAT_Y 45 # axis 0x2d +HAT_X 46 # axis 0x2e +HAT_Y 47 # axis 0x2f -HAT_X 50 axis 0x30 LTRIGGER 53 axis 0x31 RTRIGGER [all …]
|
D | Vendor_045e_Product_02e0.kl | 30 # LT axis 31 axis 0x02 LTRIGGER 32 # RT axis 33 axis 0x05 RTRIGGER 37 axis 0x00 X 38 axis 0x01 Y 40 axis 0x03 Z 41 axis 0x04 RZ 49 axis 0x10 HAT_X 50 axis 0x11 HAT_Y
|
D | Vendor_2e95_Product_7725.kl | 35 # L2 Trigger axis 36 axis 0x03 LTRIGGER 37 # R2 Trigger axis 38 axis 0x04 RTRIGGER 41 axis 0x00 X 42 axis 0x01 Y 44 axis 0x02 Z 45 axis 0x05 RZ 53 axis 0x10 HAT_X 54 axis 0x11 HAT_Y
|
D | Vendor_1689_Product_fd01.kl | 29 axis 0x00 X 30 axis 0x01 Y 31 axis 0x03 Z 32 axis 0x04 RZ 33 axis 0x05 RTRIGGER 34 axis 0x02 LTRIGGER 35 axis 0x10 HAT_X 36 axis 0x11 HAT_Y
|
D | Vendor_1bad_Product_f036.kl | 29 axis 0x00 X 30 axis 0x01 Y 31 axis 0x03 Z 32 axis 0x04 RZ 33 axis 0x05 RTRIGGER 34 axis 0x02 LTRIGGER 35 axis 0x10 HAT_X 36 axis 0x11 HAT_Y
|
D | Vendor_1689_Product_fe00.kl | 29 axis 0x00 X 30 axis 0x01 Y 31 axis 0x03 Z 32 axis 0x04 RZ 33 axis 0x05 RTRIGGER 34 axis 0x02 LTRIGGER 35 axis 0x10 HAT_X 36 axis 0x11 HAT_Y
|
D | Vendor_1bad_Product_f023.kl | 28 axis 0x00 X 29 axis 0x01 Y 30 axis 0x03 Z 31 axis 0x04 RZ 32 axis 0x05 RTRIGGER 33 axis 0x02 LTRIGGER 34 axis 0x10 HAT_X 35 axis 0x11 HAT_Y
|
D | Vendor_1bad_Product_f027.kl | 29 axis 0x00 X 30 axis 0x01 Y 31 axis 0x03 Z 32 axis 0x04 RZ 33 axis 0x05 RTRIGGER 34 axis 0x02 LTRIGGER 35 axis 0x10 HAT_X 36 axis 0x11 HAT_Y
|
D | Vendor_1bad_Product_f016.kl | 29 axis 0x00 X 30 axis 0x01 Y 31 axis 0x03 Z 32 axis 0x04 RZ 33 axis 0x05 RTRIGGER 34 axis 0x02 LTRIGGER 35 axis 0x10 HAT_X 36 axis 0x11 HAT_Y
|
D | Vendor_046d_Product_c21d.kl | 29 axis 0x00 X 30 axis 0x01 Y 31 axis 0x03 Z 32 axis 0x04 RZ 33 axis 0x05 GAS 34 axis 0x02 BRAKE 35 axis 0x10 HAT_X 36 axis 0x11 HAT_Y
|
D | Vendor_046d_Product_c21f.kl | 29 axis 0x00 X 30 axis 0x01 Y 31 axis 0x03 Z 32 axis 0x04 RZ 33 axis 0x05 RTRIGGER 34 axis 0x02 LTRIGGER 35 axis 0x10 HAT_X 36 axis 0x11 HAT_Y
|
D | idroid_con.kl | 30 axis 0x00 X 31 axis 0x01 Y 32 axis 0x02 Z 33 axis 0x03 RX 34 axis 0x04 RY 35 axis 0x05 RZ 36 axis 0x10 HAT_X 37 axis 0x11 HAT_Y
|
D | Vendor_1532_Product_100a.kl | 36 axis 0x00 X 37 axis 0x01 Y 39 axis 0x02 Z 40 axis 0x05 RZ 42 # L2 axis 43 axis 0x09 RTRIGGER 44 # R2 axis 45 axis 0x0a LTRIGGER 53 axis 0x10 HAT_X 54 axis 0x11 HAT_Y
|
D | Vendor_1532_Product_1004.kl | 36 axis 0x00 X 37 axis 0x01 Y 39 axis 0x02 Z 40 axis 0x05 RZ 42 # L2 axis 43 axis 0x09 RTRIGGER 44 # R2 axis 45 axis 0x0a LTRIGGER 53 axis 0x10 HAT_X 54 axis 0x11 HAT_Y
|
D | Vendor_1532_Product_0707.kl | 36 axis 0x00 X 37 axis 0x01 Y 39 axis 0x02 Z 40 axis 0x05 RZ 42 # L2 axis 43 axis 0x09 RTRIGGER 44 # R2 axis 45 axis 0x0a LTRIGGER 53 axis 0x10 HAT_X 54 axis 0x11 HAT_Y
|
D | Vendor_1532_Product_0705.kl | 36 axis 0x00 X 37 axis 0x01 Y 39 axis 0x02 Z 40 axis 0x05 RZ 42 # L2 axis 43 axis 0x09 RTRIGGER 44 # R2 axis 45 axis 0x0a LTRIGGER 53 axis 0x10 HAT_X 54 axis 0x11 HAT_Y
|
D | Vendor_1532_Product_1009.kl | 36 axis 0x00 X 37 axis 0x01 Y 39 axis 0x02 Z 40 axis 0x05 RZ 42 # L2 axis 43 axis 0x09 RTRIGGER 44 # R2 axis 45 axis 0x0a LTRIGGER 53 axis 0x10 HAT_X 54 axis 0x11 HAT_Y
|
D | Vendor_1532_Product_1007.kl | 36 axis 0x00 X 37 axis 0x01 Y 39 axis 0x02 Z 40 axis 0x05 RZ 42 # L2 axis 43 axis 0x09 RTRIGGER 44 # R2 axis 45 axis 0x0a LTRIGGER 53 axis 0x10 HAT_X 54 axis 0x11 HAT_Y
|
D | Vendor_2378_Product_1008.kl | 33 axis 0x00 X 34 axis 0x01 Y 35 axis 0x03 Z 36 axis 0x04 RZ 37 axis 0x05 RTRIGGER 38 axis 0x02 LTRIGGER 39 axis 0x10 HAT_X 40 axis 0x11 HAT_Y
|
D | Vendor_1d79_Product_0009.kl | 33 axis 0x00 X 34 axis 0x01 Y 35 axis 0x02 Z 36 axis 0x05 RZ 37 axis 0x09 RTRIGGER 38 axis 0x0a LTRIGGER 39 axis 0x10 HAT_X 40 axis 0x11 HAT_Y
|
/frameworks/base/core/java/android/widget/ |
D | DifferentialMotionFlingHelper.java | 82 Context context, int[] store, MotionEvent event, int axis); in calculateFlingVelocityThresholds() argument 102 float getCurrentVelocity(VelocityTracker vt, MotionEvent event, int axis); in getCurrentVelocity() argument 165 public void onMotionEvent(MotionEvent event, int axis) { in onMotionEvent() argument 169 boolean flingParamsChanged = calculateFlingVelocityThresholds(event, axis); in onMotionEvent() 178 getCurrentVelocity(event, axis) * mTarget.getScaledScrollFactor(); in onMotionEvent() 211 private boolean calculateFlingVelocityThresholds(MotionEvent event, int axis) { in calculateFlingVelocityThresholds() argument 216 || mLastProcessedAxis != axis) { in calculateFlingVelocityThresholds() 218 mContext, mFlingVelocityThresholds, event, axis); in calculateFlingVelocityThresholds() 223 mLastProcessedAxis = axis; in calculateFlingVelocityThresholds() 230 Context context, int[] buffer, MotionEvent event, int axis) { in calculateFlingVelocityThresholds() argument [all …]
|
/frameworks/native/libs/vr/libdvrcommon/tests/ |
D | pose_test.cpp | 56 for (int axis = 0; axis < 3; ++axis) { in TYPED_TEST() local 58 start_position[axis] = FT(1.0); in TYPED_TEST() 81 for (int axis = 0; axis < 3; ++axis) { in TYPED_TEST() local 83 start_position[axis] = FT(1.0); in TYPED_TEST() 110 for (int axis = 0; axis < 3; ++axis) { in TYPED_TEST() local 112 start_position[axis] = FT(1.0); in TYPED_TEST() 136 for (int axis = 0; axis < 3; ++axis) { in TYPED_TEST() local 138 start_position[axis] = FT(1.0); in TYPED_TEST()
|