/packages/inputmethods/PinyinIME/src/com/android/inputmethod/pinyin/ |
D | InputModeSwitcher.java | 738 int states[] = mToggleStates.mKeyStates; in prepareToggleStates() local 754 states[statesNum] = mToggleStateSmiley; in prepareToggleStates() 762 states[statesNum] = mToggleStateEnLower; in prepareToggleStates() 765 states[statesNum] = mToggleStateEnUpper; in prepareToggleStates() 769 states[statesNum] = mToggleStateEnSym1; in prepareToggleStates() 772 states[statesNum] = mToggleStateEnSym2; in prepareToggleStates() 790 states[statesNum] = mToggleStatePhoneSym; in prepareToggleStates() 800 states[statesNum] = mToggleStateGo; in prepareToggleStates() 804 states[statesNum] = mToggleStateSearch; in prepareToggleStates() 808 states[statesNum] = mToggleStateSend; in prepareToggleStates() [all …]
|
D | SoftKeyboard.java | 412 int states[] = toggleStates.mKeyStates; in enableToggleStates() local 429 states[statePos], statePos == 0); in enableToggleStates()
|
/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/Launcher3/src/com/android/launcher3/ |
D | HolographicViewHelper.java | 54 StateListDrawable states = new StateListDrawable(); in generatePressedFocusedStates() local 56 states.addState(new int[] {android.R.attr.state_pressed}, outlineD); in generatePressedFocusedStates() 57 states.addState(new int[] {android.R.attr.state_focused}, outlineD); in generatePressedFocusedStates() 58 states.addState(new int[] {R.attr.stateHotwordOn}, hotwordD); in generatePressedFocusedStates() 59 states.addState(new int[] {}, originalD); in generatePressedFocusedStates() 60 v.setImageDrawable(states); in generatePressedFocusedStates()
|
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ |
D | ConversationViewState.java | 162 final Bundle states = new Bundle(); in writeToParcel() local 165 states.putParcelable(uri.toString(), mvs); in writeToParcel() 167 dest.writeBundle(states); in writeToParcel() 172 final Bundle states = source.readBundle(loader); in ConversationViewState() local 173 for (String key : states.keySet()) { in ConversationViewState() 174 final MessageViewState state = states.getParcelable(key); in ConversationViewState()
|
/packages/apps/Settings/src/com/android/settings/fuelgauge/ |
D | BatteryHistoryChart.java | 374 aggrStates |= rec.states; in setStats() 563 (rec.states&HistoryItem.STATE_BATTERY_PLUGGED_FLAG) != 0; in onSizeChanged() 574 (rec.states&HistoryItem.STATE_SCREEN_ON_FLAG) != 0; in onSizeChanged() 585 (rec.states&HistoryItem.STATE_GPS_ON_FLAG) != 0; in onSizeChanged() 596 (rec.states&HistoryItem.STATE_WIFI_RUNNING_FLAG) != 0; in onSizeChanged() 607 (rec.states&HistoryItem.STATE_WAKE_LOCK_FLAG) != 0; in onSizeChanged() 619 if (((rec.states&HistoryItem.STATE_PHONE_STATE_MASK) in onSizeChanged() 623 } else if ((rec.states&HistoryItem.STATE_PHONE_SCANNING_FLAG) != 0) { in onSizeChanged() 626 bin = (rec.states&HistoryItem.STATE_SIGNAL_STRENGTH_MASK) in onSizeChanged()
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
D | HolographicViewHelper.java | 51 StateListDrawable states = new StateListDrawable(); in generatePressedFocusedStates() local 52 states.addState(new int[] {android.R.attr.state_pressed}, outlineD); in generatePressedFocusedStates() 53 states.addState(new int[] {android.R.attr.state_focused}, outlineD); in generatePressedFocusedStates() 54 states.addState(new int[] {}, originalD); in generatePressedFocusedStates() 55 v.setImageDrawable(states); in generatePressedFocusedStates()
|
D | CellLayout.java | 583 public void restoreInstanceState(SparseArray<Parcelable> states) { in restoreInstanceState() argument 584 dispatchRestoreInstanceState(states); in restoreInstanceState()
|
/packages/apps/Settings/src/com/android/settings/ |
D | Display.java | 44 String[] states = new String[3]; in onCreate() local 46 states[0] = r.getString(R.string.small_font); in onCreate() 47 states[1] = r.getString(R.string.medium_font); in onCreate() 48 states[2] = r.getString(R.string.large_font); in onCreate() 50 android.R.layout.simple_spinner_item, states); in onCreate()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/hdp/ |
D | HealthService.java | 393 public List<BluetoothDevice> getHealthDevicesMatchingConnectionStates(int[] states) { in getHealthDevicesMatchingConnectionStates() argument 396 return service.getHealthDevicesMatchingConnectionStates(states); in getHealthDevicesMatchingConnectionStates() 478 List<BluetoothDevice> getHealthDevicesMatchingConnectionStates(int[] states) { in getHealthDevicesMatchingConnectionStates() argument 480 List<BluetoothDevice> devices = lookupHealthDevicesMatchingStates(states); in getHealthDevicesMatchingConnectionStates() 752 private List<HealthChannel> findChannelByStates(BluetoothDevice device, int[] states) { in findChannelByStates() argument 756 for (int state : states) { in findChannelByStates() 773 List<BluetoothDevice> lookupHealthDevicesMatchingStates(int[] states) { in lookupHealthDevicesMatchingStates() argument 778 for (int state : states) { in lookupHealthDevicesMatchingStates()
|
/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/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/ |
D | Keyboard.java | 492 int[] states = KEY_STATE_NORMAL; in getCurrentDrawableState() local 496 states = KEY_STATE_PRESSED_ON; in getCurrentDrawableState() 498 states = KEY_STATE_NORMAL_ON; in getCurrentDrawableState() 503 states = KEY_STATE_PRESSED_OFF; in getCurrentDrawableState() 505 states = KEY_STATE_NORMAL_OFF; in getCurrentDrawableState() 509 states = KEY_STATE_PRESSED; in getCurrentDrawableState() 513 return states; in getCurrentDrawableState()
|
/packages/apps/Contacts/src/com/android/contacts/widget/ |
D | TextHighlightingAnimation.java | 149 int[] states = ds.drawableState; in updateDrawState() local 150 if (states != null) { in updateDrawState() 151 int count = states.length; in updateDrawState() 153 switch (states[i]) { in updateDrawState()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/a2dp/ |
D | A2dpService.java | 150 List<BluetoothDevice> getDevicesMatchingConnectionStates(int[] states) { in getDevicesMatchingConnectionStates() argument 152 return mStateMachine.getDevicesMatchingConnectionStates(states); in getDevicesMatchingConnectionStates() 247 public List<BluetoothDevice> getDevicesMatchingConnectionStates(int[] states) { in getDevicesMatchingConnectionStates() argument 250 return service.getDevicesMatchingConnectionStates(states); in getDevicesMatchingConnectionStates()
|
D | A2dpStateMachine.java | 657 synchronized List<BluetoothDevice> getDevicesMatchingConnectionStates(int[] states) { in getDevicesMatchingConnectionStates() argument 668 for(int i = 0; i < states.length; i++) { in getDevicesMatchingConnectionStates() 669 if (connectionState == states[i]) { in getDevicesMatchingConnectionStates()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/map/ |
D | BluetoothMapService.java | 579 public List<BluetoothDevice> getDevicesMatchingConnectionStates(int[] states) { in getDevicesMatchingConnectionStates() argument 590 for(int i = 0; i < states.length; i++) { in getDevicesMatchingConnectionStates() 591 if (connectionState == states[i]) { in getDevicesMatchingConnectionStates() 804 public List<BluetoothDevice> getDevicesMatchingConnectionStates(int[] states) { in getDevicesMatchingConnectionStates() argument 808 return service.getDevicesMatchingConnectionStates(states); in getDevicesMatchingConnectionStates()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/hfp/ |
D | HeadsetService.java | 161 public List<BluetoothDevice> getDevicesMatchingConnectionStates(int[] states) { in getDevicesMatchingConnectionStates() argument 164 return service.getDevicesMatchingConnectionStates(states); in getDevicesMatchingConnectionStates() 353 private List<BluetoothDevice> getDevicesMatchingConnectionStates(int[] states) { in getDevicesMatchingConnectionStates() argument 355 return mStateMachine.getDevicesMatchingConnectionStates(states); in getDevicesMatchingConnectionStates()
|
D | HeadsetStateMachine.java | 1221 List<BluetoothDevice> getDevicesMatchingConnectionStates(int[] states) { in getDevicesMatchingConnectionStates() argument 1232 for(int i = 0; i < states.length; i++) { in getDevicesMatchingConnectionStates() 1233 if (connectionState == states[i]) { in getDevicesMatchingConnectionStates()
|
/packages/apps/DeskClock/src/com/android/deskclock/widget/multiwaveview/ |
D | TargetDrawable.java | 98 int[] states = d.getState(); in isActive() local 99 for (int i = 0; i < states.length; i++) { in isActive() 100 if (states[i] == android.R.attr.state_focused) { in isActive()
|
/packages/apps/InCallUI/src/com/android/incallui/widget/multiwaveview/ |
D | TargetDrawable.java | 98 int[] states = d.getState(); in isActive() local 99 for (int i = 0; i < states.length; i++) { in isActive() 100 if (states[i] == android.R.attr.state_focused) { in isActive()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/hid/ |
D | HidService.java | 324 public List<BluetoothDevice> getDevicesMatchingConnectionStates(int[] states) { in getDevicesMatchingConnectionStates() argument 327 return service.getDevicesMatchingConnectionStates(states); in getDevicesMatchingConnectionStates() 411 List<BluetoothDevice> getDevicesMatchingConnectionStates(int[] states) { in getDevicesMatchingConnectionStates() argument 417 for (int state : states) { in getDevicesMatchingConnectionStates()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/pan/ |
D | PanService.java | 280 public List<BluetoothDevice> getDevicesMatchingConnectionStates(int[] states) { in getDevicesMatchingConnectionStates() argument 283 return service.getDevicesMatchingConnectionStates(states); in getDevicesMatchingConnectionStates() 345 List<BluetoothDevice> getDevicesMatchingConnectionStates(int[] states) { in getDevicesMatchingConnectionStates() argument 351 for (int state : states) { in getDevicesMatchingConnectionStates()
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/pipeline/ |
D | ImagePreset.java | 590 Vector<State> states = new Vector<State>(); in fillImageStateAdapter() local 598 states.add(state); in fillImageStateAdapter() 600 imageStateAdapter.fill(states); in fillImageStateAdapter()
|
/packages/apps/Settings/src/com/android/settings/vpn2/ |
D | VpnSettings.java | 433 String[] states = getContext().getResources() in update() local 435 setSummary(states[mState]); in update()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/gatt/ |
D | GattService.java | 274 public List<BluetoothDevice> getDevicesMatchingConnectionStates(int[] states) { in getDevicesMatchingConnectionStates() argument 277 return service.getDevicesMatchingConnectionStates(states); in getDevicesMatchingConnectionStates() 975 List<BluetoothDevice> getDevicesMatchingConnectionStates(int[] states) { in getDevicesMatchingConnectionStates() argument 1010 for(int state : states) { in getDevicesMatchingConnectionStates()
|