/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...] |
/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/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);
|
/external/libgdx/extensions/gdx-bullet/jni/src/bullet/BulletCollision/Gimpact/ |
gim_box_set.cpp | 36 gim_array<GIM_AABB_DATA> & primitive_boxes, GUINT startIndex, GUINT endIndex) 42 GUINT numIndices = endIndex-startIndex; 44 for (i=startIndex;i<endIndex;i++) 52 for (i=startIndex;i<endIndex;i++) 67 gim_array<GIM_AABB_DATA> & primitive_boxes, GUINT startIndex, 71 GUINT splitIndex =startIndex; 72 GUINT numIndices = endIndex - startIndex; 76 for (i=startIndex;i<endIndex;i++) 84 for (i=startIndex;i<endIndex;i++) 96 //if the splitIndex causes unbalanced trees, fix this by using the center in between startIndex and endInde [all...] |
btGImpactBvh.cpp | 68 GIM_BVH_DATA_ARRAY & primitive_boxes, int startIndex, int endIndex) 75 int numIndices = endIndex-startIndex; 77 for (i=startIndex;i<endIndex;i++) 85 for (i=startIndex;i<endIndex;i++) 100 GIM_BVH_DATA_ARRAY & primitive_boxes, int startIndex, 104 int splitIndex =startIndex; 105 int numIndices = endIndex - startIndex; 111 for (i=startIndex;i<endIndex;i++) 123 for (i=startIndex;i<endIndex;i++) 136 //if the splitIndex causes unbalanced trees, fix this by using the center in between startIndex and endInde [all...] |
btGImpactQuantizedBvh.cpp | 89 GIM_BVH_DATA_ARRAY & primitive_boxes, int startIndex, int endIndex) 96 int numIndices = endIndex-startIndex; 98 for (i=startIndex;i<endIndex;i++) 106 for (i=startIndex;i<endIndex;i++) 121 GIM_BVH_DATA_ARRAY & primitive_boxes, int startIndex, 125 int splitIndex =startIndex; 126 int numIndices = endIndex - startIndex; 132 for (i=startIndex;i<endIndex;i++) 144 for (i=startIndex;i<endIndex;i++) 157 //if the splitIndex causes unbalanced trees, fix this by using the center in between startIndex and endInde [all...] |
/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()));
|
/external/libgdx/extensions/gdx-jnigen/src/com/badlogic/gdx/jnigen/parsing/ |
CMethodParser.java | 40 final int startIndex;
43 public CMethod (String returnType, String head, String[] argumentTypes, int startIndex, int endIndex) {
47 this.startIndex = startIndex;
68 return startIndex;
|
JavaMethodParser.java | 32 private final int startIndex;
35 public JniSection (String nativeCode, int startIndex, int endIndex) {
37 this.startIndex = startIndex;
50 return startIndex;
59 return "JniSection [nativeCode=" + nativeCode + ", startIndex=" + startIndex + ", endIndex=" + endIndex + "]";
160 private final int startIndex;
164 ArrayList<Argument> arguments, int startIndex, int endIndex) {
171 this.startIndex = startIndex; [all...] |
/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/gingerbread/android/support/v4/view/animation/ |
PathInterpolatorGingerbread.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;
|
/external/skia/src/gpu/ |
GrBatchFlushState.cpp | 28 const GrIndexBuffer** buffer, int* startIndex) { 29 return reinterpret_cast<uint16_t*>(fIndexPool.makeSpace(indexCount, buffer, 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 | 34 static int32_t getDataLength(const int32_t indexes[], int32_t startIndex);
|