Home
last modified time | relevance | path

Searched refs:fromPosition (Results 1 – 12 of 12) sorted by relevance

/external/icu/icu4c/source/common/
Drbbi_cache.cpp424 int32_t fromPosition = fBoundaries[fEndBufIdx]; in populateFollowing() local
429 if (fBI->fDictionaryCache->following(fromPosition, &pos, &ruleStatusIdx)) { in populateFollowing()
434 fBI->fPosition = fromPosition; in populateFollowing()
444 … fBI->fDictionaryCache->populateDictionary(fromPosition, pos, fromRuleStatusIdx, ruleStatusIdx); in populateFollowing()
445 if (fBI->fDictionaryCache->following(fromPosition, &pos, &ruleStatusIdx)) { in populateFollowing()
479 int32_t fromPosition = fBoundaries[fStartBufIdx]; in populatePreceding() local
480 if (fromPosition == 0) { in populatePreceding()
487 if (fBI->fDictionaryCache->preceding(fromPosition, &position, &positionStatusIdx)) { in populatePreceding()
492 int32_t backupPosition = fromPosition; in populatePreceding()
525 } while (position >= fromPosition); in populatePreceding()
[all …]
Drbbi.cpp945 int32_t RuleBasedBreakIterator::handleSafePrevious(int32_t fromPosition) { in handleSafePrevious() argument
953 UTEXT_SETNATIVEINDEX(&fText, fromPosition); in handleSafePrevious()
/external/setupdesign/main/src/com/google/android/setupdesign/items/
DAbstractItemHierarchy.java108 public void notifyItemRangeMoved(int fromPosition, int toPosition, int itemCount) { in notifyItemRangeMoved() argument
109 if (fromPosition < 0) { in notifyItemRangeMoved()
110 Log.w(TAG, "notifyItemRangeMoved: Invalid fromPosition=" + fromPosition); in notifyItemRangeMoved()
123 observer.onItemRangeMoved(this, fromPosition, toPosition, itemCount); in notifyItemRangeMoved()
DItemHierarchy.java56 ItemHierarchy itemHierarchy, int fromPosition, int toPosition, int itemCount); in onItemRangeMoved() argument
DRecyclerItemAdapter.java196 ItemHierarchy itemHierarchy, int fromPosition, int toPosition, int itemCount) { in onItemRangeMoved() argument
200 notifyItemMoved(fromPosition, toPosition); in onItemRangeMoved()
DItemGroup.java240 ItemHierarchy itemHierarchy, int fromPosition, int toPosition, int itemCount) { in onItemRangeMoved() argument
244 notifyItemRangeMoved(childPosition + fromPosition, childPosition + toPosition, itemCount); in onItemRangeMoved()
DItemAdapter.java104 ItemHierarchy itemHierarchy, int fromPosition, int toPosition, int itemCount) { in onItemRangeMoved() argument
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DRuleBasedBreakIterator.java993 private int handleSafePrevious(int fromPosition) { in handleSafePrevious() argument
1003 CISetIndex32(text, fromPosition); in handleSafePrevious()
1517 int fromPosition = fBoundaries[fEndBufIdx]; in populateFollowing() local
1522 if (fDictionaryCache.following(fromPosition)) { in populateFollowing()
1527 fPosition = fromPosition; in populateFollowing()
1537 … fDictionaryCache.populateDictionary(fromPosition, pos, fromRuleStatusIdx, ruleStatusIdx); in populateFollowing()
1538 if (fDictionaryCache.following(fromPosition)) { in populateFollowing()
1572 int fromPosition = fBoundaries[fStartBufIdx]; in populatePreceding() local
1573 if (fromPosition == textBegin) { in populatePreceding()
1580 if (fDictionaryCache.preceding(fromPosition)) { in populatePreceding()
[all …]
/external/icu/android_icu4j/src/main/java/android/icu/text/
DRuleBasedBreakIterator.java972 private int handleSafePrevious(int fromPosition) { in handleSafePrevious() argument
982 CISetIndex32(text, fromPosition); in handleSafePrevious()
1496 int fromPosition = fBoundaries[fEndBufIdx]; in populateFollowing() local
1501 if (fDictionaryCache.following(fromPosition)) { in populateFollowing()
1506 fPosition = fromPosition; in populateFollowing()
1516 … fDictionaryCache.populateDictionary(fromPosition, pos, fromRuleStatusIdx, ruleStatusIdx); in populateFollowing()
1517 if (fDictionaryCache.following(fromPosition)) { in populateFollowing()
1551 int fromPosition = fBoundaries[fStartBufIdx]; in populatePreceding() local
1552 if (fromPosition == textBegin) { in populatePreceding()
1559 if (fDictionaryCache.preceding(fromPosition)) { in populatePreceding()
[all …]
/external/setupdesign/main/src/com/google/android/setupdesign/view/
DHeaderRecyclerView.java96 public void onItemRangeMoved(int fromPosition, int toPosition, int itemCount) {
98 fromPosition++;
103 notifyItemMoved(fromPosition + i, toPosition + i);
/external/exoplayer/tree/demos/cast/src/main/java/com/google/android/exoplayer2/castdemo/
DMainActivity.java245 int fromPosition = origin.getAdapterPosition(); in onMove() local
249 draggingFromPosition = fromPosition; in onMove()
252 mediaQueueListAdapter.notifyItemMoved(fromPosition, toPosition); in onMove()
/external/icu/icu4c/source/common/unicode/
Drbbi.h646 int32_t handleSafePrevious(int32_t fromPosition);