Searched refs:states (Results 1 - 18 of 18) sorted by relevance

/packages/apps/Launcher2/src/com/android/launcher2/
H A DHolographicViewHelper.java41 * Generate the pressed/focused states if necessary.
51 StateListDrawable states = new StateListDrawable();
52 states.addState(new int[] {android.R.attr.state_pressed}, outlineD);
53 states.addState(new int[] {android.R.attr.state_focused}, outlineD);
54 states.addState(new int[] {}, originalD);
55 v.setImageDrawable(states);
60 * Invalidates the pressed/focused states.
H A DCellLayout.java573 public void restoreInstanceState(SparseArray<Parcelable> states) { argument
574 dispatchRestoreInstanceState(states);
/packages/apps/Settings/src/com/android/settings/
H A DDisplay.java44 String[] states = new String[3];
46 states[0] = r.getString(R.string.small_font);
47 states[1] = r.getString(R.string.medium_font);
48 states[2] = r.getString(R.string.large_font);
50 android.R.layout.simple_spinner_item, states);
/packages/inputmethods/PinyinIME/src/com/android/inputmethod/pinyin/
H A DInputModeSwitcher.java207 * Maximum toggle states for a soft keyboard.
365 * Used to store all other toggle states for the current input mode.
370 * Number of states to toggle.
738 int states[] = mToggleStates.mKeyStates;
748 // Chinese and Chinese symbol are always the default states,
754 states[statesNum] = mToggleStateSmiley;
762 states[statesNum] = mToggleStateEnLower;
765 states[statesNum] = mToggleStateEnUpper;
769 states[statesNum] = mToggleStateEnSym1;
772 states[statesNu
[all...]
H A DSoftKeyboard.java412 int states[] = toggleStates.mKeyStates;
429 states[statePos], statePos == 0);
/packages/apps/Contacts/src/com/android/contacts/widget/
H A DTextHighlightingAnimation.java149 int[] states = ds.drawableState;
150 if (states != null) {
151 int count = states.length;
153 switch (states[i]) {
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/
H A DSearchWidgetProvider.java78 SearchWidgetState[] states = new SearchWidgetState[appWidgetIds.length];
80 states[i] = getSearchWidgetState(context, appWidgetIds[i]);
82 return states;
91 SearchWidgetState[] states = getSearchWidgetStates(context);
93 for (SearchWidgetState state : states) {
/packages/apps/Bluetooth/src/com/android/bluetooth/a2dp/
H A DA2dpService.java143 List<BluetoothDevice> getDevicesMatchingConnectionStates(int[] states) { argument
145 return mStateMachine.getDevicesMatchingConnectionStates(states);
223 public List<BluetoothDevice> getDevicesMatchingConnectionStates(int[] states) { argument
226 return service.getDevicesMatchingConnectionStates(states);
H A DA2dpStateMachine.java93 // Stable states
98 // Interim states
656 synchronized List<BluetoothDevice> getDevicesMatchingConnectionStates(int[] states) { argument
667 for(int i = 0; i < states.length; i++) {
668 if (connectionState == states[i]) {
/packages/apps/DeskClock/src/com/android/deskclock/widget/multiwaveview/
H A DTargetDrawable.java128 int[] states = d.getState();
129 for (int i = 0; i < states.length; i++) {
130 if (states[i] == android.R.attr.state_focused) {
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/
H A DKeyboard.java492 int[] states = KEY_STATE_NORMAL;
496 states = KEY_STATE_PRESSED_ON;
498 states = KEY_STATE_NORMAL_ON;
503 states = KEY_STATE_PRESSED_OFF;
505 states = KEY_STATE_NORMAL_OFF;
509 states = KEY_STATE_PRESSED;
513 return states;
/packages/apps/Settings/src/com/android/settings/fuelgauge/
H A DBatteryHistoryChart.java374 aggrStates |= rec.states;
562 (rec.states&HistoryItem.STATE_BATTERY_PLUGGED_FLAG) != 0;
573 (rec.states&HistoryItem.STATE_SCREEN_ON_FLAG) != 0;
584 (rec.states&HistoryItem.STATE_GPS_ON_FLAG) != 0;
595 (rec.states&HistoryItem.STATE_WIFI_RUNNING_FLAG) != 0;
606 (rec.states&HistoryItem.STATE_WAKE_LOCK_FLAG) != 0;
618 if (((rec.states&HistoryItem.STATE_PHONE_STATE_MASK)
622 } else if ((rec.states&HistoryItem.STATE_PHONE_SCANNING_FLAG) != 0) {
625 bin = (rec.states&HistoryItem.STATE_SIGNAL_STRENGTH_MASK)
/packages/apps/Bluetooth/src/com/android/bluetooth/hfp/
H A DHeadsetService.java157 public List<BluetoothDevice> getDevicesMatchingConnectionStates(int[] states) { argument
160 return service.getDevicesMatchingConnectionStates(states);
345 private List<BluetoothDevice> getDevicesMatchingConnectionStates(int[] states) { argument
347 return mStateMachine.getDevicesMatchingConnectionStates(states);
H A DHeadsetStateMachine.java142 // Stable states
147 // Interim states
792 // TODO(BT) process other states
1216 List<BluetoothDevice> getDevicesMatchingConnectionStates(int[] states) { argument
1227 for(int i = 0; i < states.length; i++) {
1228 if (connectionState == states[i]) {
/packages/apps/Bluetooth/src/com/android/bluetooth/hdp/
H A DHealthService.java382 public List<BluetoothDevice> getHealthDevicesMatchingConnectionStates(int[] states) { argument
385 return service.getHealthDevicesMatchingConnectionStates(states);
467 List<BluetoothDevice> getHealthDevicesMatchingConnectionStates(int[] states) { argument
469 List<BluetoothDevice> devices = lookupHealthDevicesMatchingStates(states);
741 private List<HealthChannel> findChannelByStates(BluetoothDevice device, int[] states) { argument
745 for (int state : states) {
762 List<BluetoothDevice> lookupHealthDevicesMatchingStates(int[] states) { argument
767 for (int state : states) {
/packages/apps/Bluetooth/src/com/android/bluetooth/hid/
H A DHidService.java324 public List<BluetoothDevice> getDevicesMatchingConnectionStates(int[] states) { argument
327 return service.getDevicesMatchingConnectionStates(states);
411 List<BluetoothDevice> getDevicesMatchingConnectionStates(int[] states) { argument
417 for (int state : states) {
/packages/apps/Bluetooth/src/com/android/bluetooth/pan/
H A DPanService.java236 public List<BluetoothDevice> getDevicesMatchingConnectionStates(int[] states) { argument
239 return service.getDevicesMatchingConnectionStates(states);
301 List<BluetoothDevice> getDevicesMatchingConnectionStates(int[] states) { argument
307 for (int state : states) {
/packages/apps/Settings/src/com/android/settings/vpn2/
H A DVpnSettings.java424 String[] states = getContext().getResources()
426 setSummary(states[mState]);

Completed in 376 milliseconds