Home
last modified time | relevance | path

Searched refs:startIndex (Results 1 – 25 of 51) sorted by relevance

123

/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DWspTypeDecoder.java219 public boolean decodeTextString(int startIndex) { in decodeTextString() argument
220 int index = startIndex; in decodeTextString()
224 mDataLength = index - startIndex + 1; in decodeTextString()
225 if (mWspData[startIndex] == 127) { in decodeTextString()
226 mStringValue = new String(mWspData, startIndex + 1, mDataLength - 2); in decodeTextString()
228 mStringValue = new String(mWspData, startIndex, mDataLength - 1); in decodeTextString()
242 public boolean decodeTokenText(int startIndex) { in decodeTokenText() argument
243 int index = startIndex; in decodeTokenText()
247 mDataLength = index - startIndex + 1; in decodeTokenText()
248 mStringValue = new String(mWspData, startIndex, mDataLength - 1); in decodeTokenText()
[all …]
DIntRangeManager.java206 for (int startIndex = 0; startIndex < len; startIndex++) { in enableRange()
207 IntRange range = mRanges.get(startIndex); in enableRange()
220 if ((startIndex + 1) < len) { in enableRange()
221 nextRange = mRanges.get(startIndex + 1); in enableRange()
258 mRanges.add(startIndex, new IntRange(startId, endId, client)); in enableRange()
275 for (int endIndex = startIndex+1; endIndex < len; endIndex++) { in enableRange()
290 int joinIndex = startIndex + 1; in enableRange()
315 int joinIndex = startIndex + 1; in enableRange()
340 int joinIndex = startIndex + 1; in enableRange()
362 int endIndex = startIndex; in enableRange()
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/
DComprehensionTlv.java88 public static List<ComprehensionTlv> decodeMany(byte[] data, int startIndex) in decodeMany() argument
92 while (startIndex < endIndex) { in decodeMany()
93 ComprehensionTlv ctlv = ComprehensionTlv.decode(data, startIndex); in decodeMany()
96 startIndex = ctlv.mValueIndex + ctlv.mLength; in decodeMany()
114 public static ComprehensionTlv decode(byte[] data, int startIndex) in decode() argument
116 int curIndex = startIndex; in decode()
129 ", startIndex=" + startIndex + " curIndex=" + curIndex + in decode()
161 " startIndex=" + startIndex + " curIndex=" + curIndex + in decode()
172 " startIndex=" + startIndex + " curIndex=" + curIndex + in decode()
184 " startIndex=" + startIndex + " curIndex=" + curIndex + in decode()
[all …]
/frameworks/support/v4/donut/android/support/v4/view/animation/
DPathInterpolatorDonut.java73 int startIndex = 0; in getInterpolation() local
75 while (endIndex - startIndex > 1) { in getInterpolation()
76 int midIndex = (startIndex + endIndex) / 2; in getInterpolation()
80 startIndex = midIndex; in getInterpolation()
84 final float xRange = mX[endIndex] - mX[startIndex]; in getInterpolation()
86 return mY[startIndex]; in getInterpolation()
89 final float tInRange = t - mX[startIndex]; in getInterpolation()
92 final float startY = mY[startIndex]; in getInterpolation()
/frameworks/base/core/java/com/android/internal/os/
DKernelWakelockReader.java114 int startIndex; in parseProcWakelocks() local
121 startIndex = endIndex = i + 1; in parseProcWakelocks()
126 for (endIndex=startIndex; in parseProcWakelocks()
141 for (int j = startIndex; j < endIndex; j++) { in parseProcWakelocks()
144 boolean parsed = Process.parseProcLine(wlBuffer, startIndex, endIndex, in parseProcWakelocks()
180 new String(wlBuffer, startIndex, endIndex - startIndex)); in parseProcWakelocks()
185 startIndex = endIndex; in parseProcWakelocks()
/frameworks/base/core/java/com/android/internal/alsa/
DLineTokenizer.java32 int nextToken(String line, int startIndex) { in nextToken() argument
34 int offset = startIndex; in nextToken()
45 int nextDelimiter(String line, int startIndex) { in nextDelimiter() argument
47 int offset = startIndex; in nextDelimiter()
/frameworks/base/core/java/android/view/animation/
DPathInterpolator.java208 int startIndex = 0; in getInterpolation() local
211 while (endIndex - startIndex > 1) { in getInterpolation()
212 int midIndex = (startIndex + endIndex) / 2; in getInterpolation()
216 startIndex = midIndex; in getInterpolation()
220 float xRange = mX[endIndex] - mX[startIndex]; in getInterpolation()
222 return mY[startIndex]; in getInterpolation()
225 float tInRange = t - mX[startIndex]; in getInterpolation()
228 float startY = mY[startIndex]; in getInterpolation()
/frameworks/data-binding/baseLibrary/src/main/java/android/databinding/
DCallbackRegistry.java172 final int startIndex = (remainderIndex + 1) * Long.SIZE; in notifyRemainder() local
173 final int endIndex = Math.min(mCallbacks.size(), startIndex + Long.SIZE); in notifyRemainder()
175 notifyCallbacks(sender, arg, arg2, startIndex, endIndex, bits); in notifyRemainder()
196 private void notifyCallbacks(T sender, int arg, A arg2, final int startIndex, in notifyCallbacks() argument
199 for (int i = startIndex; i < endIndex; i++) { in notifyCallbacks()
255 private void removeRemovedCallbacks(int startIndex, long removed) { in removeRemovedCallbacks() argument
257 final int endIndex = startIndex + Long.SIZE; in removeRemovedCallbacks()
260 for (int i = endIndex - 1; i >= startIndex; i--) { in removeRemovedCallbacks()
/frameworks/base/core/java/com/android/internal/util/
DCallbackRegistry.java175 final int startIndex = (remainderIndex + 1) * Long.SIZE; in notifyRemainderLocked() local
176 final int endIndex = Math.min(mCallbacks.size(), startIndex + Long.SIZE); in notifyRemainderLocked()
178 notifyCallbacksLocked(sender, arg, arg2, startIndex, endIndex, bits); in notifyRemainderLocked()
199 private void notifyCallbacksLocked(T sender, int arg, A arg2, final int startIndex, in notifyCallbacksLocked() argument
202 for (int i = startIndex; i < endIndex; i++) { in notifyCallbacksLocked()
257 private void removeRemovedCallbacks(int startIndex, long removed) { in removeRemovedCallbacks() argument
259 final int endIndex = startIndex + Long.SIZE; in removeRemovedCallbacks()
262 for (int i = endIndex - 1; i >= startIndex; i--) { in removeRemovedCallbacks()
/frameworks/av/media/libmedia/
DIMediaCodecList.cpp82 const char *type, bool encoder, size_t startIndex = 0) const in findCodecByType() argument
84 if (startIndex > INT32_MAX) { in findCodecByType()
92 data.writeInt32(startIndex); in findCodecByType()
161 size_t startIndex = static_cast<size_t>(data.readInt32()); in onTransact() local
162 ssize_t index = findCodecByType(type, isEncoder, startIndex); in onTransact()
/frameworks/base/tests/TransitionTests/src/com/android/transitiontests/
DReparenting.java48 private void setupButtons(int startIndex, ViewGroup parent) { in setupButtons() argument
49 for (int i = startIndex; i < (startIndex + 3); ++i) { in setupButtons()
/frameworks/base/services/usage/java/com/android/server/usage/
DUsageStatsDatabase.java85 final int startIndex = files.closestIndexOnOrAfter(currentTimeMillis); in init() local
86 if (startIndex < 0) { in init()
91 for (int i = startIndex; i < fileCount; i++) { in init()
97 for (int i = startIndex; i < fileCount; i++) { in init()
408 int startIndex = intervalStats.closestIndexOnOrBefore(beginTime); in queryUsageStats() local
409 if (startIndex < 0) { in queryUsageStats()
412 startIndex = 0; in queryUsageStats()
438 for (int i = startIndex; i <= endIndex; i++) { in queryUsageStats()
/frameworks/native/libs/binder/
DDebug.cpp223 const size_t startIndex = word+(alignment-(alignment?1:0)); in printHexData() local
234 const unsigned char val = *(pos+startIndex+(index*dir)); in printHexData()
251 const unsigned char val = *(pos+startIndex+(index*dir)); in printHexData()
/frameworks/base/libs/hwui/
DFontRenderer.h92 uint32_t startIndex, uint32_t len, int numGlyphs, int x, int y, const float* positions,
97 uint32_t startIndex, uint32_t len, int numGlyphs, const SkPath* path,
110 DropShadow renderDropShadow(const SkPaint* paint, const char *text, uint32_t startIndex,
DFontRenderer.cpp558 uint32_t startIndex, uint32_t len, int numGlyphs, float radius, const float* positions) { in renderDropShadow() argument
577 mCurrentFont->measure(paint, text, startIndex, len, numGlyphs, &bounds, positions); in renderDropShadow()
609 mCurrentFont->render(paint, text, startIndex, len, numGlyphs, penX, penY, in renderDropShadow()
654 uint32_t startIndex, uint32_t len, int numGlyphs, int x, int y, in renderPosText() argument
662 mCurrentFont->render(paint, text, startIndex, len, numGlyphs, x, y, positions); in renderPosText()
672 uint32_t startIndex, uint32_t len, int numGlyphs, const SkPath* path, in renderTextOnPath() argument
680 mCurrentFont->render(paint, text, startIndex, len, numGlyphs, path, hOffset, vOffset); in renderTextOnPath()
/frameworks/base/services/core/java/com/android/server/location/
DGpsXtraDownloader.java82 int startIndex = mNextServerIndex; in downloadXtraData() local
98 if (mNextServerIndex == startIndex) break; in downloadXtraData()
/frameworks/data-binding/compiler/src/main/java/android/databinding/annotationprocessor/
DProcessMethodAdapters.java100 final int startIndex = 1 + (takesComponent ? 1 : 0); in addBindingAdapters() local
102 final int numAdditionalArgs = parameters.size() - startIndex; in addBindingAdapters()
107 for (int i = startIndex; i < numAttributes + startIndex; i++) { in addBindingAdapters()
/frameworks/base/tools/aapt2/
DXmlFlattener.cpp56 const size_t startIndex = mOut->size(); in writeNamespace() local
62 flatNode->header = { type, sizeof(*flatNode), (uint32_t)(mOut->size() - startIndex) }; in writeNamespace()
94 const size_t startIndex = mOut->size(); in visit() local
100 flatNode->header = { type, sizeof(*flatNode), (uint32_t)(mOut->size() - startIndex) }; in visit()
107 const size_t startIndex = mOut->size(); in visit() local
127 flatNode->header.size = (uint32_t)(mOut->size() - startIndex); in visit()
DStringPool.cpp292 const size_t startIndex = out->size(); in flatten() local
310 header->stringsStart = beforeStringsIndex - startIndex; in flatten()
347 header->stylesStart = beforeStylesIndex - startIndex; in flatten()
382 header->header.size = out->size() - startIndex; in flatten()
/frameworks/opt/calendar/src/com/android/calendarcommon2/
DICalendar.java546 int startIndex = -1; in extractParameter() local
571 startIndex = state.index; in extractParameter()
575 if ((parameter == null) || (startIndex == -1)) { in extractParameter()
579 parameter.name = text.substring(startIndex + 1, equalIndex); in extractParameter()
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
DGrid.java171 public void setStart(int startIndex) { in setStart() argument
172 mStartIndex = startIndex; in setStart()
/frameworks/av/include/media/
DIMediaCodecList.h41 const char *type, bool encoder, size_t startIndex = 0) const = 0;
/frameworks/base/core/java/android/animation/
DPathKeyframes.java98 private PointF interpolateInRange(float fraction, int startIndex, int endIndex) { in interpolateInRange() argument
99 int startBase = (startIndex * NUM_COMPONENTS); in interpolateInRange()
/frameworks/support/v4/api21/android/support/v4/app/
DFragmentTransitionCompat21.java246 final int startIndex = views.size(); in bfsAddViewChildren() local
247 if (containedBeforeIndex(views, startView, startIndex)) { in bfsAddViewChildren()
251 for (int index = startIndex; index < views.size(); index++) { in bfsAddViewChildren()
258 if (!containedBeforeIndex(views, child, startIndex)) { in bfsAddViewChildren()
/frameworks/opt/datetimepicker/src/com/android/datetimepicker/time/
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) {

123