/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/state/ |
H A D | StateAdapter.java | 84 public boolean same(Vector<State> states) { argument 86 if (states.size() + 1 != getCount()) { 91 if (!state.equals(states.elementAt(i-1))) { 98 public void fill(Vector<State> states) { argument 99 if (same(states)) { 104 addAll(states);
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
H A D | HolographicViewHelper.java | 42 * Generate the pressed/focused states if necessary. 54 StateListDrawable states = new StateListDrawable(); 56 states.addState(new int[] {android.R.attr.state_pressed}, outlineD); 57 states.addState(new int[] {android.R.attr.state_focused}, outlineD); 58 states.addState(new int[] {R.attr.stateHotwordOn}, hotwordD); 59 states.addState(new int[] {}, originalD); 60 v.setImageDrawable(states); 65 * Invalidates the pressed/focused states.
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
H A D | HolographicViewHelper.java | 41 * 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 D | CellLayout.java | 583 public void restoreInstanceState(SparseArray<Parcelable> states) { argument 584 dispatchRestoreInstanceState(states);
|
/packages/apps/Settings/src/com/android/settings/ |
H A D | Display.java | 44 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 D | InputModeSwitcher.java | 207 * 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 D | SoftKeyboard.java | 412 int states[] = toggleStates.mKeyStates; 429 states[statePos], statePos == 0);
|
/packages/apps/Contacts/src/com/android/contacts/widget/ |
H A D | TextHighlightingAnimation.java | 149 int[] states = ds.drawableState; 150 if (states != null) { 151 int count = states.length; 153 switch (states[i]) {
|
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ |
H A D | ConversationViewState.java | 162 final Bundle states = new Bundle(); 165 states.putParcelable(uri.toString(), mvs); 167 dest.writeBundle(states); 172 final Bundle states = source.readBundle(loader); 173 for (String key : states.keySet()) { 174 final MessageViewState state = states.getParcelable(key);
|
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ |
H A D | SearchWidgetProvider.java | 78 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 D | A2dpService.java | 150 List<BluetoothDevice> getDevicesMatchingConnectionStates(int[] states) { argument 152 return mStateMachine.getDevicesMatchingConnectionStates(states); 243 public List<BluetoothDevice> getDevicesMatchingConnectionStates(int[] states) { argument 246 return service.getDevicesMatchingConnectionStates(states);
|
H A D | A2dpStateMachine.java | 92 // Stable states 97 // Interim states 655 synchronized List<BluetoothDevice> getDevicesMatchingConnectionStates(int[] states) { argument 666 for(int i = 0; i < states.length; i++) { 667 if (connectionState == states[i]) {
|
/packages/apps/DeskClock/src/com/android/deskclock/widget/multiwaveview/ |
H A D | TargetDrawable.java | 98 int[] states = d.getState(); 99 for (int i = 0; i < states.length; i++) { 100 if (states[i] == android.R.attr.state_focused) {
|
/packages/apps/InCallUI/src/com/android/incallui/widget/multiwaveview/ |
H A D | TargetDrawable.java | 98 int[] states = d.getState(); 99 for (int i = 0; i < states.length; i++) { 100 if (states[i] == android.R.attr.state_focused) {
|
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/ |
H A D | Keyboard.java | 492 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/Bluetooth/src/com/android/bluetooth/hfp/ |
H A D | HeadsetService.java | 161 public List<BluetoothDevice> getDevicesMatchingConnectionStates(int[] states) { argument 164 return service.getDevicesMatchingConnectionStates(states); 353 private List<BluetoothDevice> getDevicesMatchingConnectionStates(int[] states) { argument 355 return mStateMachine.getDevicesMatchingConnectionStates(states);
|
H A D | HeadsetStateMachine.java | 147 // Stable states 152 // Interim states 797 // TODO(BT) process other states 1221 List<BluetoothDevice> getDevicesMatchingConnectionStates(int[] states) { argument 1232 for(int i = 0; i < states.length; i++) { 1233 if (connectionState == states[i]) {
|
/packages/apps/Settings/src/com/android/settings/fuelgauge/ |
H A D | BatteryHistoryChart.java | 374 aggrStates |= rec.states; 563 (rec.states&HistoryItem.STATE_BATTERY_PLUGGED_FLAG) != 0; 574 (rec.states&HistoryItem.STATE_SCREEN_ON_FLAG) != 0; 585 (rec.states&HistoryItem.STATE_GPS_ON_FLAG) != 0; 596 (rec.states&HistoryItem.STATE_WIFI_RUNNING_FLAG) != 0; 607 (rec.states&HistoryItem.STATE_WAKE_LOCK_FLAG) != 0; 619 if (((rec.states&HistoryItem.STATE_PHONE_STATE_MASK) 623 } else if ((rec.states&HistoryItem.STATE_PHONE_SCANNING_FLAG) != 0) { 626 bin = (rec.states&HistoryItem.STATE_SIGNAL_STRENGTH_MASK)
|
/packages/apps/Bluetooth/src/com/android/bluetooth/hdp/ |
H A D | HealthService.java | 393 public List<BluetoothDevice> getHealthDevicesMatchingConnectionStates(int[] states) { argument 396 return service.getHealthDevicesMatchingConnectionStates(states); 478 List<BluetoothDevice> getHealthDevicesMatchingConnectionStates(int[] states) { argument 480 List<BluetoothDevice> devices = lookupHealthDevicesMatchingStates(states); 752 private List<HealthChannel> findChannelByStates(BluetoothDevice device, int[] states) { argument 756 for (int state : states) { 773 List<BluetoothDevice> lookupHealthDevicesMatchingStates(int[] states) { argument 778 for (int state : states) {
|
/packages/apps/Bluetooth/src/com/android/bluetooth/map/ |
H A D | BluetoothMapService.java | 543 public List<BluetoothDevice> getDevicesMatchingConnectionStates(int[] states) { argument 554 for(int i = 0; i < states.length; i++) { 555 if (connectionState == states[i]) { 768 public List<BluetoothDevice> getDevicesMatchingConnectionStates(int[] states) { argument 772 return service.getDevicesMatchingConnectionStates(states);
|
/packages/apps/Bluetooth/src/com/android/bluetooth/hid/ |
H A D | HidService.java | 324 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 D | PanService.java | 280 public List<BluetoothDevice> getDevicesMatchingConnectionStates(int[] states) { argument 283 return service.getDevicesMatchingConnectionStates(states); 345 List<BluetoothDevice> getDevicesMatchingConnectionStates(int[] states) { argument 351 for (int state : states) {
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/pipeline/ |
H A D | ImagePreset.java | 590 Vector<State> states = new Vector<State>(); 598 states.add(state); 600 imageStateAdapter.fill(states);
|
/packages/apps/Settings/src/com/android/settings/vpn2/ |
H A D | VpnSettings.java | 433 String[] states = getContext().getResources() 435 setSummary(states[mState]);
|
/packages/apps/Bluetooth/src/com/android/bluetooth/gatt/ |
H A D | GattService.java | 238 public List<BluetoothDevice> getDevicesMatchingConnectionStates(int[] states) { argument 241 return service.getDevicesMatchingConnectionStates(states); 852 List<BluetoothDevice> getDevicesMatchingConnectionStates(int[] states) { argument 887 for(int state : states) {
|