Home
last modified time | relevance | path

Searched refs:stateIndex (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/services/core/java/com/android/server/audio/
DRecordingActivityMonitor.java382 int stateIndex = -1; in updateSnapshot() local
384 stateIndex = findStateByRiid(riid); in updateSnapshot()
386 stateIndex = findStateByPortId(config.getClientPortId()); in updateSnapshot()
388 if (stateIndex == -1) { in updateSnapshot()
392 stateIndex = mRecordStates.size() - 1; in updateSnapshot()
402 final RecordingState state = mRecordStates.get(stateIndex); in updateSnapshot()
421 mRecordStates.remove(stateIndex); in updateSnapshot()
427 mRecordStates.remove(stateIndex); in updateSnapshot()
/frameworks/base/core/java/android/webkit/
DFindAddress.java336 int stateIndex = stateMatch.groupCount(); in isValidZipCode() local
337 while (stateIndex > 0) { in isValidZipCode()
338 if (stateMatch.group(stateIndex--) != null) break; in isValidZipCode()
341 && sStateZipCodeRanges[stateIndex].matches(zipCode); in isValidZipCode()
/frameworks/base/core/java/android/content/res/
DColorStateList.java624 for (int stateIndex = 0; stateIndex < stateCount; stateIndex++) { in hasState()
625 if (states[stateIndex] == state || states[stateIndex] == ~state) { in hasState()
/frameworks/base/services/core/java/com/android/server/power/batterysaver/
DBatterySavingStats.java219 Stat getStat(int stateIndex) { in getStat() argument
221 Stat stat = mStats.get(stateIndex); in getStat()
224 mStats.put(stateIndex, stat); in getStat()
/frameworks/base/core/java/android/animation/
DAnimatorInflater.java224 int stateIndex = 0; in createStateListAnimatorFromXml() local
231 states[stateIndex++] = in createStateListAnimatorFromXml()
246 .addState(StateSet.trimStateSet(states, stateIndex), animator); in createStateListAnimatorFromXml()
/frameworks/native/services/inputflinger/dispatcher/
DInputDispatcher.cpp939 ssize_t stateIndex = mTouchStatesByDisplay.indexOfKey(entry->displayId); in dispatchMotionLocked() local
940 if (stateIndex >= 0) { in dispatchMotionLocked()
941 const TouchState& state = mTouchStatesByDisplay.valueAt(stateIndex); in dispatchMotionLocked()
3269 ssize_t stateIndex = mTouchStatesByDisplay.indexOfKey(displayId); in setInputWindows() local
3270 if (stateIndex >= 0) { in setInputWindows()
3271 TouchState& state = mTouchStatesByDisplay.editValueAt(stateIndex); in setInputWindows()
3967 ssize_t stateIndex = mTouchStatesByDisplay.indexOfKey(displayId); in pilferPointers() local
3968 if (stateIndex < 0) { in pilferPointers()
3973 TouchState& state = mTouchStatesByDisplay.editValueAt(stateIndex); in pilferPointers()