Home
last modified time | relevance | path

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

/frameworks/minikin/libs/minikin/
DSparseBitSet.cpp107 uint32_t SparseBitSet::nextSetBit(uint32_t fromIndex) const { in nextSetBit()
108 if (fromIndex >= mMaxVal) { in nextSetBit()
111 uint32_t fromPage = fromIndex >> kLogValuesPerPage; in nextSetBit()
113 uint32_t offset = (fromIndex & kPageMask) >> kLogBitsPerEl; in nextSetBit()
114 element e = bitmap[offset] & (kElAllOnes >> (fromIndex & kElMask)); in nextSetBit()
116 return (fromIndex & ~kElMask) + CountLeadingZeros(e); in nextSetBit()
121 return (fromIndex & ~kPageMask) + (j << kLogBitsPerEl) + CountLeadingZeros(e); in nextSetBit()
/frameworks/base/services/core/java/com/android/server/power/batterysaver/
DBatterySavingStats.java62 static int fromIndex(int index) { in fromIndex() method
76 static int fromIndex(int index) { in fromIndex() method
91 static int fromIndex(int index) { in fromIndex() method
210 return "BS=" + BatterySaverState.fromIndex(state) in stateToString()
211 + ",I=" + InteractiveState.fromIndex(state) in stateToString()
212 + ",D=" + DozeState.fromIndex(state); in stateToString()
291 BatterySaverState.fromIndex(mCurrentState) != BatterySaverState.OFF; in transitionStateLocked()
293 BatterySaverState.fromIndex(newState) != BatterySaverState.OFF; in transitionStateLocked()
337 BatterySaverState.fromIndex(mCurrentState), in endLastStateLocked()
338 InteractiveState.fromIndex(mCurrentState), in endLastStateLocked()
[all …]
/frameworks/base/location/tests/locationtests/src/android/location/
DSatelliteInfo.java144 private int setRange(int targetValue, int value, int fromIndex, int toIndex) { in setRange() argument
145 int rangeLen = toIndex - fromIndex; in setRange()
148 value = value << fromIndex; in setRange()
149 valueMask = valueMask << fromIndex; in setRange()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
DPageIndicator.java115 int fromIndex = from >> 1; in animate() local
120 setIndex(fromIndex); in animate()
124 int firstIndex = Math.min(fromIndex, toIndex); in animate()
125 int secondIndex = Math.max(fromIndex, toIndex); in animate()
/frameworks/ml/nn/common/include/
DCpuOperationUtils.h130 uint32_t fromIndex = n * fromDim[1] * spatialSize + c * spatialSize + hw; in convertNchwToNhwc() local
131 *to++ = nchw[fromIndex]; in convertNchwToNhwc()
148 uint32_t fromIndex = n * spatialSize * fromDim[3] + hw * fromDim[3] + c; in convertNhwcToNchw() local
149 *nchw++ = from[fromIndex]; in convertNhwcToNchw()
/frameworks/base/graphics/java/android/graphics/drawable/
DAnimatedStateListDrawable.java163 final int fromIndex; in selectTransition() local
178 fromIndex = mTransitionToIndex; in selectTransition()
183 fromIndex = getCurrentIndex(); in selectTransition()
192 final int fromId = state.getKeyframeIdAt(fromIndex); in selectTransition()
232 mTransitionFromIndex = fromIndex; in selectTransition()
/frameworks/libs/net/common/hostdevice/com/android/net/module/util/
DTrackRecord.kt90 override fun subList(fromIndex: Int, toIndex: Int): List<E> = lock.withLock { in listIterator()
91 elements.subList(fromIndex, toIndex) in listIterator()
/frameworks/minikin/include/minikin/
DSparseBitSet.h61 uint32_t nextSetBit(uint32_t fromIndex) const;
/frameworks/base/media/java/android/service/media/
DMediaBrowserService.java723 int fromIndex = pageSize * page; in applyOptions() local
724 int toIndex = fromIndex + pageSize; in applyOptions()
725 if (page < 0 || pageSize < 1 || fromIndex >= list.size()) { in applyOptions()
731 return list.subList(fromIndex, toIndex); in applyOptions()
/frameworks/base/core/java/android/widget/
DStackView.java233 void transformViewForTransition(int fromIndex, int toIndex, final View view, boolean animate) { in transformViewForTransition() argument
242 if (fromIndex == -1 && toIndex == getNumActiveViews() -1) { in transformViewForTransition()
246 } else if (fromIndex == 0 && toIndex == 1) { in transformViewForTransition()
268 } else if (fromIndex == 1 && toIndex == 0) { in transformViewForTransition()
292 } else if ((fromIndex == 0 || fromIndex == 1) && toIndex > 1) { in transformViewForTransition()
299 } else if (fromIndex == -1) { in transformViewForTransition()
DAdapterViewAnimator.java270 void transformViewForTransition(int fromIndex, int toIndex, View view, boolean animate) { in transformViewForTransition() argument
271 if (fromIndex == -1) { in transformViewForTransition()
DTextView.java12096 int fromIndex, int removedCount, int addedCount) { in sendAccessibilityEventTypeViewTextChanged() argument
12099 event.setFromIndex(fromIndex); in sendAccessibilityEventTypeViewTextChanged()
/frameworks/base/core/java/android/hardware/
DCamera.java4449 int endIndex, fromIndex = 1; in splitRange() local
4452 endIndex = str.indexOf("),(", fromIndex); in splitRange()
4454 splitInt(str.substring(fromIndex, endIndex), range); in splitRange()
4456 fromIndex = endIndex + 3; in splitRange()
4475 int endIndex, fromIndex = 1; in splitArea() local
4478 endIndex = str.indexOf("),(", fromIndex); in splitArea()
4480 splitInt(str.substring(fromIndex, endIndex), array); in splitArea()
4483 fromIndex = endIndex + 3; in splitArea()
/frameworks/base/core/java/android/view/accessibility/
DAccessibilityRecord.java413 public void setFromIndex(int fromIndex) { in setFromIndex() argument
415 mFromIndex = fromIndex; in setFromIndex()
/frameworks/base/packages/SystemUI/src/com/android/systemui/classifier/brightline/
DTimeLimitedMotionEventBuffer.java185 public List<MotionEvent> subList(int fromIndex, int toIndex) { in subList() argument
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/model/
DPageContentRepository.java597 final int fromIndex = Math.max(firstVisiblePageIndex - halfPreloadCount, 0); in startPreload() local
601 Log.i(LOG_TAG, "fromIndex=" + fromIndex + " toIndex=" + toIndex); in startPreload()
608 int thisRangeStart = Math.max(0, fromIndex - previousRangeSizes); in startPreload()
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DPasswordTextView.java328 void sendAccessibilityEventTypeViewTextChanged(CharSequence beforeText, int fromIndex, in sendAccessibilityEventTypeViewTextChanged() argument
334 event.setFromIndex(fromIndex); in sendAccessibilityEventTypeViewTextChanged()
/frameworks/base/core/java/com/android/internal/widget/
DLinearLayoutManager.java1858 View findOneVisibleChild(int fromIndex, int toIndex, boolean completelyVisible, in findOneVisibleChild() argument
1863 final int next = toIndex > fromIndex ? 1 : -1; in findOneVisibleChild()
1865 for (int i = fromIndex; i != toIndex; i += next) { in findOneVisibleChild()
DRecyclerView.java7976 public void moveView(int fromIndex, int toIndex) { in moveView() argument
7977 View view = getChildAt(fromIndex); in moveView()
7980 + fromIndex); in moveView()
7982 detachViewAt(fromIndex); in moveView()
/frameworks/ml/nn/common/
DCpuExecutor.cpp495 uint32_t fromIndex = n * fromDim[1] * spatialSize + c * spatialSize + hw; in convertToNhwcImpl() local
496 *to++ = from[fromIndex]; in convertToNhwcImpl()
509 uint32_t fromIndex = n * spatialSize * fromDim[3] + hw * fromDim[3] + c; in convertFromNhwcImpl() local
510 *to++ = from[fromIndex]; in convertFromNhwcImpl()
/frameworks/base/core/java/android/view/
DView.java13727 int fromIndex, int toIndex) {
13735 event.setFromIndex(fromIndex);