Home
last modified time | relevance | path

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

/external/icu/icu4c/source/common/
Drbbi_cache.cpp429 int32_t fromPosition = fBoundaries[fEndBufIdx]; in populateFollowing() local
434 if (fBI->fDictionaryCache->following(fromPosition, &pos, &ruleStatusIdx)) { in populateFollowing()
439 fBI->fPosition = fromPosition; in populateFollowing()
449 … fBI->fDictionaryCache->populateDictionary(fromPosition, pos, fromRuleStatusIdx, ruleStatusIdx); in populateFollowing()
450 if (fBI->fDictionaryCache->following(fromPosition, &pos, &ruleStatusIdx)) { in populateFollowing()
484 int32_t fromPosition = fBoundaries[fStartBufIdx]; in populatePreceding() local
485 if (fromPosition == 0) { in populatePreceding()
492 if (fBI->fDictionaryCache->preceding(fromPosition, &position, &positionStatusIdx)) { in populatePreceding()
497 int32_t backupPosition = fromPosition; in populatePreceding()
530 } while (position >= fromPosition); in populatePreceding()
[all …]
Drbbi.cpp951 int32_t RuleBasedBreakIterator::handleSafePrevious(int32_t fromPosition) { in handleSafePrevious() argument
959 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()
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()
DItemHierarchy.java56 ItemHierarchy itemHierarchy, int fromPosition, int toPosition, int itemCount); in onItemRangeMoved() argument
DItemAdapter.java104 ItemHierarchy itemHierarchy, int fromPosition, int toPosition, int itemCount) { in onItemRangeMoved() argument
/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/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/setupdesign/main/src/com/google/android/setupdesign/view/
DHeaderRecyclerView.java95 public void onItemRangeMoved(int fromPosition, int toPosition, int itemCount) {
97 fromPosition++;
102 notifyItemMoved(fromPosition + i, toPosition + i);
/external/icu/icu4c/source/common/unicode/
Drbbi.h643 int32_t handleSafePrevious(int32_t fromPosition);