Home
last modified time | relevance | path

Searched refs:currentIndex (Results 1 – 18 of 18) sorted by relevance

/frameworks/base/core/java/android/view/inputmethod/
DBaseInputConnection.java271 int currentIndex = from; in findIndexBackward() local
274 if (currentIndex < 0 || N < currentIndex) { in findIndexBackward()
283 return currentIndex; // Reached to the requested length in code points. in findIndexBackward()
286 --currentIndex; in findIndexBackward()
287 if (currentIndex < 0) { in findIndexBackward()
293 final char c = cs.charAt(currentIndex); in findIndexBackward()
315 int currentIndex = from; in findIndexForward() local
318 if (currentIndex < 0 || N < currentIndex) { in findIndexForward()
328 return currentIndex; // Reached to the requested length in code points. in findIndexForward()
331 if (currentIndex >= N) { in findIndexForward()
[all …]
/frameworks/base/libs/hwui/
DPathParser.cpp56 int currentIndex = start; in extract() local
61 for (; currentIndex < end; currentIndex++) { in extract()
64 char currentChar = s[currentIndex]; in extract()
72 if (currentIndex != start && !isPrevExponential) { in extract()
97 *outEndPosition = currentIndex; in extract()
/frameworks/ml/nn/common/
DIndexedShapeWrapper.cpp74 uint32_t currentIndex = index[index.size() - i]; in broadcastedIndexToFlatIndex() local
76 NN_CHECK(currentIndex < currentDimSize || currentDimSize == 1); in broadcastedIndexToFlatIndex()
/frameworks/layoutlib/bridge/src/android/util/
DPathParser_Delegate.java277 int currentIndex = start; in extract() local
282 for (; currentIndex < s.length(); currentIndex++) { in extract()
285 char currentChar = s.charAt(currentIndex); in extract()
295 if (currentIndex != start && !isPrevExponential) { in extract()
320 result.mEndPosition = currentIndex; in extract()
/frameworks/base/tools/aapt/
DAaptAssets.cpp279 int currentIndex = startIndex; in initFromDirName() local
281 String8 part = parts[currentIndex]; in initFromDirName()
350 return ++currentIndex; in initFromDirName()
355 if (++currentIndex == size) { in initFromDirName()
359 return currentIndex; in initFromDirName()
362 part = parts[currentIndex]; in initFromDirName()
365 if (++currentIndex == size) { in initFromDirName()
371 return currentIndex; in initFromDirName()
/frameworks/base/services/core/java/com/android/server/inputmethod/
DInputMethodSubtypeSwitchingController.java280 final int currentIndex = getIndex(imi, subtype); in getNextInputMethodLocked() local
281 if (currentIndex < 0) { in getNextInputMethodLocked()
287 final int candidateIndex = (currentIndex + offset) % N; in getNextInputMethodLocked()
/frameworks/base/services/tests/servicestests/src/com/android/server/inputmethod/
DInputMethodSubtypeSwitchingControllerTest.java182 final int currentIndex = i; in assertRotationOrder() local
183 final int nextIndex = (currentIndex + 1) % N; in assertRotationOrder()
185 expectedRotationOrderOfImeSubtypeList[currentIndex]; in assertRotationOrder()
/frameworks/native/services/sensorservice/
DSensorService.cpp487 int currentIndex = (mNextSensorRegIndex - 1 + SENSOR_REGISTRATIONS_BUF_SIZE) % in dump() local
489 const int startIndex = currentIndex; in dump()
491 const SensorRegistrationInfo& reg_info = mLastNSensorRegistrations[currentIndex]; in dump()
494 currentIndex = (currentIndex - 1 + SENSOR_REGISTRATIONS_BUF_SIZE) % in dump()
499 currentIndex = (currentIndex - 1 + SENSOR_REGISTRATIONS_BUF_SIZE) % in dump()
501 } while(startIndex != currentIndex); in dump()
/frameworks/base/graphics/java/android/graphics/drawable/
DDrawableContainer.java932 final boolean setLayoutDirection(int layoutDirection, int currentIndex) { in setLayoutDirection() argument
942 if (i == currentIndex) { in setLayoutDirection()
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/glrenderer/
DGLES20Canvas.java455 int currentIndex = mCurrentMatrixIndex; in save() local
460 System.arraycopy(mMatrices, currentIndex, mMatrices, mCurrentMatrixIndex, MATRIX_SIZE); in save()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/
DNotificationStackScrollLayout.java3355 int currentIndex = indexOfChild(child);
3357 if (currentIndex == -1) {
3371 if (child != null && child.getParent() == this && currentIndex != newIndex) {
5783 int currentIndex = 0;
5791 currentIndex++;
5799 speedBumpIndex = currentIndex;
/frameworks/native/services/inputflinger/reader/mapper/
DTouchInputMapper.cpp3385 uint32_t currentIndex = mCurrentRawState.rawPointerData.idToIndex[id]; in dispatchPointerMouse() local
3389 deltaX = (mCurrentRawState.rawPointerData.pointers[currentIndex].x - in dispatchPointerMouse()
3392 deltaY = (mCurrentRawState.rawPointerData.pointers[currentIndex].y - in dispatchPointerMouse()
3410 mCurrentCookedState.cookedPointerData.pointerCoords[currentIndex]); in dispatchPointerMouse()
3417 mCurrentCookedState.cookedPointerData.pointerProperties[currentIndex].toolType; in dispatchPointerMouse()
/frameworks/base/telephony/java/android/telephony/
DPhoneNumberUtils.java3140 private static int tryGetTrunkPrefixOmittedIndex(String str, int currentIndex) { in tryGetTrunkPrefixOmittedIndex() argument
3142 for (int i = currentIndex ; i < length ; i++) { in tryGetTrunkPrefixOmittedIndex()
/frameworks/base/packages/SystemUI/legacy/recents/src/com/android/systemui/recents/views/
DTaskStackView.java1863 final int currentIndex = mStack.indexOfTask(getFocusedTask()); in onBusEvent() local
1865 currentIndex, event.direction); in onBusEvent()
/frameworks/base/core/java/com/android/internal/widget/
DRecyclerView.java7710 int currentIndex = mChildHelper.indexOfChild(child); in addViewInt() local
7714 if (currentIndex == -1) { in addViewInt()
7719 if (currentIndex != index) { in addViewInt()
7720 mRecyclerView.mLayout.moveView(currentIndex, index); in addViewInt()
/frameworks/base/core/java/android/view/
DView.java6025 int currentIndex = 0;
6029 stack[currentIndex] = mSourceLayoutId;
6030 currentIndex++;
6033 stack[currentIndex] = attributeResolutionStack[i];
6034 currentIndex++;
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt56952 field protected int currentIndex;
57076 field protected int currentIndex;
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt29153 Landroid/icu/text/Normalizer;->currentIndex:I
106289 Ljava/text/AttributedString$AttributedStringIterator;->currentIndex:I