Home
last modified time | relevance | path

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

/frameworks/base/libs/hwui/
DPathTessellator.cpp186 int currentIndex = 0; in getFillVerticesFromPerimeter() local
192 buffer[currentIndex++] = perimeter[srcAindex]; in getFillVerticesFromPerimeter()
194 buffer[currentIndex++] = perimeter[srcBindex]; in getFillVerticesFromPerimeter()
211 int currentIndex = 0; in getStrokeVerticesFromPerimeter() local
224 Vertex::set(&buffer[currentIndex++], in getStrokeVerticesFromPerimeter()
228 Vertex::set(&buffer[currentIndex++], in getStrokeVerticesFromPerimeter()
237 buffer[currentIndex++] = buffer[0]; in getStrokeVerticesFromPerimeter()
238 buffer[currentIndex++] = buffer[1]; in getStrokeVerticesFromPerimeter()
244 const Vector2& normal, Vertex* buffer, int& currentIndex, bool begin) { in storeBeginEnd() argument
254 Vertex::set(&buffer[currentIndex++], referencePoint + strokeOffset); in storeBeginEnd()
[all …]
DSpotShadow.cpp638 int currentIndex = (i + offset) % polygonLength; in getClosestUmbraIndex() local
639 float currentLengthSquared = (pivot - polygon[currentIndex]).lengthSquared(); in getClosestUmbraIndex()
645 resultIndex = currentIndex; in getClosestUmbraIndex()
674 int currentIndex = (i + startPolyIndex) % polyLength; in findPolyIndex() local
675 const Vector2& currentToCentroid = polyToCentroid[currentIndex]; in findPolyIndex()
676 const Vector2& nextToCentroid = polyToCentroid[(currentIndex + 1) % polyLength]; in findPolyIndex()
682 ALOGD("findPolyIndex loop %d times , index %d", i, currentIndex ); in findPolyIndex()
684 return currentIndex; in findPolyIndex()
/frameworks/base/core/java/android/util/
DPathParser.java213 int currentIndex = start; in extract() local
218 for (; currentIndex < s.length(); currentIndex++) { in extract()
221 char currentChar = s.charAt(currentIndex); in extract()
229 if (currentIndex != start && !isPrevExponential) { in extract()
254 result.mEndPosition = currentIndex; in extract()
/frameworks/support/graphics/drawable/static/src/android/support/graphics/drawable/
DPathParser.java241 int currentIndex = start; in extract() local
246 for (; currentIndex < s.length(); currentIndex++) { in extract()
249 char currentChar = s.charAt(currentIndex); in extract()
257 if (currentIndex != start && !isPrevExponential) { in extract()
282 result.mEndPosition = currentIndex; in extract()
/frameworks/base/tools/aapt2/
DStringPool.cpp349 size_t currentIndex = 0; in flatten() local
351 while (entry->str.getIndex() > currentIndex) { in flatten()
352 styleIndices[currentIndex++] = out->size() - beforeStylesIndex; in flatten()
357 styleIndices[currentIndex++] = out->size() - beforeStylesIndex; in flatten()
/frameworks/base/core/tests/inputmethodtests/src/android/os/
DInputMethodSubtypeSwitchingControllerTest.java140 final int currentIndex = i; in assertRotationOrder() local
141 final int nextIndex = (currentIndex + 1) % N; in assertRotationOrder()
143 expectedRotationOrderOfImeSubtypeList[currentIndex]; in assertRotationOrder()
/frameworks/base/tools/aapt/
DAaptAssets.cpp279 int currentIndex = startIndex; in initFromDirName() local
281 String8 part = parts[currentIndex]; in initFromDirName()
346 return ++currentIndex; in initFromDirName()
351 if (++currentIndex == size) { in initFromDirName()
355 return currentIndex; in initFromDirName()
358 part = parts[currentIndex]; in initFromDirName()
361 if (++currentIndex == size) { in initFromDirName()
367 return currentIndex; in initFromDirName()
/frameworks/base/core/java/com/android/internal/inputmethod/
DInputMethodSubtypeSwitchingController.java300 final int currentIndex = getIndex(imi, subtype); in getNextInputMethodLocked() local
301 if (currentIndex < 0) { in getNextInputMethodLocked()
307 final int candidateIndex = (currentIndex + offset) % N; in getNextInputMethodLocked()
/frameworks/native/services/sensorservice/
DSensorService.cpp411 int currentIndex = (mNextSensorRegIndex - 1 + SENSOR_REGISTRATIONS_BUF_SIZE) % in dump() local
413 const int startIndex = currentIndex; in dump()
415 const SensorRegistrationInfo& reg_info = mLastNSensorRegistrations[currentIndex]; in dump()
418 currentIndex = (currentIndex - 1 + SENSOR_REGISTRATIONS_BUF_SIZE) % in dump()
433 currentIndex = (currentIndex - 1 + SENSOR_REGISTRATIONS_BUF_SIZE) % in dump()
435 } while(startIndex != currentIndex); in dump()
/frameworks/opt/datetimepicker/src/com/android/datetimepicker/time/
DRadialPickerLayout.java274 int currentIndex = getCurrentItemShowing(); in getCurrentlyShowingValue() local
275 if (currentIndex == HOUR_INDEX) { in getCurrentlyShowingValue()
277 } else if (currentIndex == MINUTE_INDEX) { in getCurrentlyShowingValue()
/frameworks/base/graphics/java/android/graphics/drawable/
DDrawableContainer.java836 final boolean setLayoutDirection(int layoutDirection, int currentIndex) { in setLayoutDirection() argument
846 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/stack/
DNotificationStackScrollLayout.java377 int currentIndex = indexOfChild(mSpeedBumpView); in updateSpeedBumpIndex() local
385 if (validIndex && currentIndex != newIndex) { in updateSpeedBumpIndex()
1863 int currentIndex = indexOfChild(child); in changeViewPosition() local
1864 if (child != null && child.getParent() == this && currentIndex != newIndex) { in changeViewPosition()
/frameworks/base/telephony/java/android/telephony/
DPhoneNumberUtils.java2921 private static int tryGetTrunkPrefixOmittedIndex(String str, int currentIndex) { in tryGetTrunkPrefixOmittedIndex() argument
2923 for (int i = currentIndex ; i < length ; i++) { in tryGetTrunkPrefixOmittedIndex()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DPhoneStatusBar.java1435 int currentIndex = 0; in updateSpeedbump() local
1446 speedbumpIndex = currentIndex; in updateSpeedbump()
1449 currentIndex++; in updateSpeedbump()
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/
DRecyclerView.java6301 int currentIndex = mChildHelper.indexOfChild(child); in addViewInt() local
6305 if (currentIndex == -1) { in addViewInt()
6310 if (currentIndex != index) { in addViewInt()
6311 mRecyclerView.mLayout.moveView(currentIndex, index); in addViewInt()
/frameworks/native/services/inputflinger/
DInputReader.cpp5857 uint32_t currentIndex = mCurrentRawState.rawPointerData.idToIndex[id]; in dispatchPointerMouse() local
5860 float deltaX = (mCurrentRawState.rawPointerData.pointers[currentIndex].x in dispatchPointerMouse()
5863 float deltaY = (mCurrentRawState.rawPointerData.pointers[currentIndex].y in dispatchPointerMouse()
5881 mCurrentCookedState.cookedPointerData.pointerCoords[currentIndex]); in dispatchPointerMouse()
5888 mCurrentCookedState.cookedPointerData.pointerProperties[currentIndex].toolType; in dispatchPointerMouse()
/frameworks/data-binding/prebuilds/1.0-rc0/
Ddatabinding-studio-bundle.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/databinding/ android/ ...