Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/view/
DHapticScrollFeedbackProvider.java82 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()
DScrollFeedbackProvider.java100 void onSnapToItem(int inputDeviceId, int source, int axis); in onSnapToItem() argument
121 void onScrollLimit(int inputDeviceId, int source, int axis, boolean isStart); in onScrollLimit() argument
145 void onScrollProgress(int inputDeviceId, int source, int axis, int deltaInPixels); in onScrollProgress() argument
DViewConfiguration.java1224 public int getScaledMinimumFlingVelocity(int inputDeviceId, int axis, int source) { in getScaledMinimumFlingVelocity() argument
1225 if (!isInputDeviceInfoValid(inputDeviceId, axis, source)) return NO_FLING_MIN_VELOCITY; in getScaledMinimumFlingVelocity()
1242 public int getScaledMaximumFlingVelocity(int inputDeviceId, int axis, int source) { in getScaledMaximumFlingVelocity() argument
1243 if (!isInputDeviceInfoValid(inputDeviceId, axis, source)) return NO_FLING_MAX_VELOCITY; in getScaledMaximumFlingVelocity()
1281 public boolean isHapticScrollFeedbackEnabled(int inputDeviceId, int axis, int source) { in isHapticScrollFeedbackEnabled() argument
1282 if (!isInputDeviceInfoValid(inputDeviceId, axis, source)) return false; in isHapticScrollFeedbackEnabled()
1325 public int getHapticScrollFeedbackTickInterval(int inputDeviceId, int axis, int source) { in getHapticScrollFeedbackTickInterval() argument
1330 if (!isInputDeviceInfoValid(inputDeviceId, axis, source)) { in getHapticScrollFeedbackTickInterval()
/frameworks/base/packages/SystemUI/src/com/android/systemui/stylus/
DStylusUsiPowerUI.kt68 @VisibleForTesting var inputDeviceId: Int? = null variable in com.android.systemui.stylus.StylusUsiPowerUI
113 inputDeviceId = deviceId in updateBatteryState()
205 if (inputDeviceId == null) return in onReceive()
208 args.putInt(KEY_DEVICE_INPUT_ID, inputDeviceId!!) in onReceive()
DStylusManager.kt177 val inputDeviceId: Int = in <lambda>() constant
184 "Charging state metadata changed for device $inputDeviceId " + in <lambda>()
189 cb.onStylusBluetoothChargingStateChanged(inputDeviceId, device, isCharging) in <lambda>()
374 inputDeviceId: Int, in <lambda>()
/frameworks/base/services/companion/java/com/android/server/companion/virtual/
DInputController.java426 String deviceName, int inputDeviceId) { in addDeviceForTesting() argument
429 }, type, displayId, phys, deviceName, inputDeviceId)); in addDeviceForTesting()
586 int displayId, String phys, String name, int inputDeviceId) { in InputDeviceDescriptor() argument
593 mInputDeviceId = inputDeviceId; in InputDeviceDescriptor()
764 final int inputDeviceId; in createDeviceInternal() local
778 inputDeviceId = waiter.waitForDeviceCreation(); in createDeviceInternal()
799 deviceName, inputDeviceId)); in createDeviceInternal()
DVirtualDeviceManagerService.java857 public boolean isInputDeviceOwnedByVirtualDevice(int inputDeviceId) { in isInputDeviceOwnedByVirtualDevice() argument
861 .isInputDeviceOwnedByVirtualDevice(inputDeviceId)) { in isInputDeviceOwnedByVirtualDevice()
DVirtualDeviceImpl.java1455 boolean isInputDeviceOwnedByVirtualDevice(int inputDeviceId) {
1457 inputDeviceDescriptor -> inputDeviceDescriptor.getInputDeviceId() == inputDeviceId);
/frameworks/base/services/core/java/com/android/server/companion/virtual/
DVirtualDeviceManagerInternal.java142 public abstract boolean isInputDeviceOwnedByVirtualDevice(int inputDeviceId); in isInputDeviceOwnedByVirtualDevice() argument
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/stylus/
DStylusUsiPowerUiTest.kt133 assertThat(stylusUsiPowerUi.inputDeviceId).isEqualTo(1) in updateBatteryState_capacitySame_inputDeviceChanges_updatesInputDeviceId()
/frameworks/base/services/core/java/com/android/server/input/
DBatteryController.java242 private BluetoothDevice getBluetoothDevice(int inputDeviceId) { in getBluetoothDevice() argument
244 processInputDevice(inputDeviceId, null /*defaultValue*/, in getBluetoothDevice()
/frameworks/base/packages/SystemUI/src/com/android/systemui/navigationbar/gestural/
DEdgeBackGestureHandler.java571 for (int inputDeviceId : inputDevices) { in onNavBarAttached()
572 mInputDeviceListener.onInputDeviceAdded(inputDeviceId); in onNavBarAttached()