Home
last modified time | relevance | path

Searched refs:firstStart (Results 1 – 5 of 5) sorted by relevance

/frameworks/opt/chips/tests/src/com/android/ex/chips/
DChipsTest.java189 int firstStart = mEditable.toString().indexOf(first); in testSanitizeBetween() local
190 int firstEnd = firstStart + first.trim().length(); in testSanitizeBetween()
193 mEditable.setSpan(mMockRecips[mMockRecips.length - 2], firstStart, firstEnd, 0); in testSanitizeBetween()
198 assertEquals(editableString.indexOf(first), firstStart); in testSanitizeBetween() local
207 firstStart = mEditable.toString().indexOf(first); in testSanitizeBetween()
208 firstEnd = firstStart + first.length(); in testSanitizeBetween()
209 mEditable.setSpan(mMockRecips[mMockRecips.length - 1], firstStart, firstEnd, 0); in testSanitizeBetween()
212 assertEquals(mEditable.getSpanStart(mMockRecips[mMockRecips.length - 1]), firstStart in testSanitizeBetween()
226 int firstStart = mEditable.toString().indexOf(first); in testSanitizeEnd() local
227 int firstEnd = firstStart + first.trim().length(); in testSanitizeEnd()
[all …]
/frameworks/av/media/libnblog/
DReader.cpp134 const uint8_t *firstStart = nullptr; in getSnapshot() local
138 firstStart = firstStartTmp; in getSnapshot()
141 if (firstStart == nullptr) { in getSnapshot()
144 snapshot->mBegin = EntryIterator(firstStart); in getSnapshot()
/frameworks/base/tests/net/java/android/net/
DNetworkStatsHistoryTest.java158 final long firstStart = TEST_START; in testRecordGapBuckets() local
160 stats.recordData(firstStart, firstStart + SECOND_IN_MILLIS, in testRecordGapBuckets()
/frameworks/base/services/core/java/com/android/server/wm/
DScreenRotationAnimation.java402 boolean firstStart = false; in startAnimation()
410 firstStart = true; in startAnimation()
488 if (TWO_PHASE_ANIMATION && firstStart) { in startAnimation()
521 if (TWO_PHASE_ANIMATION && firstStart) { in startAnimation()
/frameworks/opt/chips/src/com/android/ex/chips/
DRecipientEditTextView.java2318 int firstStart = spannable.getSpanStart(first); in getSortedRecipients()
2320 if (firstStart < secondStart) { in getSortedRecipients()
2322 } else if (firstStart > secondStart) { in getSortedRecipients()