HomeSort by relevance Sort by last modified time
    Searched refs:startIndex (Results 1 - 25 of 1012) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /frameworks/base/packages/SystemUI/src/com/android/systemui/recents/misc/
FreePathInterpolator.java 99 int startIndex = 0;
104 return mY[startIndex];
110 while (endIndex - startIndex > 1) {
111 int midIndex = (startIndex + endIndex) / 2;
115 startIndex = midIndex;
119 float xRange = mX[endIndex] - mX[startIndex];
121 return mY[startIndex];
124 float tInRange = t - mX[startIndex];
127 float startY = mY[startIndex];
138 int startIndex = 0
    [all...]
  /libcore/ojluni/src/main/java/sun/misc/
FormattedFloatingDecimal.java 164 int startIndex = isNegative ? 1 : 0;
170 System.arraycopy(digits, 0, mantissa, startIndex, nDigits);
171 Arrays.fill(mantissa, startIndex + nDigits, startIndex + nDigits + extraZeros, '0');
172 mantissa[startIndex + nDigits + extraZeros] = '.';
173 mantissa[startIndex + nDigits + extraZeros+1] = '0';
177 System.arraycopy(digits, 0, mantissa, startIndex, exp);
178 mantissa[startIndex + exp ] = '.';
179 System.arraycopy(digits, exp, mantissa, startIndex+exp+1, t);
182 System.arraycopy(digits, 0, mantissa, startIndex, nDigits)
    [all...]
  /external/apache-xml/src/main/java/org/apache/xpath/functions/
FuncSubstring.java 58 int startIndex;
66 startIndex = 0;
71 startIndex = (start > 0) ? (int) start - 1 : 0;
85 if (startIndex > lenOfS1)
86 startIndex = lenOfS1;
88 substr = s1.substring(startIndex, end);
92 if (startIndex > lenOfS1)
93 startIndex = lenOfS1;
94 substr = s1.substring(startIndex);
  /frameworks/base/core/java/com/android/internal/alsa/
LineTokenizer.java 32 int nextToken(String line, int startIndex) {
34 int offset = startIndex;
45 int nextDelimiter(String line, int startIndex) {
47 int offset = startIndex;
  /external/antlr/antlr-3.4/tool/src/main/java/org/antlr/misc/
Utils.java 63 int startIndex = 0;
66 result.append(src.substring(startIndex,endIndex));
70 startIndex = endIndex + replacee.length();
71 endIndex = src.indexOf(replacee,startIndex);
73 result.append(src.substring(startIndex,src.length()));
  /frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/
ComprehensionTlv.java 84 * @param startIndex Index in data at which to start parsing
88 public static List<ComprehensionTlv> decodeMany(byte[] data, int startIndex)
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)
116 int curIndex = startIndex;
129 ", startIndex=" + startIndex + " curIndex=" + curIndex
    [all...]
  /frameworks/opt/telephony/src/java/com/android/internal/telephony/
WspTypeDecoder.java 213 * @param startIndex The starting position of the "Text-string" in this pdu
219 public boolean decodeTextString(int startIndex) {
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) {
243 int index = startIndex;
    [all...]
  /external/proguard/src/proguard/classfile/util/
ExternalTypeEnumeration.java 81 int startIndex = index;
85 startIndex);
91 startIndex);
98 return descriptor.substring(startIndex, index++).trim();
  /hardware/libhardware/modules/input/evdev/
BitUtils.cpp 47 size_t startIndex = start / 8;
50 ALOGD("startIndex=%d, endIndex=%d", startIndex, endIndex);
52 for (size_t i = startIndex; i < endIndex; ++i) {
60 if (i == startIndex) {
  /frameworks/support/compat/src/main/java/androidx/core/view/animation/
PathInterpolatorApi14.java 73 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];
  /external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime.Tree/
CommonTree.cs 56 protected int startIndex = -1;
74 this.startIndex = node.startIndex;
152 if (startIndex == -1 && token != null) {
155 return startIndex;
158 startIndex = value;
196 if (startIndex < 0 || stopIndex < 0) {
197 startIndex = stopIndex = token.TokenIndex;
204 if (startIndex >= 0 && stopIndex >= 0)
209 startIndex = firstChild.TokenStartIndex
    [all...]
  /external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime/Tree/
CommonTree.cs 56 protected int startIndex = -1;
76 this.startIndex = node.startIndex;
194 if ( startIndex == -1 && Token != null )
197 return startIndex;
202 startIndex = value;
255 if ( startIndex < 0 || stopIndex < 0 )
256 startIndex = stopIndex = Token.TokenIndex;
270 if ( startIndex >= 0 && stopIndex >= 0 )
277 startIndex = firstChild.TokenStartIndex
    [all...]
  /external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/tree/
CommonTree.java 45 protected int startIndex=-1, stopIndex=-1;
58 this.startIndex = node.startIndex;
113 if ( startIndex==-1 && token!=null ) {
116 return startIndex;
120 startIndex = index;
140 if ( startIndex<0 || stopIndex<0 ) {
141 startIndex = stopIndex = token.getTokenIndex();
148 if ( startIndex>=0 && stopIndex>=0 ) return; // already set
152 startIndex = firstChild.getTokenStartIndex()
    [all...]
  /external/apache-commons-math/src/main/java/org/apache/commons/math/util/
ResizableDoubleArray.java 129 * internalArray[startIndex],...,internalArray[startIndex + numElements -1]
132 protected int startIndex = 0;
297 if ((startIndex + numElements) > internalArray.length) {
300 internalArray[startIndex + (numElements - 1)] = value;
314 System.arraycopy(internalArray, startIndex, tempArray, 0, numElements);
317 startIndex = 0;
338 double discarded = internalArray[startIndex];
340 if ((startIndex + (numElements + 1)) > internalArray.length) {
344 startIndex += 1
    [all...]
CompositeFormat.java 118 final int startIndex = pos.getIndex();
119 final int endIndex = startIndex + n;
121 if (source.substring(startIndex, endIndex).compareTo(sb.toString()) == 0) {
142 final int startIndex = pos.getIndex();
147 if (startIndex == endIndex) {
173 final int startIndex = pos.getIndex();
174 final int endIndex = startIndex + expected.length();
175 if ((startIndex >= source.length()) ||
177 (source.substring(startIndex, endIndex).compareTo(expected) != 0)) {
179 pos.setIndex(startIndex);
    [all...]
  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/
GestureTrailDrawingPoints.java 178 int startIndex;
179 for (startIndex = mTrailStartIndex; startIndex < trailSize; startIndex++) {
180 final int elapsedTime = sinceDown - eventTimes[startIndex];
186 mTrailStartIndex = startIndex;
188 if (startIndex < trailSize) {
192 int p1x = getXCoordValue(xCoords[startIndex]);
193 int p1y = yCoords[startIndex];
194 final int lastTime = sinceDown - eventTimes[startIndex];
    [all...]
  /external/jsilver/src/com/google/streamhtmlparser/util/
JavascriptTokenBuffer.java 58 private int startIndex;
69 startIndex = 0;
82 startIndex = aJavascriptTokenBuffer.startIndex;
117 if (endIndex == startIndex) {
118 startIndex = (endIndex + 1) % buffer.length;
129 if (startIndex == endIndex) {
250 int len = endIndex - startIndex;
  /packages/apps/Dialer/java/com/android/dialer/compat/
PathInterpolatorCompat.java 95 int startIndex = 0;
97 while (endIndex - startIndex > 1) {
98 int midIndex = (startIndex + endIndex) / 2;
102 startIndex = midIndex;
106 final float xRange = x[endIndex] - x[startIndex];
108 return y[startIndex];
111 final float tInRange = t - x[startIndex];
114 final float startY = y[startIndex];
  /packages/apps/PhoneCommon/src/com/android/phone/common/compat/
PathInterpolatorCompat.java 80 int startIndex = 0;
82 while (endIndex - startIndex > 1) {
83 int midIndex = (startIndex + endIndex) / 2;
87 startIndex = midIndex;
91 final float xRange = mX[endIndex] - mX[startIndex];
93 return mY[startIndex];
96 final float tInRange = t - mX[startIndex];
99 final float startY = mY[startIndex];
  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
ContactsDictionaryUtils.java 29 * Returns the index of the last letter in the word, starting from position startIndex.
32 final int startIndex) {
35 for (end = startIndex + 1; end < len; end += Character.charCount(cp)) {
  /external/icu/icu4c/source/tools/toolutil/
collationinfo.h 36 static int32_t getDataLength(const int32_t indexes[], int32_t startIndex);
  /packages/apps/Contacts/src/com/android/contacts/util/
SearchUtil.java 28 public int startIndex = -1;
35 ", startIndex=" + startIndex +
46 * @return A MatchedLine object containing the matching line and the startIndex of the substring
72 matched.startIndex = index - (start + 1);
131 * @param startIndex The index to start searching. 0 based indexing.
135 static int findNextTokenStart(String line, int startIndex) {
136 int index = startIndex;
  /external/antlr/antlr-3.4/runtime/ObjC/ANTLR.framework/Headers/
ANTLRBufferedTokenStream.h 81 - (NSMutableArray *)getFrom:(NSInteger)startIndex To:(NSInteger) stopIndex;
90 - (NSMutableArray *)getTokensFrom:(NSInteger)startIndex To:(NSInteger)stopIndex;
91 - (NSMutableArray *)getTokensFrom:(NSInteger)startIndex To:(NSInteger)stopIndex With:(ANTLRBitSet *)types;
92 - (NSMutableArray *)getTokensFrom:(NSInteger)startIndex To:(NSInteger)stopIndex WithList:(NSMutableArray *)types;
93 - (NSMutableArray *)getTokensFrom:(NSInteger)startIndex To:(NSInteger)stopIndex WithType:(NSInteger)ttype;
94 - (NSString *) toStringFromStart:(NSInteger)startIndex ToEnd:(NSInteger)stopIndex;
95 - (NSString *) toStringFromToken:(id<ANTLRToken>)startIndex ToToken:(id<ANTLRToken>)stopIndex;
  /external/antlr/antlr-3.4/runtime/ObjC/ANTLR.framework/Versions/A/Headers/
ANTLRBufferedTokenStream.h 81 - (NSMutableArray *)getFrom:(NSInteger)startIndex To:(NSInteger) stopIndex;
90 - (NSMutableArray *)getTokensFrom:(NSInteger)startIndex To:(NSInteger)stopIndex;
91 - (NSMutableArray *)getTokensFrom:(NSInteger)startIndex To:(NSInteger)stopIndex With:(ANTLRBitSet *)types;
92 - (NSMutableArray *)getTokensFrom:(NSInteger)startIndex To:(NSInteger)stopIndex WithList:(NSMutableArray *)types;
93 - (NSMutableArray *)getTokensFrom:(NSInteger)startIndex To:(NSInteger)stopIndex WithType:(NSInteger)ttype;
94 - (NSString *) toStringFromStart:(NSInteger)startIndex ToEnd:(NSInteger)stopIndex;
95 - (NSString *) toStringFromToken:(id<ANTLRToken>)startIndex ToToken:(id<ANTLRToken>)stopIndex;
  /external/antlr/antlr-3.4/runtime/ObjC/ANTLR.framework/Versions/Current/Headers/
ANTLRBufferedTokenStream.h 81 - (NSMutableArray *)getFrom:(NSInteger)startIndex To:(NSInteger) stopIndex;
90 - (NSMutableArray *)getTokensFrom:(NSInteger)startIndex To:(NSInteger)stopIndex;
91 - (NSMutableArray *)getTokensFrom:(NSInteger)startIndex To:(NSInteger)stopIndex With:(ANTLRBitSet *)types;
92 - (NSMutableArray *)getTokensFrom:(NSInteger)startIndex To:(NSInteger)stopIndex WithList:(NSMutableArray *)types;
93 - (NSMutableArray *)getTokensFrom:(NSInteger)startIndex To:(NSInteger)stopIndex WithType:(NSInteger)ttype;
94 - (NSString *) toStringFromStart:(NSInteger)startIndex ToEnd:(NSInteger)stopIndex;
95 - (NSString *) toStringFromToken:(id<ANTLRToken>)startIndex ToToken:(id<ANTLRToken>)stopIndex;

Completed in 863 milliseconds

1 2 3 4 5 6 7 8 91011>>