/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/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/DeskClock/src/com/android/deskclock/timer/ |
D | TimerFragment.kt | 392 val states = computePageIndicatorStates(page, pageIndicatorCount, pageCount) in updatePageIndicators() constant 393 for (i in states.indices) { in updatePageIndicators() 394 val state = states[i] in updatePageIndicators() 731 val states = IntArray(pageIndicatorCount) in computePageIndicatorStates() constant 732 states.fill(0) in computePageIndicatorStates() 736 return states in computePageIndicatorStates() 740 states.fill(R.drawable.ic_swipe_circle_dark, 0, rangeSize) in computePageIndicatorStates() 744 states[0] = R.drawable.ic_swipe_circle_top in computePageIndicatorStates() 749 states[rangeSize - 1] = R.drawable.ic_swipe_circle_bottom in computePageIndicatorStates() 753 states[page - rangeStart] = R.drawable.ic_swipe_circle_light in computePageIndicatorStates() [all …]
|
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/Bluetooth/src/com/android/bluetooth/a2dpsink/ |
D | A2dpSinkService.java | 201 public List<BluetoothDevice> getDevicesMatchingConnectionStates(int[] states) { in getDevicesMatchingConnectionStates() argument 206 return service.getDevicesMatchingConnectionStates(states); in getDevicesMatchingConnectionStates() 343 List<BluetoothDevice> getDevicesMatchingConnectionStates(int[] states) { in getDevicesMatchingConnectionStates() argument 344 if (DBG) Log.d(TAG, "getDevicesMatchingConnectionStates" + Arrays.toString(states)); in getDevicesMatchingConnectionStates() 351 for (int i = 0; i < states.length; i++) { in getDevicesMatchingConnectionStates() 352 if (connectionState == states[i]) { in getDevicesMatchingConnectionStates()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/mapclient/ |
D | MapClientService.java | 203 public synchronized List<BluetoothDevice> getDevicesMatchingConnectionStates(int[] states) { in getDevicesMatchingConnectionStates() argument 204 if (DBG) Log.d(TAG, "getDevicesMatchingConnectionStates" + Arrays.toString(states)); in getDevicesMatchingConnectionStates() 211 for (int i = 0; i < states.length; i++) { in getDevicesMatchingConnectionStates() 212 if (connectionState == states[i]) { in getDevicesMatchingConnectionStates() 526 public List<BluetoothDevice> getDevicesMatchingConnectionStates(int[] states) { in getDevicesMatchingConnectionStates() argument 534 return service.getDevicesMatchingConnectionStates(states); in getDevicesMatchingConnectionStates()
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
D | LauncherState.java | 40 import static com.android.launcher3.states.RotationHelper.REQUEST_NONE; 45 import com.android.launcher3.states.SpringLoadedState; 47 import com.android.launcher3.uioverrides.states.AllAppsState; 48 import com.android.launcher3.uioverrides.states.OverviewState;
|
/packages/apps/Launcher3/src/com/android/launcher3/dragndrop/ |
D | BaseItemDragListener.java | 20 import static com.android.launcher3.states.RotationHelper.REQUEST_LOCK; 21 import static com.android.launcher3.states.RotationHelper.REQUEST_NONE; 39 import com.android.launcher3.states.InternalStateHandler;
|
/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/Bluetooth/src/com/android/bluetooth/pbapclient/ |
D | PbapClientService.java | 282 public List<BluetoothDevice> getDevicesMatchingConnectionStates(int[] states) { in getDevicesMatchingConnectionStates() argument 287 return service.getDevicesMatchingConnectionStates(states); in getDevicesMatchingConnectionStates() 394 private List<BluetoothDevice> getDevicesMatchingConnectionStates(int[] states) { in getDevicesMatchingConnectionStates() argument 401 for (int state : states) { in getDevicesMatchingConnectionStates()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/pbap/ |
D | BluetoothPbapService.java | 457 List<BluetoothDevice> getDevicesMatchingConnectionStates(int[] states) { in getDevicesMatchingConnectionStates() argument 460 if (mPbapStateMachineMap == null || states == null) { in getDevicesMatchingConnectionStates() 464 for (int state : states) { in getDevicesMatchingConnectionStates() 695 public List<BluetoothDevice> getDevicesMatchingConnectionStates(int[] states) { in getDevicesMatchingConnectionStates() argument 703 return service.getDevicesMatchingConnectionStates(states); in getDevicesMatchingConnectionStates()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/vpn2/ |
D | ManageablePreference.java | 87 final String[] states = res.getStringArray(R.array.vpn_states); in updateSummary() local 88 String summary = (mState == STATE_NONE ? "" : states[mState]); in updateSummary()
|
/packages/apps/Settings/src/com/android/settings/vpn2/ |
D | ManageablePreference.java | 87 final String[] states = res.getStringArray(R.array.vpn_states); in updateSummary() local 88 String summary = (mState == STATE_NONE ? "" : states[mState]); in updateSummary()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/hearingaid/ |
D | HearingAidService.java | 391 List<BluetoothDevice> getDevicesMatchingConnectionStates(int[] states) { in getDevicesMatchingConnectionStates() argument 394 if (states == null) { in getDevicesMatchingConnectionStates() 412 for (int state : states) { in getDevicesMatchingConnectionStates() 898 public List<BluetoothDevice> getDevicesMatchingConnectionStates(int[] states) { in getDevicesMatchingConnectionStates() argument 903 return service.getDevicesMatchingConnectionStates(states); in getDevicesMatchingConnectionStates()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/hid/ |
D | HidDeviceService.java | 464 public List<BluetoothDevice> getDevicesMatchingConnectionStates(int[] states) { in getDevicesMatchingConnectionStates() argument 467 "getDevicesMatchingConnectionStates(): states=" + Arrays.toString(states)); in getDevicesMatchingConnectionStates() 475 return service.getDevicesMatchingConnectionStates(states); in getDevicesMatchingConnectionStates() 808 List<BluetoothDevice> getDevicesMatchingConnectionStates(int[] states) { in getDevicesMatchingConnectionStates() argument 813 for (int state : states) { in getDevicesMatchingConnectionStates()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/sap/ |
D | SapService.java | 567 public List<BluetoothDevice> getDevicesMatchingConnectionStates(int[] states) { in getDevicesMatchingConnectionStates() argument 578 for (int i = 0; i < states.length; i++) { in getDevicesMatchingConnectionStates() 579 if (connectionState == states[i]) { in getDevicesMatchingConnectionStates() 1001 public List<BluetoothDevice> getDevicesMatchingConnectionStates(int[] states) { in getDevicesMatchingConnectionStates() argument 1007 return service.getDevicesMatchingConnectionStates(states); in getDevicesMatchingConnectionStates()
|
/packages/apps/Launcher3/src/com/android/launcher3/states/ |
D | SpringLoadedState.java | 16 package com.android.launcher3.states; 19 import static com.android.launcher3.states.RotationHelper.REQUEST_LOCK;
|
/packages/apps/TV/src/com/android/tv/guide/ |
D | ProgramItemView.java | 285 int[] states = in onCreateDrawableState() local 289 mergeDrawableStates(states, STATE_CURRENT_PROGRAM); in onCreateDrawableState() 292 mergeDrawableStates(states, STATE_TOO_WIDE); in onCreateDrawableState() 294 return states; in onCreateDrawableState()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/pan/ |
D | PanService.java | 337 public List<BluetoothDevice> getDevicesMatchingConnectionStates(int[] states) { in getDevicesMatchingConnectionStates() argument 342 return service.getDevicesMatchingConnectionStates(states); in getDevicesMatchingConnectionStates() 484 List<BluetoothDevice> getDevicesMatchingConnectionStates(int[] states) { in getDevicesMatchingConnectionStates() argument 490 for (int state : states) { in getDevicesMatchingConnectionStates()
|
/packages/apps/Launcher3/go/quickstep/src/com/android/launcher3/uioverrides/states/ |
D | OverviewState.java | 17 package com.android.launcher3.uioverrides.states; 33 import static com.android.launcher3.states.RotationHelper.REQUEST_ROTATE;
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/homepage/contextualcards/slices/ |
D | NotificationChannelSliceTest.java | 390 final Map<String, NotificationBackend.NotificationsSentState> states = new ArrayMap<>(); in buildNotificationSentStates() local 396 states.put(CHANNEL_NAME_PREFIX + i, state); in buildNotificationSentStates() 399 return states; in buildNotificationSentStates()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/a2dp/ |
D | A2dpService.java | 390 List<BluetoothDevice> getDevicesMatchingConnectionStates(int[] states) { in getDevicesMatchingConnectionStates() argument 393 if (states == null) { in getDevicesMatchingConnectionStates() 411 for (int state : states) { in getDevicesMatchingConnectionStates() 1248 public List<BluetoothDevice> getDevicesMatchingConnectionStates(int[] states) { in getDevicesMatchingConnectionStates() argument 1253 return service.getDevicesMatchingConnectionStates(states); in getDevicesMatchingConnectionStates()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/hfpclient/ |
D | HeadsetClientService.java | 248 public List<BluetoothDevice> getDevicesMatchingConnectionStates(int[] states) { in getDevicesMatchingConnectionStates() argument 253 return service.getDevicesMatchingConnectionStates(states); in getDevicesMatchingConnectionStates() 538 private synchronized List<BluetoothDevice> getDevicesMatchingConnectionStates(int[] states) { in getDevicesMatchingConnectionStates() argument 542 for (int state : states) { in getDevicesMatchingConnectionStates()
|
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/launcher3/uioverrides/states/ |
D | OverviewState.java | 16 package com.android.launcher3.uioverrides.states; 34 import static com.android.launcher3.states.RotationHelper.REQUEST_ROTATE;
|