Searched refs:startIndex (Results 26 - 50 of 52) sorted by relevance

123

/frameworks/base/libs/hwui/
H A DFontRenderer.cpp558 uint32_t startIndex, uint32_t len, int numGlyphs, float radius, const float* positions) {
577 mCurrentFont->measure(paint, text, startIndex, len, numGlyphs, &bounds, positions);
609 mCurrentFont->render(paint, text, startIndex, len, numGlyphs, penX, penY,
654 uint32_t startIndex, uint32_t len, int numGlyphs, int x, int y,
662 mCurrentFont->render(paint, text, startIndex, len, numGlyphs, x, y, positions);
672 uint32_t startIndex, uint32_t len, int numGlyphs, const SkPath* path,
680 mCurrentFont->render(paint, text, startIndex, len, numGlyphs, path, hOffset, vOffset);
557 renderDropShadow(const SkPaint* paint, const char *text, uint32_t startIndex, uint32_t len, int numGlyphs, float radius, const float* positions) argument
653 renderPosText(const SkPaint* paint, const Rect* clip, const char *text, uint32_t startIndex, uint32_t len, int numGlyphs, int x, int y, const float* positions, Rect* bounds, TextDrawFunctor* functor, bool forceFinish) argument
671 renderTextOnPath(const SkPaint* paint, const Rect* clip, const char *text, uint32_t startIndex, uint32_t len, int numGlyphs, const SkPath* path, float hOffset, float vOffset, Rect* bounds, TextDrawFunctor* functor) argument
/frameworks/opt/datetimepicker/src/com/android/datetimepicker/time/
H A DTimePickerDialog.java736 int startIndex = 1;
744 startIndex = 2;
748 for (int i = startIndex; i <= mTypedTimes.size(); i++) {
750 if (i == startIndex) {
752 } else if (i == startIndex+1) {
757 } else if (i == startIndex+2) {
759 } else if (i == startIndex+3) {
/frameworks/opt/timezonepicker/src/com/android/timezonepicker/
H A DTimeZoneFilterTypeAdapter.java344 * @param startIndex
347 public int parseNum(String str, int startIndex) { argument
348 int idx = startIndex;
/frameworks/base/core/java/android/animation/
H A DAnimatorInflater.java917 int startIndex = i;
919 for (int j = startIndex + 1; j < count - 1; ++j) {
926 keyframeArray[startIndex - 1].getFraction();
927 distributeKeyframes(keyframeArray, gap, startIndex, endIndex);
953 * keyframe before startIndex.
958 * - startIndex must be >0 (which follows from first assumption).
959 * - endIndex must be >= startIndex.
963 * @param startIndex The index of the first keyframe whose fraction must be set
967 int startIndex, int endIndex) {
968 int count = endIndex - startIndex
966 distributeKeyframes(Keyframe[] keyframes, float gap, int startIndex, int endIndex) argument
[all...]
/frameworks/base/core/java/android/widget/
H A DTimePickerClockDelegate.java1085 int startIndex = 1;
1093 startIndex = 2;
1097 for (int i = startIndex; i <= mTypedTimes.size(); i++) {
1099 if (i == startIndex) {
1101 } else if (i == startIndex+1) {
1106 } else if (i == startIndex+2) {
1108 } else if (i == startIndex+3) {
/frameworks/av/media/libstagefright/
H A DMediaCodecList.cpp849 const char *type, bool encoder, size_t startIndex) const {
856 for (; startIndex < numCodecs; ++startIndex) {
857 const MediaCodecInfo &info = *mCodecInfos.itemAt(startIndex).get();
879 return startIndex;
/frameworks/base/services/usage/java/com/android/server/usage/
H A DUserUsageStatsService.java360 final int startIndex = stats.events.closestIndexOnOrAfter(beginTime);
361 if (startIndex < 0) {
366 for (int i = startIndex; i < size; i++) {
/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/
H A DExpressionVisitor.java312 final int startIndex = Math.max(1, colonIndex + 1);
313 final String resourceType = resourceReference.substring(startIndex, slashIndex).trim();
/frameworks/support/design/src/android/support/design/internal/
H A DNavigationMenuPresenter.java445 private void appendTransparentIconIfMissing(int startIndex, int endIndex) { argument
446 for (int i = startIndex; i < endIndex; i++) {
/frameworks/base/core/java/android/net/
H A DNetworkStatsHistory.java315 final int startIndex = getIndexAfter(end);
316 for (int i = startIndex; i >= 0; i--) {
492 final int startIndex = getIndexAfter(end);
493 for (int i = startIndex; i >= 0; i--) {
/frameworks/base/core/jni/
H A Dandroid_util_Process.cpp706 char* buffer, jint startIndex, jint endIndex, jintArray format,
735 jsize i = startIndex;
825 jbyteArray buffer, jint startIndex, jint endIndex, jintArray format,
831 (char*) bufferArray, startIndex, endIndex, format, outStrings,
705 android_os_Process_parseProcLineArray(JNIEnv* env, jobject clazz, char* buffer, jint startIndex, jint endIndex, jintArray format, jobjectArray outStrings, jlongArray outLongs, jfloatArray outFloats) argument
824 android_os_Process_parseProcLine(JNIEnv* env, jobject clazz, jbyteArray buffer, jint startIndex, jint endIndex, jintArray format, jobjectArray outStrings, jlongArray outLongs, jfloatArray outFloats) argument
/frameworks/rs/
H A DrsFont.h149 uint32_t startIndex = 0, int numGlyphs = -1,
H A DrsFont.cpp746 uint32_t startIndex, int32_t numGlyphs,
774 currentFont->renderUTF(text, len, x, y, startIndex, numGlyphs,
745 renderText(const char *text, uint32_t len, int32_t x, int32_t y, uint32_t startIndex, int32_t numGlyphs, Font::RenderMode mode, Font::Rect *bounds, uint8_t *bitmap, uint32_t bitmapW, uint32_t bitmapH) argument
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/
H A DLinearLayoutManager.java1188 * @param startIndex inclusive
1191 private void recycleChildren(RecyclerView.Recycler recycler, int startIndex, int endIndex) { argument
1192 if (startIndex == endIndex) {
1196 Log.d(TAG, "Recycling " + Math.abs(startIndex - endIndex) + " items");
1198 if (endIndex > startIndex) {
1199 for (int i = endIndex - 1; i >= startIndex; i--) {
1203 for (int i = startIndex; i > endIndex; i--) {
H A DStaggeredGridLayoutManager.java1788 final int startIndex, endIndex, diff;
1790 startIndex = mSpanCount - 1;
1794 startIndex = 0;
1802 for (int i = startIndex; i != endIndex; i += diff) {
1815 for (int i = startIndex; i != endIndex; i += diff) {
/frameworks/data-binding/compiler/src/main/kotlin/android/databinding/tool/writer/
H A DLayoutBinderWriter.kt239 val startIndex : kotlin.Int
241 startIndex = "binding_".length();
243 startIndex = tag.lastIndexOf('_') + 1
245 return Integer.parseInt(tag.substring(startIndex))
/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/store/
H A DSetterStore.java1165 final int startIndex = mAdapter.requiresOldValue ? 0 : attributes.length;
1167 for (int i = startIndex; i < valueExpressions.length; i++) {
1185 args[i - startIndex] = argBuilder.toString();
/frameworks/base/core/java/android/app/
H A DBackStackRecord.java1349 final int startIndex = views.size();
1350 if (containedBeforeIndex(views, startView, startIndex)) {
1354 for (int index = startIndex; index < views.size(); index++) {
1361 if (!containedBeforeIndex(views, child, startIndex)) {
/frameworks/base/core/java/android/os/
H A DProcess.java1119 public static final native boolean parseProcLine(byte[] buffer, int startIndex, argument
/frameworks/base/tools/aapt/
H A DAaptAssets.h74 int initFromDirName(const Vector<String8>& parts, const int startIndex);
H A DAaptAssets.cpp277 int AaptLocaleValue::initFromDirName(const Vector<String8>& parts, const int startIndex) { argument
279 int currentIndex = startIndex;
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
H A DSettingsProvider.java1303 final int startIndex = Math.max(where.indexOf("'"),
1307 name = where.substring(startIndex, endIndex);
/frameworks/native/services/inputflinger/
H A DEventHub.cpp1034 static bool containsNonZeroByte(const uint8_t* array, uint32_t startIndex, uint32_t endIndex) { argument
1036 array += startIndex;
/frameworks/native/services/sensorservice/
H A DSensorService.cpp413 const int startIndex = currentIndex; local
435 } while(startIndex != currentIndex);
/frameworks/av/services/camera/libcameraservice/device3/
H A DCamera3Device.cpp1211 size_t startIndex = 0; local
1219 startIndex = mRecentStatusUpdates.size();
1236 LOG_ALWAYS_FATAL_IF(startIndex > mRecentStatusUpdates.size(),
1241 for (size_t i = startIndex; i < mRecentStatusUpdates.size(); i++) {

Completed in 706 milliseconds

123