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.java376 int stateIndex = -1; in updateSnapshot() local
378 stateIndex = findStateByRiid(riid); in updateSnapshot()
380 stateIndex = findStateByPortId(config.getClientPortId()); in updateSnapshot()
382 if (stateIndex == -1) { in updateSnapshot()
386 stateIndex = mRecordStates.size() - 1; in updateSnapshot()
396 final RecordingState state = mRecordStates.get(stateIndex); in updateSnapshot()
415 mRecordStates.remove(stateIndex); in updateSnapshot()
420 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.java625 for (int stateIndex = 0; stateIndex < stateCount; stateIndex++) { in hasState()
626 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/
DInputDispatcher.cpp958 ssize_t stateIndex = mTouchStatesByDisplay.indexOfKey(entry->displayId); in dispatchMotionLocked() local
959 if (stateIndex >= 0) { in dispatchMotionLocked()
960 const TouchState& state = mTouchStatesByDisplay.valueAt(stateIndex); in dispatchMotionLocked()
3274 ssize_t stateIndex = mTouchStatesByDisplay.indexOfKey(displayId); in setInputWindows() local
3275 if (stateIndex >= 0) { in setInputWindows()
3276 TouchState& state = mTouchStatesByDisplay.editValueAt(stateIndex); in setInputWindows()
3973 ssize_t stateIndex = mTouchStatesByDisplay.indexOfKey(displayId); in pilferPointers() local
3974 if (stateIndex < 0) { in pilferPointers()
3979 TouchState& state = mTouchStatesByDisplay.editValueAt(stateIndex); in pilferPointers()