/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/launcher3/uioverrides/states/ |
D | QuickstepAtomicAnimationFactory.java | 16 package com.android.launcher3.uioverrides.states; 40 import static com.android.launcher3.states.StateAnimationConfig.ANIM_ALL_APPS_FADE; 41 import static com.android.launcher3.states.StateAnimationConfig.ANIM_DEPTH; 42 import static com.android.launcher3.states.StateAnimationConfig.ANIM_HOTSEAT_SCALE; 43 import static com.android.launcher3.states.StateAnimationConfig.ANIM_HOTSEAT_TRANSLATE; 44 import static com.android.launcher3.states.StateAnimationConfig.ANIM_OVERVIEW_FADE; 45 import static com.android.launcher3.states.StateAnimationConfig.ANIM_OVERVIEW_SCALE; 46 import static com.android.launcher3.states.StateAnimationConfig.ANIM_OVERVIEW_SCRIM_FADE; 47 import static com.android.launcher3.states.StateAnimationConfig.ANIM_OVERVIEW_TRANSLATE_X; 48 import static com.android.launcher3.states.StateAnimationConfig.ANIM_OVERVIEW_TRANSLATE_Y; [all …]
|
/packages/apps/Messaging/src/com/android/messaging/util/ |
D | SwitchCompatUtils.java | 68 final int[][] states = new int[3][]; in getSwitchThumbColorStateList() local 72 states[i] = new int[] { -android.R.attr.state_enabled }; in getSwitchThumbColorStateList() 75 states[i] = new int[] { android.R.attr.state_checked }; in getSwitchThumbColorStateList() 79 states[i] = new int[0]; in getSwitchThumbColorStateList() 83 return new ColorStateList(states, colors); in getSwitchThumbColorStateList() 88 final int[][] states = new int[3][]; in getSwitchTrackColorStateList() local 92 states[i] = new int[] { -android.R.attr.state_enabled }; in getSwitchTrackColorStateList() 95 states[i] = new int[] { android.R.attr.state_checked }; in getSwitchTrackColorStateList() 99 states[i] = new int[0]; in getSwitchTrackColorStateList() 102 return new ColorStateList(states, colors); in getSwitchTrackColorStateList()
|
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/uioverrides/ |
D | BaseRecentsViewStateController.java | 23 import static com.android.launcher3.states.StateAnimationConfig.ANIM_OVERVIEW_FADE; 24 import static com.android.launcher3.states.StateAnimationConfig.ANIM_OVERVIEW_MODAL; 25 import static com.android.launcher3.states.StateAnimationConfig.ANIM_OVERVIEW_SCALE; 26 import static com.android.launcher3.states.StateAnimationConfig.ANIM_OVERVIEW_SCRIM_FADE; 27 import static com.android.launcher3.states.StateAnimationConfig.ANIM_OVERVIEW_TRANSLATE_X; 28 import static com.android.launcher3.states.StateAnimationConfig.ANIM_OVERVIEW_TRANSLATE_Y; 29 import static com.android.launcher3.states.StateAnimationConfig.PLAY_ATOMIC_OVERVIEW_PEEK; 30 import static com.android.launcher3.states.StateAnimationConfig.PLAY_ATOMIC_OVERVIEW_SCALE; 31 import static com.android.launcher3.states.StateAnimationConfig.SKIP_OVERVIEW; 45 import com.android.launcher3.states.StateAnimationConfig;
|
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/launcher3/uioverrides/touchcontrollers/ |
D | FlingAndHoldTouchController.java | 26 import static com.android.launcher3.states.StateAnimationConfig.ANIM_ALL_APPS_FADE; 27 import static com.android.launcher3.states.StateAnimationConfig.ANIM_ALL_APPS_HEADER_FADE; 28 import static com.android.launcher3.states.StateAnimationConfig.ANIM_WORKSPACE_FADE; 29 import static com.android.launcher3.states.StateAnimationConfig.ANIM_WORKSPACE_SCALE; 30 import static com.android.launcher3.states.StateAnimationConfig.ANIM_WORKSPACE_TRANSLATE; 31 import static com.android.launcher3.states.StateAnimationConfig.PLAY_ATOMIC_OVERVIEW_PEEK; 32 import static com.android.launcher3.states.StateAnimationConfig.SKIP_OVERVIEW; 33 import static com.android.launcher3.uioverrides.states.QuickstepAtomicAnimationFactory.INDEX_PAUSE_… 49 import com.android.launcher3.states.StateAnimationConfig; 50 import com.android.launcher3.states.StateAnimationConfig.AnimationFlags; [all …]
|
D | QuickSwitchTouchController.java | 24 import static com.android.launcher3.states.StateAnimationConfig.ANIM_ALL_APPS_FADE; 25 import static com.android.launcher3.states.StateAnimationConfig.ANIM_OVERVIEW_FADE; 26 import static com.android.launcher3.states.StateAnimationConfig.ANIM_OVERVIEW_SCALE; 27 import static com.android.launcher3.states.StateAnimationConfig.ANIM_OVERVIEW_TRANSLATE_Y; 28 import static com.android.launcher3.states.StateAnimationConfig.ANIM_VERTICAL_PROGRESS; 29 import static com.android.launcher3.states.StateAnimationConfig.ANIM_WORKSPACE_FADE; 30 import static com.android.launcher3.states.StateAnimationConfig.ANIM_WORKSPACE_TRANSLATE; 41 import com.android.launcher3.states.StateAnimationConfig;
|
D | NoButtonQuickSwitchTouchController.java | 33 import static com.android.launcher3.states.StateAnimationConfig.ANIM_ALL_APPS_FADE; 34 import static com.android.launcher3.states.StateAnimationConfig.ANIM_VERTICAL_PROGRESS; 35 import static com.android.launcher3.states.StateAnimationConfig.ANIM_WORKSPACE_FADE; 36 import static com.android.launcher3.states.StateAnimationConfig.ANIM_WORKSPACE_TRANSLATE; 37 import static com.android.launcher3.states.StateAnimationConfig.SKIP_OVERVIEW; 40 import static com.android.launcher3.uioverrides.states.QuickstepAtomicAnimationFactory.INDEX_PAUSE_… 69 import com.android.launcher3.states.StateAnimationConfig;
|
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/quickstep/fallback/ |
D | FallbackRecentsStateController.java | 19 import static com.android.launcher3.states.StateAnimationConfig.ANIM_OVERVIEW_MODAL; 20 import static com.android.launcher3.states.StateAnimationConfig.ANIM_OVERVIEW_SCALE; 21 import static com.android.launcher3.states.StateAnimationConfig.ANIM_OVERVIEW_TRANSLATE_X; 22 import static com.android.launcher3.states.StateAnimationConfig.ANIM_OVERVIEW_TRANSLATE_Y; 23 import static com.android.launcher3.states.StateAnimationConfig.PLAY_ATOMIC_OVERVIEW_PEEK; 24 import static com.android.launcher3.states.StateAnimationConfig.PLAY_ATOMIC_OVERVIEW_SCALE; 25 import static com.android.launcher3.states.StateAnimationConfig.SKIP_OVERVIEW; 35 import com.android.launcher3.states.StateAnimationConfig;
|
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/quickstep/util/ |
D | OverviewToHomeAnim.java | 25 import static com.android.launcher3.states.StateAnimationConfig.ANIM_ALL_COMPONENTS; 26 import static com.android.launcher3.states.StateAnimationConfig.ANIM_OVERVIEW_ACTIONS_FADE; 27 import static com.android.launcher3.states.StateAnimationConfig.ANIM_OVERVIEW_FADE; 28 import static com.android.launcher3.states.StateAnimationConfig.ANIM_OVERVIEW_SCALE; 29 import static com.android.launcher3.states.StateAnimationConfig.ANIM_OVERVIEW_TRANSLATE_X; 30 import static com.android.launcher3.states.StateAnimationConfig.ANIM_OVERVIEW_TRANSLATE_Y; 31 import static com.android.launcher3.states.StateAnimationConfig.PLAY_ATOMIC_OVERVIEW_PEEK; 42 import com.android.launcher3.states.StateAnimationConfig;
|
D | StaggeredWorkspaceAnim.java | 24 import static com.android.launcher3.states.StateAnimationConfig.ANIM_ALL_COMPONENTS; 25 import static com.android.launcher3.states.StateAnimationConfig.SKIP_DEPTH_CONTROLLER; 26 import static com.android.launcher3.states.StateAnimationConfig.SKIP_OVERVIEW; 49 import com.android.launcher3.states.StateAnimationConfig;
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/state/ |
D | StateAdapter.java | 84 public boolean same(Vector<State> states) { in same() argument 86 if (states.size() + 1 != getCount()) { in same() 91 if (!state.equals(states.elementAt(i-1))) { in same() 98 public void fill(Vector<State> states) { in fill() argument 99 if (same(states)) { in fill() 104 addAll(states); in fill()
|
/packages/apps/PermissionController/src/com/android/permissioncontroller/permission/ui/television/ |
D | AppPermissionFragment.java | 266 private void setRadioButtonsState(Map<ButtonType, ButtonState> states) { in setRadioButtonsState() argument 267 if (states == null && mViewModel.getButtonStateLiveData().isInitialized()) { in setRadioButtonsState() 274 } else if (states == null) { in setRadioButtonsState() 329 setButtonState(mAllowButton, states.get(ButtonType.ALLOW)); in setRadioButtonsState() 330 setButtonState(mAllowAlwaysButton, states.get(ButtonType.ALLOW_ALWAYS)); in setRadioButtonsState() 331 setButtonState(mAllowForegroundButton, states.get(ButtonType.ALLOW_FOREGROUND)); in setRadioButtonsState() 332 setButtonState(mAskOneTimeButton, states.get(ButtonType.ASK_ONCE)); in setRadioButtonsState() 333 setButtonState(mAskButton, states.get(ButtonType.ASK)); in setRadioButtonsState() 334 setButtonState(mDenyButton, states.get(ButtonType.DENY)); in setRadioButtonsState() 335 setButtonState(mDenyForegroundButton, states.get(ButtonType.DENY_FOREGROUND)); in setRadioButtonsState()
|
/packages/apps/DeskClock/src/com/android/deskclock/timer/ |
D | TimerFragment.java | 438 final int[] states = computePageIndicatorStates(page, pageIndicatorCount, pageCount); in updatePageIndicators() local 439 for (int i = 0; i < states.length; i++) { in updatePageIndicators() 440 final int state = states[i]; in updatePageIndicators() 480 final int[] states = new int[pageIndicatorCount]; in computePageIndicatorStates() local 481 Arrays.fill(states, 0); in computePageIndicatorStates() 485 return states; in computePageIndicatorStates() 489 Arrays.fill(states, 0, rangeSize, R.drawable.ic_swipe_circle_dark); in computePageIndicatorStates() 493 states[0] = R.drawable.ic_swipe_circle_top; in computePageIndicatorStates() 498 states[rangeSize - 1] = R.drawable.ic_swipe_circle_bottom; in computePageIndicatorStates() 502 states[page - rangeStart] = R.drawable.ic_swipe_circle_light; in computePageIndicatorStates() [all …]
|
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ |
D | SearchWidgetProvider.java | 78 SearchWidgetState[] states = new SearchWidgetState[appWidgetIds.length]; in getSearchWidgetStates() local 80 states[i] = getSearchWidgetState(context, appWidgetIds[i]); in getSearchWidgetStates() 82 return states; in getSearchWidgetStates() 91 SearchWidgetState[] states = getSearchWidgetStates(context); in updateSearchWidgets() local 93 for (SearchWidgetState state : states) { in updateSearchWidgets()
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
D | WorkspaceStateTransitionAnimation.java | 36 import static com.android.launcher3.states.StateAnimationConfig.ANIM_HOTSEAT_SCALE; 37 import static com.android.launcher3.states.StateAnimationConfig.ANIM_HOTSEAT_TRANSLATE; 38 import static com.android.launcher3.states.StateAnimationConfig.ANIM_WORKSPACE_FADE; 39 import static com.android.launcher3.states.StateAnimationConfig.ANIM_WORKSPACE_SCALE; 40 import static com.android.launcher3.states.StateAnimationConfig.ANIM_WORKSPACE_TRANSLATE; 53 import com.android.launcher3.states.StateAnimationConfig;
|
D | LauncherState.java | 34 import com.android.launcher3.states.HintState; 35 import com.android.launcher3.states.SpringLoadedState; 37 import com.android.launcher3.uioverrides.states.AllAppsState; 38 import com.android.launcher3.uioverrides.states.OverviewState;
|
/packages/apps/PermissionController/src/com/android/permissioncontroller/permission/ui/handheld/ |
D | AppPermissionFragment.java | 316 private void setRadioButtonsState(Map<ButtonType, ButtonState> states) { in setRadioButtonsState() argument 317 if (states == null && mViewModel.getButtonStateLiveData().isInitialized()) { in setRadioButtonsState() 324 } else if (states == null) { in setRadioButtonsState() 377 setButtonState(mAllowButton, states.get(ButtonType.ALLOW)); in setRadioButtonsState() 378 setButtonState(mAllowAlwaysButton, states.get(ButtonType.ALLOW_ALWAYS)); in setRadioButtonsState() 379 setButtonState(mAllowForegroundButton, states.get(ButtonType.ALLOW_FOREGROUND)); in setRadioButtonsState() 380 setButtonState(mAskOneTimeButton, states.get(ButtonType.ASK_ONCE)); in setRadioButtonsState() 381 setButtonState(mAskButton, states.get(ButtonType.ASK)); in setRadioButtonsState() 382 setButtonState(mDenyButton, states.get(ButtonType.DENY)); in setRadioButtonsState() 383 setButtonState(mDenyForegroundButton, states.get(ButtonType.DENY_FOREGROUND)); in setRadioButtonsState()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/a2dpsink/ |
D | A2dpSinkService.java | 195 public List<BluetoothDevice> getDevicesMatchingConnectionStates(int[] states) { in getDevicesMatchingConnectionStates() argument 200 return service.getDevicesMatchingConnectionStates(states); in getDevicesMatchingConnectionStates() 337 List<BluetoothDevice> getDevicesMatchingConnectionStates(int[] states) { in getDevicesMatchingConnectionStates() argument 338 if (DBG) Log.d(TAG, "getDevicesMatchingConnectionStates" + Arrays.toString(states)); in getDevicesMatchingConnectionStates() 345 for (int i = 0; i < states.length; i++) { in getDevicesMatchingConnectionStates() 346 if (connectionState == states[i]) { in getDevicesMatchingConnectionStates()
|
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/uioverrides/touchcontrollers/ |
D | PortraitStatesTouchController.java | 29 import static com.android.launcher3.states.StateAnimationConfig.ANIM_ALL_APPS_FADE; 30 import static com.android.launcher3.states.StateAnimationConfig.ANIM_OVERVIEW_FADE; 31 import static com.android.launcher3.states.StateAnimationConfig.ANIM_VERTICAL_PROGRESS; 46 import com.android.launcher3.states.StateAnimationConfig; 47 import com.android.launcher3.states.StateAnimationConfig.AnimationFlags; 51 import com.android.launcher3.uioverrides.states.OverviewState;
|
/packages/apps/Launcher3/src/com/android/launcher3/allapps/ |
D | AllAppsTransitionController.java | 13 import static com.android.launcher3.states.StateAnimationConfig.ANIM_ALL_APPS_FADE; 14 import static com.android.launcher3.states.StateAnimationConfig.ANIM_ALL_APPS_HEADER_FADE; 15 import static com.android.launcher3.states.StateAnimationConfig.ANIM_OVERVIEW_SCALE; 16 import static com.android.launcher3.states.StateAnimationConfig.ANIM_VERTICAL_PROGRESS; 37 import com.android.launcher3.states.StateAnimationConfig;
|
/packages/apps/Bluetooth/src/com/android/bluetooth/mapclient/ |
D | MapClientService.java | 200 public synchronized List<BluetoothDevice> getDevicesMatchingConnectionStates(int[] states) { in getDevicesMatchingConnectionStates() argument 201 if (DBG) Log.d(TAG, "getDevicesMatchingConnectionStates" + Arrays.toString(states)); in getDevicesMatchingConnectionStates() 208 for (int i = 0; i < states.length; i++) { in getDevicesMatchingConnectionStates() 209 if (connectionState == states[i]) { in getDevicesMatchingConnectionStates() 509 public List<BluetoothDevice> getDevicesMatchingConnectionStates(int[] states) { in getDevicesMatchingConnectionStates() argument 517 return service.getDevicesMatchingConnectionStates(states); in getDevicesMatchingConnectionStates()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/pbapclient/ |
D | PbapClientService.java | 274 public List<BluetoothDevice> getDevicesMatchingConnectionStates(int[] states) { in getDevicesMatchingConnectionStates() argument 279 return service.getDevicesMatchingConnectionStates(states); in getDevicesMatchingConnectionStates() 386 private List<BluetoothDevice> getDevicesMatchingConnectionStates(int[] states) { in getDevicesMatchingConnectionStates() argument 393 for (int state : states) { in getDevicesMatchingConnectionStates()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/avrcpcontroller/ |
D | AvrcpControllerService.java | 287 public List<BluetoothDevice> getDevicesMatchingConnectionStates(int[] states) { in getDevicesMatchingConnectionStates() argument 292 return service.getDevicesMatchingConnectionStates(states); in getDevicesMatchingConnectionStates() 757 List<BluetoothDevice> getDevicesMatchingConnectionStates(int[] states) { in getDevicesMatchingConnectionStates() argument 758 if (DBG) Log.d(TAG, "getDevicesMatchingConnectionStates" + Arrays.toString(states)); in getDevicesMatchingConnectionStates() 765 for (int i = 0; i < states.length; i++) { in getDevicesMatchingConnectionStates() 766 if (connectionState == states[i]) { in getDevicesMatchingConnectionStates()
|
/packages/apps/Launcher3/src/com/android/launcher3/touch/ |
D | AbstractStateChangeTouchController.java | 26 import static com.android.launcher3.states.StateAnimationConfig.ANIM_ALL_COMPONENTS; 27 import static com.android.launcher3.states.StateAnimationConfig.PLAY_ATOMIC_OVERVIEW_SCALE; 28 import static com.android.launcher3.states.StateAnimationConfig.PLAY_NON_ATOMIC; 49 import com.android.launcher3.states.StateAnimationConfig; 50 import com.android.launcher3.states.StateAnimationConfig.AnimationFlags;
|
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/statehandlers/ |
D | DepthController.java | 20 import static com.android.launcher3.states.StateAnimationConfig.ANIM_DEPTH; 21 import static com.android.launcher3.states.StateAnimationConfig.SKIP_DEPTH_CONTROLLER; 38 import com.android.launcher3.states.StateAnimationConfig;
|
/packages/apps/Bluetooth/src/com/android/bluetooth/pbap/ |
D | BluetoothPbapService.java | 455 List<BluetoothDevice> getDevicesMatchingConnectionStates(int[] states) { in getDevicesMatchingConnectionStates() argument 458 if (mPbapStateMachineMap == null || states == null) { in getDevicesMatchingConnectionStates() 462 for (int state : states) { in getDevicesMatchingConnectionStates() 687 public List<BluetoothDevice> getDevicesMatchingConnectionStates(int[] states) { in getDevicesMatchingConnectionStates() argument 695 return service.getDevicesMatchingConnectionStates(states); in getDevicesMatchingConnectionStates()
|