Home
last modified time | relevance | path

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

/packages/apps/Launcher2/src/com/android/launcher2/
DHolographicViewHelper.java48 StateListDrawable states = new StateListDrawable(); in generatePressedFocusedStates() local
49 states.addState(new int[] {android.R.attr.state_pressed}, d); in generatePressedFocusedStates()
50 states.addState(new int[] {android.R.attr.state_focused}, d); in generatePressedFocusedStates()
51 v.setBackgroundDrawable(states); in generatePressedFocusedStates()
/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/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/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/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/Gallery2/src/com/android/gallery3d/ui/
DAbstractDisplayItem.java94 private boolean inState(int states) { in inState() argument
95 return (mState & states) != 0; in inState()
/packages/apps/Settings/src/com/android/settings/fuelgauge/
DBatteryHistoryChart.java374 aggrStates |= rec.states; in setStats()
562 (rec.states&HistoryItem.STATE_BATTERY_PLUGGED_FLAG) != 0; in onSizeChanged()
573 (rec.states&HistoryItem.STATE_SCREEN_ON_FLAG) != 0; in onSizeChanged()
584 (rec.states&HistoryItem.STATE_GPS_ON_FLAG) != 0; in onSizeChanged()
595 (rec.states&HistoryItem.STATE_WIFI_RUNNING_FLAG) != 0; in onSizeChanged()
606 (rec.states&HistoryItem.STATE_WAKE_LOCK_FLAG) != 0; in onSizeChanged()
618 if (((rec.states&HistoryItem.STATE_PHONE_STATE_MASK) in onSizeChanged()
622 } else if ((rec.states&HistoryItem.STATE_PHONE_SCANNING_FLAG) != 0) { in onSizeChanged()
625 bin = (rec.states&HistoryItem.STATE_SIGNAL_STRENGTH_MASK) in onSizeChanged()
/packages/apps/Settings/src/com/android/settings/vpn2/
DVpnSettings.java488 String[] states = getContext().getResources() in update() local
490 setSummary(states[mState]); in update()
/packages/apps/Phone/src/com/android/phone/
DBluetoothHeadsetService.java644 public synchronized List<BluetoothDevice> getDevicesMatchingConnectionStates(int[] states) {
649 for (int state : states) {