Searched refs:startIndex (Results 1 - 25 of 52) sorted by relevance

123

/frameworks/base/core/java/com/android/internal/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/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/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...]
H A DIntRangeManager.java206 for (int startIndex = 0; startIndex < len; startIndex++) {
207 IntRange range = mRanges.get(startIndex);
220 if ((startIndex + 1) < len) {
221 nextRange = mRanges.get(startIndex + 1);
258 mRanges.add(startIndex, new IntRange(startId, endId, client));
275 for (int endIndex = startIndex+1; endIndex < len; endIndex++) {
287 // of the next range to join is always startIndex+1.
290 int joinIndex = startIndex
[all...]
/frameworks/support/v4/donut/android/support/v4/view/animation/
H A DPathInterpolatorDonut.java73 int startIndex = 0;
75 while (endIndex - startIndex > 1) {
76 int midIndex = (startIndex + endIndex) / 2;
80 startIndex = midIndex;
84 final float xRange = mX[endIndex] - mX[startIndex];
86 return mY[startIndex];
89 final float tInRange = t - mX[startIndex];
92 final float startY = mY[startIndex];
/frameworks/base/core/java/com/android/internal/os/
H A DKernelWakelockReader.java114 int startIndex;
121 startIndex = endIndex = i + 1;
126 for (endIndex=startIndex;
141 for (int j = startIndex; j < endIndex; j++) {
144 boolean parsed = Process.parseProcLine(wlBuffer, startIndex, endIndex,
180 new String(wlBuffer, startIndex, endIndex - startIndex));
185 startIndex = endIndex;
/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/base/core/java/android/view/animation/
H A DPathInterpolator.java208 int startIndex = 0;
211 while (endIndex - startIndex > 1) {
212 int midIndex = (startIndex + endIndex) / 2;
216 startIndex = midIndex;
220 float xRange = mX[endIndex] - mX[startIndex];
222 return mY[startIndex];
225 float tInRange = t - mX[startIndex];
228 float startY = mY[startIndex];
/frameworks/base/core/java/com/android/internal/util/
H A DCallbackRegistry.java175 final int startIndex = (remainderIndex + 1) * Long.SIZE;
176 final int endIndex = Math.min(mCallbacks.size(), startIndex + Long.SIZE);
178 notifyCallbacksLocked(sender, arg, arg2, startIndex, endIndex, bits);
183 * Notify callbacks from startIndex to endIndex, using bits as the bit status
185 * mFirst64Removed. bits set to 0 indicates that all callbacks from startIndex to
194 * @param startIndex The index into the mCallbacks to start notifying.
199 private void notifyCallbacksLocked(T sender, int arg, A arg2, final int startIndex, argument
202 for (int i = startIndex; i < endIndex; i++) {
251 * Removes callbacks from startIndex to startIndex
257 removeRemovedCallbacks(int startIndex, long removed) argument
[all...]
/frameworks/data-binding/baseLibrary/src/main/java/android/databinding/
H A DCallbackRegistry.java172 final int startIndex = (remainderIndex + 1) * Long.SIZE;
173 final int endIndex = Math.min(mCallbacks.size(), startIndex + Long.SIZE);
175 notifyCallbacks(sender, arg, arg2, startIndex, endIndex, bits);
180 * Notify callbacks from startIndex to endIndex, using bits as the bit status
182 * mFirst64Removed. bits set to 0 indicates that all callbacks from startIndex to
191 * @param startIndex The index into the mCallbacks to start notifying.
196 private void notifyCallbacks(T sender, int arg, A arg2, final int startIndex, argument
199 for (int i = startIndex; i < endIndex; i++) {
248 * Removes callbacks from startIndex to startIndex
255 removeRemovedCallbacks(int startIndex, long removed) argument
[all...]
/frameworks/av/media/libmedia/
H A DIMediaCodecList.cpp82 const char *type, bool encoder, size_t startIndex = 0) const
84 if (startIndex > INT32_MAX) {
92 data.writeInt32(startIndex);
161 size_t startIndex = static_cast<size_t>(data.readInt32()); local
162 ssize_t index = findCodecByType(type, isEncoder, startIndex);
/frameworks/av/include/media/
H A DIMediaCodecList.h41 const char *type, bool encoder, size_t startIndex = 0) const = 0;
/frameworks/data-binding/prebuilds/1.0-rc0/
H A Ddatabinding-baseLibrary.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/databinding/ android/databinding/Bindable.class Bindable. ...
/frameworks/base/services/core/java/com/android/server/location/
H A DGpsXtraDownloader.java82 int startIndex = mNextServerIndex;
98 if (mNextServerIndex == startIndex) break;
/frameworks/base/services/usage/java/com/android/server/usage/
H A DUsageStatsDatabase.java85 final int startIndex = files.closestIndexOnOrAfter(currentTimeMillis);
86 if (startIndex < 0) {
91 for (int i = startIndex; i < fileCount; i++) {
97 for (int i = startIndex; i < fileCount; i++) {
408 int startIndex = intervalStats.closestIndexOnOrBefore(beginTime);
409 if (startIndex < 0) {
412 startIndex = 0;
438 for (int i = startIndex; i <= endIndex; i++) {
/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/support/v17/leanback/src/android/support/v17/leanback/widget/
H A DGrid.java169 * @param startIndex the index of the first item
171 public void setStart(int startIndex) { argument
172 mStartIndex = startIndex;
/frameworks/data-binding/compiler/src/main/java/android/databinding/annotationprocessor/
H A DProcessMethodAdapters.java100 final int startIndex = 1 + (takesComponent ? 1 : 0);
102 final int numAdditionalArgs = parameters.size() - startIndex;
107 for (int i = startIndex; i < numAttributes + startIndex; i++) {
/frameworks/base/libs/hwui/
H A 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,
/frameworks/base/tools/aapt2/
H A DXmlFlattener.cpp56 const size_t startIndex = mOut->size(); local
62 flatNode->header = { type, sizeof(*flatNode), (uint32_t)(mOut->size() - startIndex) };
94 const size_t startIndex = mOut->size(); variable
100 flatNode->header = { type, sizeof(*flatNode), (uint32_t)(mOut->size() - startIndex) };
107 const size_t startIndex = mOut->size(); variable
127 flatNode->header.size = (uint32_t)(mOut->size() - startIndex);
H A DStringPool.cpp292 const size_t startIndex = out->size(); local
310 header->stringsStart = beforeStringsIndex - startIndex;
347 header->stylesStart = beforeStylesIndex - startIndex;
382 header->header.size = out->size() - startIndex;
/frameworks/av/include/media/stagefright/
H A DMediaCodecList.h43 const char *type, bool encoder, size_t startIndex = 0) const;
/frameworks/opt/calendar/src/com/android/calendarcommon2/
H A DICalendar.java546 int startIndex = -1;
571 startIndex = state.index;
575 if ((parameter == null) || (startIndex == -1)) {
579 parameter.name = text.substring(startIndex + 1, equalIndex);
/frameworks/support/v4/api21/android/support/v4/app/
H A DFragmentTransitionCompat21.java246 final int startIndex = views.size();
247 if (containedBeforeIndex(views, startView, startIndex)) {
251 for (int index = startIndex; index < views.size(); index++) {
258 if (!containedBeforeIndex(views, child, startIndex)) {
/frameworks/data-binding/library/src/main/java/android/databinding/
H A DViewDataBinding.java714 private static boolean isNumeric(String tag, int startIndex) { argument
716 if (length == startIndex) {
719 for (int i = startIndex; i < length; i++) {
733 private static int parseTagInt(String str, int startIndex) { argument
736 for (int i = startIndex; i < end; i++) {

Completed in 617 milliseconds

123