Searched defs:startIndex (Results 1 - 16 of 16) sorted by relevance

/frameworks/base/core/java/android/alsa/
H A DLineTokenizer.java32 int nextToken(String line, int startIndex) { argument
34 int offset = startIndex;
45 int nextDelimiter(String line, int startIndex) { argument
47 int offset = startIndex;
/frameworks/base/tests/TransitionTests/src/com/android/transitiontests/
H A DReparenting.java48 private void setupButtons(int startIndex, ViewGroup parent) { argument
49 for (int i = startIndex; i < (startIndex + 3); ++i) {
/frameworks/av/media/libmedia/
H A DIMediaCodecList.cpp68 const char *type, bool encoder, size_t startIndex = 0) const
70 if (startIndex > INT32_MAX) {
78 data.writeInt32(startIndex);
133 size_t startIndex = static_cast<size_t>(data.readInt32()); local
134 ssize_t index = findCodecByType(type, isEncoder, startIndex);
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/
H A DComprehensionTlv.java84 * @param startIndex Index in data at which to start parsing
88 public static List<ComprehensionTlv> decodeMany(byte[] data, int startIndex) argument
92 while (startIndex < endIndex) {
93 ComprehensionTlv ctlv = ComprehensionTlv.decode(data, startIndex);
96 startIndex = ctlv.mValueIndex + ctlv.mLength;
110 * @param startIndex Index in data at which to start parsing
114 public static ComprehensionTlv decode(byte[] data, int startIndex) argument
116 int curIndex = startIndex;
129 ", startIndex=" + startIndex
[all...]
/frameworks/base/core/java/android/animation/
H A DPathKeyframes.java98 private PointF interpolateInRange(float fraction, int startIndex, int endIndex) { argument
99 int startBase = (startIndex * NUM_COMPONENTS);
/frameworks/native/libs/binder/
H A DDebug.cpp224 const size_t startIndex = word+(alignment-(alignment?1:0)); local
227 const size_t startIndex = word;
239 const unsigned char val = *(pos+startIndex+(index*dir));
256 const unsigned char val = *(pos+startIndex+(index*dir));
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
H A DWspTypeDecoder.java213 * @param startIndex The starting position of the "Text-string" in this pdu
219 public boolean decodeTextString(int startIndex) { argument
220 int index = startIndex;
224 mDataLength = index - startIndex + 1;
225 if (mWspData[startIndex] == 127) {
226 mStringValue = new String(mWspData, startIndex + 1, mDataLength - 2);
228 mStringValue = new String(mWspData, startIndex, mDataLength - 1);
236 * @param startIndex The starting position of the "Token-text" in this pdu
242 public boolean decodeTokenText(int startIndex) { argument
243 int index = startIndex;
262 decodeShortInteger(int startIndex) argument
280 decodeLongInteger(int startIndex) argument
303 decodeIntegerValue(int startIndex) argument
319 decodeUintvarInteger(int startIndex) argument
344 decodeValueLength(int startIndex) argument
368 decodeExtensionMedia(int startIndex) argument
394 decodeConstrainedEncoding(int startIndex) argument
415 decodeContentType(int startIndex) argument
466 readContentParameters(int startIndex, int leftToRead, int accumulator) argument
536 decodeNoValue(int startIndex) argument
568 decodeContentLength(int startIndex) argument
581 decodeContentLocation(int startIndex) argument
595 decodeXWapApplicationId(int startIndex) argument
612 seekXWapApplicationId(int startIndex, int endIndex) argument
676 decodeXWapContentURI(int startIndex) argument
689 decodeXWapInitiatorURI(int startIndex) argument
[all...]
/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/support/v17/leanback/src/android/support/v17/leanback/widget/
H A DStaggeredGrid.java158 * @param startIndex the index of the first item
161 public final void setStart(int startIndex, int startRow) { argument
162 mStartIndex = startIndex;
/frameworks/base/core/java/android/os/
H A DProcess.java1098 public static final native boolean parseProcLine(byte[] buffer, int startIndex, argument
/frameworks/base/core/jni/
H A Dandroid_util_Process.cpp683 char* buffer, jint startIndex, jint endIndex, jintArray format,
712 jsize i = startIndex;
800 jbyteArray buffer, jint startIndex, jint endIndex, jintArray format,
806 (char*) bufferArray, startIndex, endIndex, format, outStrings,
682 android_os_Process_parseProcLineArray(JNIEnv* env, jobject clazz, char* buffer, jint startIndex, jint endIndex, jintArray format, jobjectArray outStrings, jlongArray outLongs, jfloatArray outFloats) argument
799 android_os_Process_parseProcLine(JNIEnv* env, jobject clazz, jbyteArray buffer, jint startIndex, jint endIndex, jintArray format, jobjectArray outStrings, jlongArray outLongs, jfloatArray outFloats) argument
/frameworks/base/libs/hwui/
H A DFontRenderer.cpp595 uint32_t startIndex, uint32_t len, int numGlyphs, float radius, const float* positions) {
614 mCurrentFont->measure(paint, text, startIndex, len, numGlyphs, &bounds, positions);
646 mCurrentFont->render(paint, text, startIndex, len, numGlyphs, penX, penY,
691 uint32_t startIndex, uint32_t len, int numGlyphs, int x, int y,
699 mCurrentFont->render(paint, text, startIndex, len, numGlyphs, x, y, positions);
709 uint32_t startIndex, uint32_t len, int numGlyphs, const SkPath* path,
717 mCurrentFont->render(paint, text, startIndex, len, numGlyphs, path, hOffset, vOffset);
594 renderDropShadow(const SkPaint* paint, const char *text, uint32_t startIndex, uint32_t len, int numGlyphs, float radius, const float* positions) argument
690 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, Functor* functor, bool forceFinish) argument
708 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, Functor* functor) argument
/frameworks/rs/
H A DrsFont.cpp750 uint32_t startIndex, int32_t numGlyphs,
778 currentFont->renderUTF(text, len, x, y, startIndex, numGlyphs,
749 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/base/tools/aapt/
H A DAaptAssets.cpp278 int AaptLocaleValue::initFromDirName(const Vector<String8>& parts, const int startIndex) { argument
280 int currentIndex = startIndex;
/frameworks/native/services/inputflinger/
H A DEventHub.cpp1031 static bool containsNonZeroByte(const uint8_t* array, uint32_t startIndex, uint32_t endIndex) { argument
1033 array += startIndex;
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/
H A DLinearLayoutManager.java1127 * @param startIndex inclusive
1130 private void recycleChildren(RecyclerView.Recycler recycler, int startIndex, int endIndex) { argument
1131 if (startIndex == endIndex) {
1135 Log.d(TAG, "Recycling " + Math.abs(startIndex - endIndex) + " items");
1137 if (endIndex > startIndex) {
1138 for (int i = endIndex - 1; i >= startIndex; i--) {
1142 for (int i = startIndex; i > endIndex; i--) {

Completed in 3073 milliseconds