Home
last modified time | relevance | path

Searched refs:states (Results 1 – 25 of 32) sorted by relevance

12

/packages/inputmethods/PinyinIME/src/com/android/inputmethod/pinyin/
DInputModeSwitcher.java738 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 …]
DSoftKeyboard.java412 int states[] = toggleStates.mKeyStates; in enableToggleStates() local
429 states[statePos], statePos == 0); in enableToggleStates()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/state/
DStateAdapter.java84 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/
DHolographicViewHelper.java54 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/
DConversationViewState.java162 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/
DBatteryHistoryChart.java374 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/
DHolographicViewHelper.java51 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()
DCellLayout.java583 public void restoreInstanceState(SparseArray<Parcelable> states) { in restoreInstanceState() argument
584 dispatchRestoreInstanceState(states); in restoreInstanceState()
/packages/apps/Settings/src/com/android/settings/
DDisplay.java44 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/
DHealthService.java393 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/
DSearchWidgetProvider.java78 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/
DKeyboard.java492 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/
DTextHighlightingAnimation.java149 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/
DA2dpService.java150 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()
DA2dpStateMachine.java657 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/
DBluetoothMapService.java579 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/
DHeadsetService.java161 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()
DHeadsetStateMachine.java1221 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/
DTargetDrawable.java98 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/
DTargetDrawable.java98 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/
DHidService.java324 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/
DPanService.java280 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/
DImagePreset.java590 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/
DVpnSettings.java433 String[] states = getContext().getResources() in update() local
435 setSummary(states[mState]); in update()
/packages/apps/Bluetooth/src/com/android/bluetooth/gatt/
DGattService.java274 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()

12