Home
last modified time | relevance | path

Searched refs:startIndex (Results 1 – 25 of 58) 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/base/packages/SystemUI/src/com/android/systemui/recents/misc/
DFreePathInterpolator.java99 int startIndex = 0; in getInterpolation() local
104 return mY[startIndex]; in getInterpolation()
110 while (endIndex - startIndex > 1) { in getInterpolation()
111 int midIndex = (startIndex + endIndex) / 2; in getInterpolation()
115 startIndex = midIndex; in getInterpolation()
119 float xRange = mX[endIndex] - mX[startIndex]; in getInterpolation()
121 return mY[startIndex]; in getInterpolation()
124 float tInRange = t - mX[startIndex]; in getInterpolation()
127 float startY = mY[startIndex]; in getInterpolation()
138 int startIndex = 0; in getX() local
[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/packages/SystemUI/src/com/android/systemui/qs/
DPathInterpolatorBuilder.java127 int startIndex = 0; in getInterpolation() local
130 while (endIndex - startIndex > 1) { in getInterpolation()
131 int midIndex = (startIndex + endIndex) / 2; in getInterpolation()
135 startIndex = midIndex; in getInterpolation()
139 float xRange = mX[endIndex] - mX[startIndex]; in getInterpolation()
141 return mY[startIndex]; in getInterpolation()
144 float tInRange = t - mX[startIndex]; in getInterpolation()
147 float startY = mY[startIndex]; in getInterpolation()
/frameworks/base/core/java/com/android/internal/os/
DKernelWakelockReader.java117 int startIndex; in parseProcWakelocks() local
123 startIndex = endIndex = i + 1; in parseProcWakelocks()
128 for (endIndex=startIndex; in parseProcWakelocks()
142 for (int j = startIndex; j < endIndex; j++) { in parseProcWakelocks()
145 boolean parsed = Process.parseProcLine(wlBuffer, startIndex, endIndex, in parseProcWakelocks()
179 new String(wlBuffer, startIndex, endIndex - startIndex)); in parseProcWakelocks()
184 startIndex = endIndex + 1; in parseProcWakelocks()
/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/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/tests/coretests/src/android/widget/espresso/
DTextViewActions.java174 public static ViewAction longPressAndDragOnText(int startIndex, int endIndex) { in longPressAndDragOnText() argument
178 new TextCoordinates(startIndex), in longPressAndDragOnText()
196 public static ViewAction doubleTapAndDragOnText(int startIndex, int endIndex) { in doubleTapAndDragOnText() argument
200 new TextCoordinates(startIndex), in doubleTapAndDragOnText()
218 public static ViewAction mouseDragOnText(int startIndex, int endIndex) { in mouseDragOnText() argument
222 new TextCoordinates(startIndex), in mouseDragOnText()
240 public static ViewAction mouseDoubleClickAndDragOnText(int startIndex, int endIndex) { in mouseDoubleClickAndDragOnText() argument
244 new TextCoordinates(startIndex), in mouseDoubleClickAndDragOnText()
262 public static ViewAction mouseLongClickAndDragOnText(int startIndex, int endIndex) { in mouseLongClickAndDragOnText() argument
266 new TextCoordinates(startIndex), in mouseLongClickAndDragOnText()
[all …]
/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()
165 size_t startIndex = static_cast<size_t>(data.readInt32()); in onTransact() local
166 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/data-binding/prebuilds/1.0-rc0/
Ddatabinding-baseLibrary.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/databinding/ android/ ...
/frameworks/base/services/usage/java/com/android/server/usage/
DUsageStatsDatabase.java97 final int startIndex = files.closestIndexOnOrAfter(currentTimeMillis); in init() local
98 if (startIndex < 0) { in init()
103 for (int i = startIndex; i < fileCount; i++) { in init()
109 for (int i = startIndex; i < fileCount; i++) { in init()
403 int startIndex = intervalStats.closestIndexOnOrBefore(beginTime); in queryUsageStats() local
404 if (startIndex < 0) { in queryUsageStats()
407 startIndex = 0; in queryUsageStats()
433 for (int i = startIndex; i <= endIndex; i++) { in queryUsageStats()
/frameworks/data-binding/internal-prebuilts/com/android/databinding/baseLibrary/1.0-rc3/
DbaseLibrary-1.0-rc3.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/databinding/ android/ ...
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DKeyboardShortcutKeysLayout.java161 private void layoutChildrenOnRow(int startIndex, int endIndex, int fullRowWidth, int xPos, in layoutChildrenOnRow() argument
167 for (int j = startIndex; j < endIndex; ++j) { in layoutChildrenOnRow()
171 if (isRTL() && j == startIndex) { in layoutChildrenOnRow()
/frameworks/native/libs/binder/
DDebug.cpp223 const size_t startIndex = word+(alignment-(alignment?1:0)); in printHexData() local
233 const unsigned char val = *(pos+startIndex-index); in printHexData()
250 const unsigned char val = *(pos+startIndex-index); in printHexData()
/frameworks/base/services/core/java/com/android/server/location/
DGpsXtraDownloader.java84 int startIndex = mNextServerIndex; in downloadXtraData() local
100 if (mNextServerIndex == startIndex) break; in downloadXtraData()
/frameworks/data-binding/compiler/src/main/java/android/databinding/annotationprocessor/
DProcessMethodAdapters.java107 final int startIndex = 1 + (takesComponent ? 1 : 0); in addBindingAdapters() local
109 final int numAdditionalArgs = parameters.size() - startIndex; in addBindingAdapters()
114 for (int i = startIndex; i < numAttributes + startIndex; i++) { in addBindingAdapters()
/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/base/core/java/android/animation/
DPathKeyframes.java99 private PointF interpolateInRange(float fraction, int startIndex, int endIndex) { in interpolateInRange() argument
100 int startBase = (startIndex * NUM_COMPONENTS); in interpolateInRange()
/frameworks/base/tools/aapt2/
DStringPool.cpp298 const size_t startIndex = out->size(); in flatten() local
316 header->stringsStart = beforeStringsIndex - startIndex; in flatten()
360 header->stylesStart = beforeStylesIndex - startIndex; in flatten()
395 header->header.size = out->size() - startIndex; in flatten()

123