Searched refs:states (Results 1 – 10 of 10) sorted by relevance
48 StateListDrawable states = new StateListDrawable(); in generatePressedFocusedStates() local49 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()
738 int states[] = mToggleStates.mKeyStates; in prepareToggleStates() local754 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 …]
412 int states[] = toggleStates.mKeyStates; in enableToggleStates() local429 states[statePos], statePos == 0); in enableToggleStates()
44 String[] states = new String[3]; in onCreate() local46 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()
78 SearchWidgetState[] states = new SearchWidgetState[appWidgetIds.length]; in getSearchWidgetStates() local80 states[i] = getSearchWidgetState(context, appWidgetIds[i]); in getSearchWidgetStates()82 return states; in getSearchWidgetStates()91 SearchWidgetState[] states = getSearchWidgetStates(context); in updateSearchWidgets() local93 for (SearchWidgetState state : states) { in updateSearchWidgets()
149 int[] states = ds.drawableState; in updateDrawState() local150 if (states != null) { in updateDrawState()151 int count = states.length; in updateDrawState()153 switch (states[i]) { in updateDrawState()
94 private boolean inState(int states) { in inState() argument95 return (mState & states) != 0; in inState()
374 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()
488 String[] states = getContext().getResources() in update() local490 setSummary(states[mState]); in update()
644 public synchronized List<BluetoothDevice> getDevicesMatchingConnectionStates(int[] states) {649 for (int state : states) {