/packages/apps/Launcher3/quickstep/src/com/android/quickstep/ |
D | TouchInteractionService.java | 239 if (tis.mDeviceState.isScreenPinningActive()) { in onOverviewToggle() 276 tis.mDeviceState.setAssistantAvailable(available); in onAssistantAvailable() 287 tis.mDeviceState.setAssistantVisibility(visibility); in onAssistantVisibilityChanged() 309 long lastFlags = tis.mDeviceState.getSystemUiStateFlags(); in onSystemUiStateChanged() 310 tis.mDeviceState.setSystemUiFlags(stateFlags); in onSystemUiStateChanged() 318 tis -> tis.mDeviceState.setDeferredGestureRegion(region))); in onActiveNavBarRegionChanges() 425 tis.mDeviceState.setPredictiveBackToHomeInProgress(isInProgress)); in setPredictiveBackToHomeInProgress() 453 tis -> tis.mDeviceState.setGestureBlockingTaskId(taskId)); in setGestureBlockedTaskId() 556 private RecentsAnimationDeviceState mDeviceState; field in TouchInteractionService 581 mDeviceState = new RecentsAnimationDeviceState(this, true); in onCreate() [all …]
|
D | OverviewComponentObserver.java | 63 private final RecentsAnimationDeviceState mDeviceState; field in OverviewComponentObserver 82 mDeviceState = deviceState; in OverviewComponentObserver() 118 if (mDeviceState.isHomeDisabled() != mIsHomeDisabled) { in onSystemUiStateChanged() 141 mIsHomeDisabled = mDeviceState.isHomeDisabled(); in updateOverviewTargets()
|
D | SwipeUpAnimationLogic.java | 68 protected final RecentsAnimationDeviceState mDeviceState; field in SwipeUpAnimationLogic 90 mDeviceState = deviceState; in SwipeUpAnimationLogic() 99 mDeviceState.getRotationTouchHelper().getCurrentActiveRotation(), in SwipeUpAnimationLogic() 100 mDeviceState.getRotationTouchHelper().getDisplayRotation() in SwipeUpAnimationLogic()
|
D | AbsSwipeUpHandler.java | 578 mAnimationFactory = mContainerInterface.prepareRecentsUI(mDeviceState, in onLauncherStart() 646 mDeviceState.getRotationTouchHelper() in onLauncherPresentAndGestureStarted() 689 mRecentsView.onGestureAnimationStart(runningTasks, mDeviceState.getRotationTouchHelper()); in notifyGestureAnimationStartToRecents() 748 if ((!mDeviceState.isFullyGesturalNavMode() && !mGestureState.isTrackpadGesture()) 1255 if (mDeviceState.isOverviewDisabled() && endTarget == RECENTS) { 1585 boolean appCanEnterPip = !mDeviceState.isPipActive() 1914 mContainerInterface.onSwipeUpToHomeComplete(mDeviceState);
|
D | FallbackSwipeHandler.java | 218 mDeviceState.getRotationTouchHelper()); in notifyGestureAnimationStartToRecents()
|
/packages/apps/Camera2/src/com/android/camera/device/ |
D | SingleDeviceStateMachine.java | 83 private DeviceState mDeviceState; field in SingleDeviceStateMachine 111 mDeviceState = DeviceState.CLOSED; in SingleDeviceStateMachine() 191 mDeviceState = DeviceState.OPENED; in onDeviceOpened() 223 mDeviceState = DeviceState.CLOSING; in onDeviceOpenException() 240 mDeviceState = DeviceState.CLOSED; in onDeviceClosed() 270 if (mDeviceState == DeviceState.CLOSED && mTargetState == TargetState.OPENED) { in update() 272 } else if (mDeviceState == DeviceState.OPENED && mTargetState == TargetState.OPENED) { in update() 274 } else if (mDeviceState == DeviceState.OPENED && mTargetState == TargetState.CLOSED) { in update() 276 } else if (mDeviceState == DeviceState.CLOSED && mTargetState == TargetState.CLOSED) { in update() 283 mDeviceState = DeviceState.OPENING; in executeOpen() [all …]
|
D | CameraDeviceLifecycle.java | 41 private final SingleDeviceStateMachine<TDevice, CameraDeviceKey> mDeviceState; field in CameraDeviceLifecycle 52 mDeviceState = deviceState; in CameraDeviceLifecycle() 66 mDeviceState.setRequest(mDeviceRequest); in createRequest() 79 mDeviceState.requestOpen(); in open() 94 mDeviceState.requestClose(); in close()
|
/packages/modules/Uwb/service/support_lib/src/com/google/uwb/support/oemextension/ |
D | DeviceStatus.java | 34 private final int mDeviceState; field in DeviceStatus 45 return mDeviceState; in getDeviceState() 53 mDeviceState = deviceState; in DeviceStatus() 60 bundle.putInt(DEVICE_STATE, mDeviceState); in toBundle() 83 private final RequiredParam<Integer> mDeviceState = new RequiredParam<>(); field in DeviceStatus.Builder 87 mDeviceState.set(deviceState); in setDeviceState() 98 mDeviceState.get(), in build()
|
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/inputconsumers/ |
D | OneHandedModeInputConsumer.java | 51 private final RecentsAnimationDeviceState mDeviceState; field in OneHandedModeInputConsumer 68 mDeviceState = deviceState; in OneHandedModeInputConsumer() 71 mSquaredSlop = mDeviceState.getSquaredTouchSlop(); in OneHandedModeInputConsumer() 103 if ((!mDeviceState.isOneHandedModeActive() && isValidStartAngle( in onMotionEvent() 105 || (mDeviceState.isOneHandedModeActive() && isValidExitAngle( in onMotionEvent() 149 if (mDeviceState.isSwipeToNotificationEnabled()) { in onStartGestureDetected() 151 } else if (!mDeviceState.isOneHandedModeActive()) { in onStartGestureDetected() 157 if (!mDeviceState.isOneHandedModeEnabled() || !mDeviceState.isOneHandedModeActive()) { in onStopGestureDetected() 166 return mDeviceState.isGesturalNavMode() && lastPos.y > navBarUpperBound; in isInSystemGestureRegion()
|
D | AccessibilityInputConsumer.java | 49 private final RecentsAnimationDeviceState mDeviceState; field in AccessibilityInputConsumer 67 mDeviceState = deviceState; in AccessibilityInputConsumer() 105 if (mDeviceState.getRotationTouchHelper().isInSwipeUpTouchRegion(ev, in onMotionEvent() 118 if (mState == STATE_ACTIVE && mDeviceState.isAccessibilityMenuShortcutAvailable()) { in onMotionEvent() 129 if (mDeviceState.isAccessibilityMenuShortcutAvailable() in onMotionEvent()
|
D | OtherActivityInputConsumer.java | 79 private final RecentsAnimationDeviceState mDeviceState; field in OtherActivityInputConsumer 130 mDeviceState = deviceState; in OtherActivityInputConsumer() 131 mNavBarPosition = mDeviceState.getNavBarPosition(); in OtherActivityInputConsumer() 149 mTouchSlop = mDeviceState.getTouchSlop(); in OtherActivityInputConsumer() 150 mSquaredTouchSlop = mDeviceState.getSquaredTouchSlop(); in OtherActivityInputConsumer() 155 mRotationTouchHelper = mDeviceState.getRotationTouchHelper(); in OtherActivityInputConsumer() 349 if (mDeviceState.isFullyGesturalNavMode() in onMotionEvent()
|
D | DeviceLockedInputConsumer.java | 87 private final RecentsAnimationDeviceState mDeviceState; field in DeviceLockedInputConsumer 115 mDeviceState = deviceState; in DeviceLockedInputConsumer() 118 mTouchSlopSquared = mDeviceState.getSquaredTouchSlop(); in DeviceLockedInputConsumer() 157 if (!mDeviceState.getRotationTouchHelper().isInSwipeUpTouchRegion(ev, ptrIdx)) { in onMotionEvent()
|
/packages/apps/Settings/src/com/android/settings/display/ |
D | DeviceStateAutoRotateSettingController.java | 52 private final int mDeviceState; field in DeviceStateAutoRotateSettingController 62 mDeviceState = deviceState; in DeviceStateAutoRotateSettingController() 106 return getPreferenceKeyForDeviceState(mDeviceState); in getPreferenceKey() 115 return !mAutoRotateSettingsManager.isRotationLocked(mDeviceState); in isChecked() 122 mAutoRotateSettingsManager.updateSetting(mDeviceState, isRotationLocked); in setChecked() 134 mMetricsFeatureProvider.action(mContext, actionCategory, /* value= */ mDeviceState); in logSettingChanged()
|
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/util/ |
D | SplitWithKeyboardShortcutController.java | 58 private final RecentsAnimationDeviceState mDeviceState; field in SplitWithKeyboardShortcutController 70 mDeviceState = deviceState; in SplitWithKeyboardShortcutController() 105 mDeviceState.destroy(); in onDestroy()
|
/packages/services/Telephony/tests/src/com/android/services/telephony/ |
D | TelephonyConnectionServiceTest.java | 236 @Mock DeviceState mDeviceState; field in TelephonyConnectionServiceTest 287 doReturn(false).when(mDeviceState).shouldCheckSimStateBeforeOutgoingCall(any()); in setUp() 294 mTestConnectionService.setDeviceState(mDeviceState); in setUp() 1276 doReturn(true).when(mDeviceState).isSuplDdsSwitchRequiredForEmergencyCall(any()); in testCreateOutgoingEmergencyConnection_delayDial_carrierconfig_dds() 1300 when(mDeviceState.isAirplaneModeOn(any())).thenReturn(true); in testCreateOutgoingEmerge_exitingApm_disconnected() 1328 when(mDeviceState.isAirplaneModeOn(any())).thenReturn(true); in testCreateOutgoingEmergencyConnection_exitingApm_placeCall() 1476 doReturn(true).when(mDeviceState).isRadioPowerDownAllowedOnBluetooth(any()); in testCreateOutgoingCall_turnOnRadio_bluetoothOn() 1477 doReturn(PhoneConstants.CELL_ON_FLAG).when(mDeviceState).getCellOnStatus(any()); in testCreateOutgoingCall_turnOnRadio_bluetoothOn() 1510 doReturn(true).when(mDeviceState).isRadioPowerDownAllowedOnBluetooth(any()); in testCreateOutgoingCall_forWearWatch_whenPhoneIsNull() 1511 doReturn(PhoneConstants.CELL_ON_FLAG).when(mDeviceState).getCellOnStatus(any()); in testCreateOutgoingCall_forWearWatch_whenPhoneIsNull() [all …]
|
/packages/services/Telephony/src/com/android/services/telephony/ |
D | TelephonyConnectionService.java | 235 private DeviceState mDeviceState = new DeviceState(); field in TelephonyConnectionService 530 mDeviceState = state; in setDeviceState() 896 mIsTtyEnabled = mDeviceState.isTtyModeEnabled(this); in onCreate() 1157 final boolean isAirplaneModeOn = mDeviceState.isAirplaneModeOn(this); in onCreateOutgoingConnection() 1439 final boolean allowed = mDeviceState.isRadioPowerDownAllowedOnBluetooth(this); in isRadioPowerDownOnBluetooth() 1440 final int cellOn = mDeviceState.getCellOnStatus(this); in isRadioPowerDownOnBluetooth() 1456 && mDeviceState.isAirplaneModeOn(this)) { in handleOnComplete() 1553 if (mDeviceState.shouldCheckSimStateBeforeOutgoingCall(this)) { in getTelephonyConnection() 1658 final boolean isTtyModeEnabled = mDeviceState.isTtyModeEnabled(this); in getTelephonyConnection() 1786 connection.setTtyEnabled(mDeviceState.isTtyModeEnabled(getApplicationContext())); in onCreateIncomingConnection() [all …]
|