Home
last modified time | relevance | path

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

12

/frameworks/support/emoji/core/src/main/java/androidx/emoji/text/
DEmojiProcessor.java680 int currentIndex = from; in findIndexBackward() local
683 if (currentIndex < 0 || length < currentIndex) { in findIndexBackward()
692 return currentIndex; // Reached to the requested length in code points. in findIndexBackward()
695 --currentIndex; in findIndexBackward()
696 if (currentIndex < 0) { in findIndexBackward()
703 final char c = cs.charAt(currentIndex); in findIndexBackward()
735 int currentIndex = from; in findIndexForward() local
738 if (currentIndex < 0 || length < currentIndex) { in findIndexForward()
748 return currentIndex; // Reached to the requested length in code points. in findIndexForward()
751 if (currentIndex >= length) { in findIndexForward()
[all …]
/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.cpp58 int currentIndex = start; in extract() local
63 for (; currentIndex < end; currentIndex++) { in extract()
66 char currentChar = s[currentIndex]; in extract()
74 if (currentIndex != start && !isPrevExponential) { in extract()
99 *outEndPosition = currentIndex; in extract()
DPathTessellator.cpp189 int currentIndex = 0; in getFillVerticesFromPerimeter() local
195 buffer[currentIndex++] = perimeter[srcAindex]; in getFillVerticesFromPerimeter()
197 buffer[currentIndex++] = perimeter[srcBindex]; in getFillVerticesFromPerimeter()
215 int currentIndex = 0; in getStrokeVerticesFromPerimeter() local
228 Vertex::set(&buffer[currentIndex++], current->x + totalOffset.x, in getStrokeVerticesFromPerimeter()
231 Vertex::set(&buffer[currentIndex++], current->x - totalOffset.x, in getStrokeVerticesFromPerimeter()
239 buffer[currentIndex++] = buffer[0]; in getStrokeVerticesFromPerimeter()
240 buffer[currentIndex++] = buffer[1]; in getStrokeVerticesFromPerimeter()
246 const Vector2& normal, Vertex* buffer, int& currentIndex, in storeBeginEnd() argument
257 Vertex::set(&buffer[currentIndex++], referencePoint + strokeOffset); in storeBeginEnd()
[all …]
DSpotShadow.cpp609 int currentIndex = (i + offset) % polygonLength; in getClosestUmbraIndex() local
610 float currentLengthSquared = (pivot - polygon[currentIndex]).lengthSquared(); in getClosestUmbraIndex()
616 resultIndex = currentIndex; in getClosestUmbraIndex()
645 int currentIndex = (i + startPolyIndex) % polyLength; in findPolyIndex() local
646 const Vector2& currentToCentroid = polyToCentroid[currentIndex]; in findPolyIndex()
647 const Vector2& nextToCentroid = polyToCentroid[(currentIndex + 1) % polyLength]; in findPolyIndex()
653 ALOGD("findPolyIndex loop %d times , index %d", i, currentIndex); in findPolyIndex()
655 return currentIndex; in findPolyIndex()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/
DLegacyPasspointConfigParser.java411 int currentIndex = nameIndexPair.second; in parseLine() local
413 if (lineBytes[currentIndex] == START_OF_INTERNAL_NODE_INDICATOR) { in parseLine()
417 if (lineBytes[currentIndex] != STRING_VALUE_INDICATOR) { in parseLine()
425 Pair<String, Integer> valueIndexPair = parseString(lineBytes, currentIndex + 1); in parseLine()
/frameworks/support/compat/src/main/java/androidx/core/graphics/
DPathParser.java257 int currentIndex = start; in extract() local
262 for (; currentIndex < s.length(); currentIndex++) { in extract()
265 char currentChar = s.charAt(currentIndex); in extract()
273 if (currentIndex != start && !isPrevExponential) { in extract()
298 result.mEndPosition = currentIndex; in extract()
/frameworks/base/core/tests/coretests/src/com/android/internal/inputmethod/
DInputMethodSubtypeSwitchingControllerTest.java182 final int currentIndex = i; in assertRotationOrder() local
183 final int prevIndex = (currentIndex + N - 1) % N; in assertRotationOrder()
184 final int nextIndex = (currentIndex + 1) % N; in assertRotationOrder()
186 expectedRotationOrderOfImeSubtypeList[currentIndex]; in assertRotationOrder()
/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()
349 return ++currentIndex; in initFromDirName()
354 if (++currentIndex == size) { in initFromDirName()
358 return currentIndex; in initFromDirName()
361 part = parts[currentIndex]; in initFromDirName()
364 if (++currentIndex == size) { in initFromDirName()
370 return currentIndex; in initFromDirName()
/frameworks/base/core/java/com/android/internal/inputmethod/
DInputMethodSubtypeSwitchingController.java316 final int currentIndex = getIndex(imi, subtype); in getNextInputMethodLocked() local
317 if (currentIndex < 0) { in getNextInputMethodLocked()
324 final int candidateIndex = (currentIndex + offset) % N; in getNextInputMethodLocked()
/frameworks/native/services/sensorservice/
DSensorService.cpp495 int currentIndex = (mNextSensorRegIndex - 1 + SENSOR_REGISTRATIONS_BUF_SIZE) % in dump() local
497 const int startIndex = currentIndex; in dump()
499 const SensorRegistrationInfo& reg_info = mLastNSensorRegistrations[currentIndex]; in dump()
502 currentIndex = (currentIndex - 1 + SENSOR_REGISTRATIONS_BUF_SIZE) % in dump()
507 currentIndex = (currentIndex - 1 + SENSOR_REGISTRATIONS_BUF_SIZE) % in dump()
509 } while(startIndex != currentIndex); in dump()
/frameworks/opt/datetimepicker/src/com/android/datetimepicker/time/
DRadialPickerLayout.java276 int currentIndex = getCurrentItemShowing(); in getCurrentlyShowingValue() local
277 if (currentIndex == HOUR_INDEX) { in getCurrentlyShowingValue()
279 } else if (currentIndex == MINUTE_INDEX) { in getCurrentlyShowingValue()
/frameworks/base/graphics/java/android/graphics/drawable/
DDrawableContainer.java927 final boolean setLayoutDirection(int layoutDirection, int currentIndex) { in setLayoutDirection() argument
937 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/support/exifinterface/src/main/java/androidx/exifinterface/media/
DExifInterface.java4013 int currentIndex, newIndex; in rotate() local
4016 currentIndex = ROTATION_ORDER.indexOf(currentOrientation); in rotate()
4017 newIndex = (currentIndex + degree / 90) % 4; in rotate()
4021 currentIndex = FLIPPED_ROTATION_ORDER.indexOf(currentOrientation); in rotate()
4022 newIndex = (currentIndex + degree / 90) % 4; in rotate()
/frameworks/base/telephony/java/android/telephony/
DPhoneNumberUtils.java3136 private static int tryGetTrunkPrefixOmittedIndex(String str, int currentIndex) { in tryGetTrunkPrefixOmittedIndex() argument
3138 for (int i = currentIndex ; i < length ; i++) { in tryGetTrunkPrefixOmittedIndex()
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/
DTaskStackView.java1861 final int currentIndex = mStack.indexOfTask(getFocusedTask()); in onBusEvent() local
1863 currentIndex, event.direction); in onBusEvent()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/stack/
DNotificationStackScrollLayout.java3129 int currentIndex = indexOfChild(child);
3131 if (currentIndex == -1) {
3145 if (child != null && child.getParent() == this && currentIndex != newIndex) {
/frameworks/native/services/inputflinger/
DInputReader.cpp6271 uint32_t currentIndex = mCurrentRawState.rawPointerData.idToIndex[id]; in dispatchPointerMouse() local
6275 deltaX = (mCurrentRawState.rawPointerData.pointers[currentIndex].x in dispatchPointerMouse()
6278 deltaY = (mCurrentRawState.rawPointerData.pointers[currentIndex].y in dispatchPointerMouse()
6296 mCurrentCookedState.cookedPointerData.pointerCoords[currentIndex]); in dispatchPointerMouse()
6303 mCurrentCookedState.cookedPointerData.pointerProperties[currentIndex].toolType; in dispatchPointerMouse()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DStatusBar.java1510 int currentIndex = 0; in updateSpeedBumpIndex() local
1518 currentIndex++; in updateSpeedBumpIndex()
1521 speedBumpIndex = currentIndex; in updateSpeedBumpIndex()
/frameworks/base/core/java/com/android/internal/widget/
DRecyclerView.java7708 int currentIndex = mChildHelper.indexOfChild(child); in addViewInt() local
7712 if (currentIndex == -1) { in addViewInt()
7717 if (currentIndex != index) { in addViewInt()
7718 mRecyclerView.mLayout.moveView(currentIndex, index); in addViewInt()
/frameworks/support/v7/recyclerview/src/main/java/androidx/recyclerview/widget/
DRecyclerView.java8277 int currentIndex = mChildHelper.indexOfChild(child); in addViewInt() local
8281 if (currentIndex == -1) { in addViewInt()
8286 if (currentIndex != index) { in addViewInt()
8287 mRecyclerView.mLayout.moveView(currentIndex, index); in addViewInt()
/frameworks/data-binding/prebuilds/1.0-rc0/
Ddatabinding-studio-bundle.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/databinding/ android/ ...
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt56952 field protected int currentIndex;
57076 field protected int currentIndex;

12