/frameworks/compile/mclinker/lib/LD/ |
H A D | GroupReader.cpp | 114 ArchiveListType::iterator end = ar_list.end(); local 118 for (it = ar_list.begin(); it != end; ++it) { 130 for (it = ar_list.begin(); it != end; ++it) { 139 for (it = ar_list.begin(); it != end; ++it) {
|
H A D | BranchIslandFactory.cpp | 41 for (Module::iterator sect = pModule.begin(), sectEnd = pModule.end(); 46 for (SectionData::iterator it = sd.begin(), ie = sd.end(); it != ie; 81 for (iterator it = begin(), ie = end(), prev = ie; it != ie;
|
H A D | StubFactory.cpp | 28 for (StubPoolType::iterator it = m_StubPool.begin(), ie = m_StubPool.end(); 113 ie = m_StubPool.end(); it != ie; ++it) { 122 ie = m_StubPool.end(); it != ie; ++it) {
|
/frameworks/compile/mclinker/lib/Support/ |
H A D | Directory.cpp | 120 return end(); 127 Directory::iterator Directory::end() { function in class:mcld::sys::fs::Directory 128 return iterator(0, m_Cache.end()); 182 if (m_pParent->m_Cache.end() == m_Iter) { 203 if (m_pParent->m_Cache.end() == m_Iter) {
|
/frameworks/opt/setupwizard/library/eclair-mr1/src/com/android/setupwizardlib/view/ |
H A D | NavigationBarButton.java | 66 public void setCompoundDrawablesRelative(Drawable start, Drawable top, Drawable end, argument 70 if (end != null) end = TintedDrawable.wrap(end); 72 super.setCompoundDrawablesRelative(start, top, end, bottom); 104 drawables[5] = compoundDrawablesRelative[2]; // end
|
/frameworks/support/compat/java/android/support/v4/util/ |
H A D | CircularArray.java | 90 * Add an element at end of the CircularArray. 117 * Remove last element from end of the CircularArray and return it. 153 int end = mElements.length; 154 if (numOfElements < end - mHead) { 155 end = mHead + numOfElements; 157 for (int i = mHead; i < end; i++) { 160 int removed = (end - mHead); 173 * Remove multiple elements from end of the CircularArray, ignore when numOfElements
|
/frameworks/base/core/java/com/android/internal/util/ |
H A D | FastPrintWriter.java | 294 final int end = i + length; 295 while (i < end) { 297 appendLocked(str, i, next < end ? BUFFER_LEN : (end - i)); 314 final int end = i + length; 315 while (i < end) { 317 appendLocked(buf, i, next < end ? BUFFER_LEN : (end - i)); 659 * PrintWriter.print(csq.subsequence(start, end).toString())}. If {@code 668 * @param end 678 append(CharSequence csq, int start, int end) argument [all...] |
H A D | FastXmlSerializer.java | 83 final int end = i + length; 84 while (i < end) { 86 append(str, i, next<end ? BUFFER_LEN : (end-i)); 102 final int end = i + length; 103 while (i < end) { 105 append(buf, i, next<end ? BUFFER_LEN : (end-i)); 152 int end = start+len; 155 for (pos=start; pos<end; po [all...] |
/frameworks/base/core/java/android/view/inputmethod/ |
H A D | BaseInputConnection.java | 96 public static void setComposingSpans(Spannable text, int start, int end) { argument 97 final Object[] sps = text.getSpans(start, end, Object.class); 117 text.setSpan(COMPOSING, start, end, 213 * the end of the text, then this method does not fail but deletes all the characters in 258 int end = b + afterLength; 259 if (end > content.length()) end = content.length(); 261 content.delete(b, end); 336 return N; // Reached to the end of the text w/o any invalid surrogate pair. 370 * the end o 621 setComposingRegion(int start, int end) argument 662 setSelection(int start, int end) argument [all...] |
/frameworks/native/libs/input/ |
H A D | KeyLayoutMap.cpp | 229 ALOGE("%s: Expected end of line or trailing comment, got '%s'.", 250 char* end; local 251 int32_t code = int32_t(strtol(codeToken.string(), &end, 0)); 252 if (*end) { 306 char* end; local 307 int32_t scanCode = int32_t(strtol(scanCodeToken.string(), &end, 0)); 308 if (*end) { 339 axisInfo.splitValue = int32_t(strtol(splitToken.string(), &end, 0)); 340 if (*end) { 381 axisInfo.flatOverride = int32_t(strtol(flatToken.string(), &end, 413 char* end; local [all...] |
H A D | VirtualKeyMap.cpp | 134 ALOGE("%s: Expected end of line, got '%s'.", 163 char* end; local 164 *outValue = strtol(token.string(), &end, 0); 165 if (token.isEmpty() || *end != '\0') {
|
/frameworks/base/core/jni/ |
H A D | android_text_StaticLayout.cpp | 156 jlong nativePaint, jlong nativeTypeface, jint start, jint end, jboolean isRtl) { 163 return b->addStyleRun(&minikinPaint, font, style, start, end, isRtl); 168 jint start, jint end, jfloatArray widths) { 170 env->GetFloatArrayRegion(widths, start, end - start, b->charWidths() + start); 171 b->addStyleRun(nullptr, nullptr, FontStyle{}, start, end, false); 175 jint start, jint end, jfloat width) { 177 b->addReplacement(start, end, width); 155 nAddStyleRun(JNIEnv* env, jclass, jlong nativePtr, jlong nativePaint, jlong nativeTypeface, jint start, jint end, jboolean isRtl) argument 167 nAddMeasuredRun(JNIEnv* env, jclass, jlong nativePtr, jint start, jint end, jfloatArray widths) argument 174 nAddReplacementRun(JNIEnv* env, jclass, jlong nativePtr, jint start, jint end, jfloat width) argument
|
/frameworks/data-binding/compilerCommon/src/main/java/android/databinding/tool/store/ |
H A D | Location.java | 37 * Both start and end line/column indices are inclusive. 65 public Location(Token start, Token end) { argument 73 if (end == null) { 76 endLine = end.getLine() - 1; // token lines start from 1 77 String endText = end.getText(); 80 endOffset = end.getCharPositionInLine() + lastLine.length() - 1;//end is inclusive 204 String end = str.substring(glue + 1); 211 parsePoint(end, point);
|
/frameworks/support/transition/ics/android/support/transition/ |
H A D | TransitionPort.java | 82 // determined by calls to start() and end() 168 * possible target views, is called with the entire set of start/end 171 * with each set of start/end values on this transition. The 198 // Remove from the end set as we go 203 TransitionValues end = null; 213 end = endValues.viewValues.get(view); 216 end = endValues.idValues.get(id); 230 endValuesList.add(end); 241 endValuesList.add(end); 250 TransitionValues end 989 protected void end() { method in class:TransitionPort [all...] |
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/ |
H A D | StreamingTextView.java | 193 int wordEnd = textStart + m.end(); 203 int end = textStart + text.length(); 204 displayText.setSpan(span, start, end, Spanned.SPAN_EXCLUSIVE_EXCLUSIVE); 208 * Sets the final, non changing, full text result. This should only happen at the very end of 244 public void draw(Canvas canvas, CharSequence text, int start, int end, argument 247 int width = (int) paint.measureText(text, start, end); 279 public int getSize(Paint paint, CharSequence text, int start, int end, argument 281 return (int) paint.measureText(text, start, end);
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/net/ |
H A D | DataUsageController.java | 142 final long start, end; 154 end = addMonth(policyTime, 1).toMillis(false); 157 end = policyTime.toMillis(false); 161 end = now; 165 final NetworkStatsHistory.Entry entry = history.getValues(start, end, now, null); 168 new Date(start), new Date(end), new Date(now), callEnd - callStart, 177 usage.period = formatDateRange(start, end); 245 private String formatDateRange(long start, long end) { argument 249 return DateUtils.formatDateRange(mContext, PERIOD_FORMATTER, start, end, flags, null)
|
/frameworks/av/media/libmedia/ |
H A D | Metadata.cpp | 73 const size_t end = mData->dataPosition(); local 76 mData->writeInt32(end - mBegin); 77 mData->setDataPosition(end);
|
/frameworks/av/media/libstagefright/codecs/avcdec/ |
H A D | SoftAVCDec.h | 47 /** Compute difference between start and end */ 48 #define TIME_DIFF(start, end, diff) \ 49 diff = ((end.tv_sec - start.tv_sec) * 1000000) + \ 50 (end.tv_usec - start.tv_usec); 74 struct timeval mTimeEnd; // Time at the end of decode()
|
/frameworks/av/media/libstagefright/codecs/mpeg2dec/ |
H A D | SoftMPEG2.h | 50 /** Compute difference between start and end */ 51 #define TIME_DIFF(start, end, diff) \ 52 diff = ((end.tv_sec - start.tv_sec) * 1000000) + \ 53 (end.tv_usec - start.tv_usec); 81 struct timeval mTimeEnd; // Time at the end of decode()
|
/frameworks/base/core/java/android/text/method/ |
H A D | BaseKeyListener.java | 98 final int end = ((Spanned) text).getSpanEnd(spans[i]); 100 if (start < offset && end > offset) { 101 offset = moveToStart ? start : end; 282 // Returns the end offset to be deleted by a forward delete key from the given offset. 293 return adjustReplacementSpan(text, offset, false /* move to the end */); 329 final int end; 342 end = getOffsetForForwardDeleteKey(content, start, paint); 344 end = getOffsetForBackspaceKey(content, start); 346 if (start != end) { 347 content.delete(Math.min(start, end), Mat [all...] |
/frameworks/base/services/core/java/com/android/server/net/ |
H A D | NetworkStatsRecorder.java | 174 public NetworkStatsCollection getOrLoadPartialLocked(long start, long end) { argument 178 res = loadLocked(start, end); 183 private NetworkStatsCollection loadLocked(long start, long end) { argument 187 mRotator.readMatching(res, start, end); 227 final long end = currentTimeMillis; 228 final long start = end - delta.getElapsedRealtime(); 251 mPending.recordData(ident, entry.uid, entry.set, entry.tag, start, end, entry); 256 mSinceBoot.recordData(ident, entry.uid, entry.set, entry.tag, start, end, entry); 261 complete.recordData(ident, entry.uid, entry.set, entry.tag, start, end, entry); 429 // using end tim 468 dumpCheckin(PrintWriter pw, long start, long end) argument [all...] |
/frameworks/support/design/base/android/support/design/widget/ |
H A D | ValueAnimatorCompat.java | 40 * Notifications indicate animation related events, such as the end or the 51 * <p>Notifies the end of the animation. This callback is not invoked 54 * @param animator The animation which reached its end. 108 abstract void end(); method in class:ValueAnimatorCompat.Impl 194 public void end() { method in class:ValueAnimatorCompat 195 mImpl.end();
|
/frameworks/data-binding/compilerCommon/src/main/java/android/databinding/tool/util/ |
H A D | XmlEditor.java | 239 private static boolean replace(ArrayList<String> lines, Position start, Position end, argument 242 fixPosition(lines, end); 243 if (start.line != end.line) { 247 for (int i = start.line + 1; i < end.line; i++) { 251 String endLine = lines.get(end.line); 252 String newEndLine = replaceWithSpaces(endLine, 0, end.charIndex - 1); 253 lines.set(end.line, newEndLine); 255 } else if (end.charIndex - start.charIndex >= text.length()) { 259 String spacedText = replaceWithSpaces(replacedText, endTextIndex, end.charIndex - 1); 264 String newLine = replaceWithSpaces(line, start.charIndex, end 270 replaceRange(String line, int start, int end, String newText) argument 388 replaceWithSpaces(String line, int start, int end) argument [all...] |
/frameworks/support/graphics/drawable/static/src/android/support/graphics/drawable/ |
H A D | PathParser.java | 31 * end (exclusive). The original order of elements is preserved. 32 * If {@code end} is greater than {@code original.length}, the result is padded 37 * @param end the end index, exclusive 40 * @throws IllegalArgumentException if {@code start > end} 43 static float[] copyOfRange(float[] original, int start, int end) { argument 44 if (start > end) { 51 int resultLength = end - start; 85 int end = 1; 88 while (end < pathDat 159 nextStart(String s, int end) argument [all...] |
/frameworks/rs/cpu_ref/ |
H A D | rsCpuCore.cpp | 161 if (mtls && mtls->dimPtr->y <= 1 && mtls->end.x <= mtls->start.x + mtls->mSliceSize) { 364 static uint32_t sliceInt(uint32_t *p, uint32_t val, uint32_t start, uint32_t end) { argument 365 if (start >= end) { 370 uint32_t div = end - start; 379 r = sliceInt(&info->current.z, r, mtls->start.z, mtls->end.z); 380 r = sliceInt(&info->current.lod, r, mtls->start.lod, mtls->end.lod); 381 r = sliceInt(&info->current.face, r, mtls->start.face, mtls->end.face); 382 r = sliceInt(&info->current.array[0], r, mtls->start.array[0], mtls->end.array[0]); 383 r = sliceInt(&info->current.array[1], r, mtls->start.array[1], mtls->end.array[1]); 384 r = sliceInt(&info->current.array[2], r, mtls->start.array[2], mtls->end [all...] |