Home
last modified time | relevance | path

Searched refs:fromIndex (Results 1 – 22 of 22) sorted by relevance

/frameworks/minikin/libs/minikin/
DSparseBitSet.cpp115 uint32_t SparseBitSet::nextSetBit(uint32_t fromIndex) const { in nextSetBit()
116 if (fromIndex >= mMaxVal) { in nextSetBit()
119 uint32_t fromPage = fromIndex >> kLogValuesPerPage; in nextSetBit()
121 uint32_t offset = (fromIndex & kPageMask) >> kLogBitsPerEl; in nextSetBit()
122 element e = bitmap[offset] & (kElAllOnes >> (fromIndex & kElMask)); in nextSetBit()
124 return (fromIndex & ~kElMask) + CountLeadingZeros(e); in nextSetBit()
129 return (fromIndex & ~kPageMask) + (j << kLogBitsPerEl) + CountLeadingZeros(e); in nextSetBit()
/frameworks/data-binding/extensions/library/src/main/java/android/databinding/
DObservableArrayList.java111 protected void removeRange(int fromIndex, int toIndex) { in removeRange() argument
112 super.removeRange(fromIndex, toIndex); in removeRange()
113 notifyRemove(fromIndex, toIndex - fromIndex); in removeRange()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
DPageIndicator.java107 int fromIndex = from >> 1; in animate() local
112 setIndex(fromIndex); in animate()
116 int firstIndex = Math.min(fromIndex, toIndex); in animate()
117 int secondIndex = Math.max(fromIndex, toIndex); in animate()
/frameworks/support/compat/java/android/support/v4/view/accessibility/
DAccessibilityRecordCompat.java55 public void setFromIndex(Object record, int fromIndex); in setFromIndex() argument
244 public void setFromIndex(Object record, int fromIndex) { in setFromIndex() argument
467 public void setFromIndex(Object record, int fromIndex) { in setFromIndex() argument
468 AccessibilityRecordCompatIcs.setFromIndex(record, fromIndex); in setFromIndex()
827 public void setFromIndex(int fromIndex) { in setFromIndex() argument
828 IMPL.setFromIndex(mRecord, fromIndex); in setFromIndex()
/frameworks/base/graphics/java/android/graphics/drawable/
DAnimatedStateListDrawable.java160 final int fromIndex; in selectTransition() local
175 fromIndex = mTransitionToIndex; in selectTransition()
180 fromIndex = getCurrentIndex(); in selectTransition()
189 final int fromId = state.getKeyframeIdAt(fromIndex); in selectTransition()
229 mTransitionFromIndex = fromIndex; in selectTransition()
/frameworks/support/compat/ics/android/support/v4/view/accessibility/
DAccessibilityRecordCompatIcs.java150 public static void setFromIndex(Object record, int fromIndex) { in setFromIndex() argument
151 ((AccessibilityRecord) record).setFromIndex(fromIndex); in setFromIndex()
/frameworks/support/samples/Support4Demos/src/com/example/android/supportv4/media/
DMediaBrowserServiceSupport.java294 int fromIndex = page == -1 ? 0 : page * pageSize; in loadChildrenImpl() local
316 toIndex = page == -1 ? genres.size() : Math.min(fromIndex + pageSize, genres.size()); in loadChildrenImpl()
318 for (int i = fromIndex; i < toIndex; i++) { in loadChildrenImpl()
337 toIndex = page == -1 ? tracks.size() : Math.min(fromIndex + pageSize, tracks.size()); in loadChildrenImpl()
339 for (int i = fromIndex; i < toIndex; i++) { in loadChildrenImpl()
/frameworks/base/media/java/android/service/media/
DMediaBrowserService.java684 int fromIndex = pageSize * page; in applyOptions() local
685 int toIndex = fromIndex + pageSize; in applyOptions()
686 if (page < 0 || pageSize < 1 || fromIndex >= list.size()) { in applyOptions()
692 return list.subList(fromIndex, toIndex); in applyOptions()
/frameworks/minikin/include/minikin/
DSparseBitSet.h62 uint32_t nextSetBit(uint32_t fromIndex) const;
/frameworks/base/core/java/android/hardware/
DCamera.java4174 int endIndex, fromIndex = 1; in splitRange() local
4177 endIndex = str.indexOf("),(", fromIndex); in splitRange()
4179 splitInt(str.substring(fromIndex, endIndex), range); in splitRange()
4181 fromIndex = endIndex + 3; in splitRange()
4199 int endIndex, fromIndex = 1; in splitArea() local
4202 endIndex = str.indexOf("),(", fromIndex); in splitArea()
4204 splitInt(str.substring(fromIndex, endIndex), array); in splitArea()
4207 fromIndex = endIndex + 3; in splitArea()
/frameworks/base/core/java/android/widget/
DStackView.java232 void transformViewForTransition(int fromIndex, int toIndex, final View view, boolean animate) { in transformViewForTransition() argument
241 if (fromIndex == -1 && toIndex == getNumActiveViews() -1) { in transformViewForTransition()
245 } else if (fromIndex == 0 && toIndex == 1) { in transformViewForTransition()
267 } else if (fromIndex == 1 && toIndex == 0) { in transformViewForTransition()
291 } else if ((fromIndex == 0 || fromIndex == 1) && toIndex > 1) { in transformViewForTransition()
298 } else if (fromIndex == -1) { in transformViewForTransition()
DAdapterViewAnimator.java267 void transformViewForTransition(int fromIndex, int toIndex, View view, boolean animate) { in transformViewForTransition() argument
268 if (fromIndex == -1) { in transformViewForTransition()
DTextView.java9303 int fromIndex, int removedCount, int addedCount) { in sendAccessibilityEventTypeViewTextChanged() argument
9306 event.setFromIndex(fromIndex); in sendAccessibilityEventTypeViewTextChanged()
/frameworks/base/core/java/android/view/accessibility/
DAccessibilityRecord.java382 public void setFromIndex(int fromIndex) { in setFromIndex() argument
384 mFromIndex = fromIndex; in setFromIndex()
/frameworks/support/media-compat/java/android/support/v4/media/
DMediaBrowserServiceCompat.java1079 int fromIndex = pageSize * page; in applyOptions() local
1080 int toIndex = fromIndex + pageSize; in applyOptions()
1081 if (page < 0 || pageSize < 1 || fromIndex >= list.size()) { in applyOptions()
1087 return list.subList(fromIndex, toIndex); in applyOptions()
DMediaBrowserCompat.java655 int fromIndex = pageSize * page; in applyOptions() local
656 int toIndex = fromIndex + pageSize; in applyOptions()
657 if (page < 0 || pageSize < 1 || fromIndex >= list.size()) { in applyOptions()
663 return list.subList(fromIndex, toIndex); in applyOptions()
/frameworks/base/packages/Keyguard/src/com/android/keyguard/
DPasswordTextView.java305 void sendAccessibilityEventTypeViewTextChanged(String beforeText, int fromIndex, in sendAccessibilityEventTypeViewTextChanged() argument
314 event.setFromIndex(fromIndex); in sendAccessibilityEventTypeViewTextChanged()
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/model/
DPageContentRepository.java553 final int fromIndex = Math.max(firstShownPage - halfPreloadCount - excessFromEnd, 0); in startPreload() local
557 for (int i = fromIndex; i <= toIndex; i++) { in startPreload()
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/
DLinearLayoutManager.java1749 View findOneVisibleChild(int fromIndex, int toIndex, boolean completelyVisible, in findOneVisibleChild() argument
1754 final int next = toIndex > fromIndex ? 1 : -1; in findOneVisibleChild()
1756 for (int i = fromIndex; i != toIndex; i+=next) { in findOneVisibleChild()
DStaggeredGridLayoutManager.java2567 int findOneVisibleChild(int fromIndex, int toIndex, boolean completelyVisible) {
2570 final int next = toIndex > fromIndex ? 1 : -1;
2571 for (int i = fromIndex; i != toIndex; i += next) {
DRecyclerView.java7401 public void moveView(int fromIndex, int toIndex) { in moveView() argument
7402 View view = getChildAt(fromIndex); in moveView()
7405 + fromIndex); in moveView()
7407 detachViewAt(fromIndex); in moveView()
/frameworks/base/core/java/android/view/
DView.java9800 int fromIndex, int toIndex) { in sendViewTextTraversedAtGranularityEvent() argument
9808 event.setFromIndex(fromIndex); in sendViewTextTraversedAtGranularityEvent()