Searched refs:currentIndex (Results 1 - 24 of 24) sorted by relevance

/frameworks/base/core/java/android/view/inputmethod/
H A DBaseInputConnection.java271 int currentIndex = from;
274 if (currentIndex < 0 || N < currentIndex) {
283 return currentIndex; // Reached to the requested length in code points.
286 --currentIndex;
287 if (currentIndex < 0) {
293 final char c = cs.charAt(currentIndex);
315 int currentIndex = from;
318 if (currentIndex < 0 || N < currentIndex) {
[all...]
/frameworks/support/emoji/core/src/main/java/androidx/emoji/text/
H A DEmojiProcessor.java680 int currentIndex = from;
683 if (currentIndex < 0 || length < currentIndex) {
692 return currentIndex; // Reached to the requested length in code points.
695 --currentIndex;
696 if (currentIndex < 0) {
703 final char c = cs.charAt(currentIndex);
735 int currentIndex = from;
738 if (currentIndex < 0 || length < currentIndex) {
[all...]
/frameworks/base/libs/hwui/
H A DPathParser.cpp58 int currentIndex = start; local
63 for (; currentIndex < end; currentIndex++) {
66 char currentChar = s[currentIndex];
74 if (currentIndex != start && !isPrevExponential) {
99 *outEndPosition = currentIndex;
H A DPathTessellator.cpp189 int currentIndex = 0; local
195 buffer[currentIndex++] = perimeter[srcAindex];
197 buffer[currentIndex++] = perimeter[srcBindex];
215 int currentIndex = 0; local
228 Vertex::set(&buffer[currentIndex++], current->x + totalOffset.x,
231 Vertex::set(&buffer[currentIndex++], current->x - totalOffset.x,
239 buffer[currentIndex++] = buffer[0];
240 buffer[currentIndex++] = buffer[1];
246 const Vector2& normal, Vertex* buffer, int& currentIndex,
257 Vertex::set(&buffer[currentIndex
245 storeBeginEnd(const PaintInfo& paintInfo, const Vertex& center, const Vector2& normal, Vertex* buffer, int& currentIndex, bool begin) argument
306 int currentIndex = extra; local
352 int currentIndex = 0; local
[all...]
H A DSpotShadow.cpp609 int currentIndex = (i + offset) % polygonLength; local
610 float currentLengthSquared = (pivot - polygon[currentIndex]).lengthSquared();
616 resultIndex = currentIndex;
645 int currentIndex = (i + startPolyIndex) % polyLength; local
646 const Vector2& currentToCentroid = polyToCentroid[currentIndex];
647 const Vector2& nextToCentroid = polyToCentroid[(currentIndex + 1) % polyLength];
653 ALOGD("findPolyIndex loop %d times , index %d", i, currentIndex);
655 return currentIndex;
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/
H A DLegacyPasspointConfigParser.java411 int currentIndex = nameIndexPair.second;
413 if (lineBytes[currentIndex] == START_OF_INTERNAL_NODE_INDICATOR) {
417 if (lineBytes[currentIndex] != STRING_VALUE_INDICATOR) {
425 Pair<String, Integer> valueIndexPair = parseString(lineBytes, currentIndex + 1);
/frameworks/support/compat/src/main/java/androidx/core/graphics/
H A DPathParser.java257 int currentIndex = start;
262 for (; currentIndex < s.length(); currentIndex++) {
265 char currentChar = s.charAt(currentIndex);
273 if (currentIndex != start && !isPrevExponential) {
298 result.mEndPosition = currentIndex;
/frameworks/base/core/tests/coretests/src/com/android/internal/inputmethod/
H A DInputMethodSubtypeSwitchingControllerTest.java182 final int currentIndex = i;
183 final int prevIndex = (currentIndex + N - 1) % N;
184 final int nextIndex = (currentIndex + 1) % N;
186 expectedRotationOrderOfImeSubtypeList[currentIndex];
/frameworks/layoutlib/bridge/src/android/util/
H A DPathParser_Delegate.java277 int currentIndex = start;
282 for (; currentIndex < s.length(); currentIndex++) {
285 char currentChar = s.charAt(currentIndex);
295 if (currentIndex != start && !isPrevExponential) {
320 result.mEndPosition = currentIndex;
/frameworks/base/core/java/com/android/internal/inputmethod/
H A DInputMethodSubtypeSwitchingController.java316 final int currentIndex = getIndex(imi, subtype);
317 if (currentIndex < 0) {
324 final int candidateIndex = (currentIndex + offset) % N;
/frameworks/opt/datetimepicker/src/com/android/datetimepicker/time/
H A DRadialPickerLayout.java276 int currentIndex = getCurrentItemShowing();
277 if (currentIndex == HOUR_INDEX) {
279 } else if (currentIndex == MINUTE_INDEX) {
/frameworks/base/tools/aapt/
H A DAaptAssets.cpp279 int currentIndex = startIndex; local
281 String8 part = parts[currentIndex];
349 return ++currentIndex;
354 if (++currentIndex == size) {
358 return currentIndex;
361 part = parts[currentIndex];
364 if (++currentIndex == size) {
370 return currentIndex;
/frameworks/native/services/sensorservice/
H A DSensorService.cpp495 int currentIndex = (mNextSensorRegIndex - 1 + SENSOR_REGISTRATIONS_BUF_SIZE) % local
497 const int startIndex = currentIndex;
499 const SensorRegistrationInfo& reg_info = mLastNSensorRegistrations[currentIndex];
502 currentIndex = (currentIndex - 1 + SENSOR_REGISTRATIONS_BUF_SIZE) %
507 currentIndex = (currentIndex - 1 + SENSOR_REGISTRATIONS_BUF_SIZE) %
509 } while(startIndex != currentIndex);
/frameworks/base/graphics/java/android/graphics/drawable/
H A DDrawableContainer.java927 final boolean setLayoutDirection(int layoutDirection, int currentIndex) { argument
937 if (i == currentIndex) {
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/glrenderer/
H A DGLES20Canvas.java455 int currentIndex = mCurrentMatrixIndex;
460 System.arraycopy(mMatrices, currentIndex, mMatrices, mCurrentMatrixIndex, MATRIX_SIZE);
/frameworks/support/exifinterface/src/main/java/androidx/exifinterface/media/
H A DExifInterface.java4013 int currentIndex, newIndex;
4016 currentIndex = ROTATION_ORDER.indexOf(currentOrientation);
4017 newIndex = (currentIndex + degree / 90) % 4;
4021 currentIndex = FLIPPED_ROTATION_ORDER.indexOf(currentOrientation);
4022 newIndex = (currentIndex + degree / 90) % 4;
/frameworks/base/telephony/java/android/telephony/
H A DPhoneNumberUtils.java3136 private static int tryGetTrunkPrefixOmittedIndex(String str, int currentIndex) { argument
3138 for (int i = currentIndex ; i < length ; i++) {
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/
H A DTaskStackView.java1861 final int currentIndex = mStack.indexOfTask(getFocusedTask());
1863 currentIndex, event.direction);
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/stack/
H A DNotificationStackScrollLayout.java3129 int currentIndex = indexOfChild(child);
3131 if (currentIndex == -1) {
3145 if (child != null && child.getParent() == this && currentIndex != newIndex) {
/frameworks/native/services/inputflinger/
H A DInputReader.cpp6271 uint32_t currentIndex = mCurrentRawState.rawPointerData.idToIndex[id]; local
6275 deltaX = (mCurrentRawState.rawPointerData.pointers[currentIndex].x
6278 deltaY = (mCurrentRawState.rawPointerData.pointers[currentIndex].y
6296 mCurrentCookedState.cookedPointerData.pointerCoords[currentIndex]);
6303 mCurrentCookedState.cookedPointerData.pointerProperties[currentIndex].toolType;
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DStatusBar.java1510 int currentIndex = 0;
1518 currentIndex++;
1521 speedBumpIndex = currentIndex;
/frameworks/base/core/java/com/android/internal/widget/
H A DRecyclerView.java7708 int currentIndex = mChildHelper.indexOfChild(child);
7712 if (currentIndex == -1) {
7717 if (currentIndex != index) {
7718 mRecyclerView.mLayout.moveView(currentIndex, index);
/frameworks/support/v7/recyclerview/src/main/java/androidx/recyclerview/widget/
H A DRecyclerView.java8277 int currentIndex = mChildHelper.indexOfChild(child);
8281 if (currentIndex == -1) {
8286 if (currentIndex != index) {
8287 mRecyclerView.mLayout.moveView(currentIndex, index);
/frameworks/data-binding/prebuilds/1.0-rc0/
H A Ddatabinding-studio-bundle.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/databinding/ android/databinding/Bindable.class Bindable. ...

Completed in 6709 milliseconds