/frameworks/support/design/tests/src/android/support/design/widget/ |
H A D | BottomSheetBehaviorTest.java | 113 * This is like {@link GeneralSwipeAction}, but it does not send ACTION_UP at the end. 124 public DragAction(CoordinatesProvider start, CoordinatesProvider end, argument 127 mEnd = end; 145 float[] end = mEnd.calculateCoordinates(view); 146 float[][] steps = interpolate(start, end, STEPS); 174 private static float[][] interpolate(float[] start, float[] end, int steps) { argument 176 Preconditions.checkElementIndex(1, end.length); 179 res[i - 1][0] = start[0] + (end[0] - start[0]) * (float)i / ((float)steps + 2.0F); 180 res[i - 1][1] = start[1] + (end[1] - start[1]) * (float)i / ((float)steps + 2.0F);
|
/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 private 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/support/v17/leanback/kitkat/android/support/v17/leanback/transition/ |
H A D | SlideKitkat.java | 209 float start, float end, float terminalValue, TimeInterpolator interpolator, 216 final ObjectAnimator anim = ObjectAnimator.ofFloat(view, property, start, end); 218 SlideAnimatorListener listener = new SlideAnimatorListener(view, property, terminalValue, end, 234 float end = mSlideCalculator.getHere(view); 236 return createAnimation(view, mSlideCalculator.getProperty(), start, end, end, sDecelerate, 249 float end = mSlideCalculator.getGone(view); 251 return createAnimation(view, mSlideCalculator.getProperty(), start, end, start, 208 createAnimation(final View view, Property<View, Float> property, float start, float end, float terminalValue, TimeInterpolator interpolator, int finalVisibility) argument
|
/frameworks/support/v7/cardview/src/android/support/v7/widget/ |
H A D | CardView.java | 129 public void setPaddingRelative(int start, int top, int end, int bottom) { argument
|
/frameworks/av/media/img_utils/src/ |
H A D | TiffWriter.cpp | 60 Endianness end) { 62 EndianOutput endOut(out, end); 132 status_t TiffWriter::write(Output* out, Endianness end) { argument 134 EndianOutput endOut(out, end); 59 write(Output* out, StripSource** sources, size_t sourcesCount, Endianness end) argument
|
/frameworks/av/media/libstagefright/rtsp/ |
H A D | APacketSource.cpp | 133 size_t end = (commaPos < 0) ? val.size() : commaPos; local 135 AString nalString(val, start, end - start); 266 char *end; local 267 objectType = strtoul(s, &end, 10); 268 CHECK(end > s && *end == '\0');
|
/frameworks/av/media/libstagefright/wifi-display/source/ |
H A D | Converter.cpp | 131 char *end; local 132 unsigned long x = strtoul(val, &end, 10); 134 if (*end == '\0' && end > val && x > 0) { 281 const uint8_t *end = ptr + accessUnit->size(); local 282 while (ptr < end) {
|
/frameworks/av/services/audioflinger/ |
H A D | test-resample.cpp | 346 timespec start, end; local 354 clock_gettime(CLOCK_MONOTONIC, &end); 356 int64_t end_ns = end.tv_sec * 1000000000LL + end.tv_nsec; 370 clock_gettime(CLOCK_MONOTONIC, &end); 372 end_ns = end.tv_sec * 1000000000LL + end.tv_nsec; 407 timespec start, end; local 416 clock_gettime(CLOCK_MONOTONIC, &end); 418 int64_t end_ns = end [all...] |
/frameworks/base/core/java/android/provider/ |
H A D | Browser.java | 366 * Delete all history items from begin to end. 369 * @param begin First date to remove. If -1, all dates before end. 371 * @param end Last date to remove. If -1, all dates after begin. 376 long begin, long end) { 375 deleteHistoryTimeFrame(ContentResolver cr, long begin, long end) argument
|
/frameworks/base/core/java/android/text/ |
H A D | TextLine.java | 481 // separator and has an associated run, but might be the end of 483 // end of the run list, and runIndex == runs.length. In this case, 504 // need to run this twice, if we cross a run boundary and end up at 544 // We're walking off the end of the line. The paragraph 551 // Else we've arrived at the end of the line. That's a strong position. 557 // we can end up at the 'lineEnd' position but the caret we want is at 571 * off the end of the line, since the returned values might not be valid 589 // Walking off end of line. Since we don't know 634 // the start or end of this span. 682 * @param end th 695 handleText(TextPaint wp, int start, int end, int contextStart, int contextEnd, boolean runIsRtl, Canvas c, float x, int top, int y, int bottom, FontMetricsInt fmi, boolean needWidth, int offset) argument 953 drawTextRun(Canvas c, TextPaint wp, int start, int end, int contextStart, int contextEnd, boolean runIsRtl, float x, int y) argument [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/base/core/java/android/widget/ |
H A D | DayPickerView.java | 360 private int getDiffMonths(Calendar start, Calendar end) { argument 361 final int diffYears = end.get(Calendar.YEAR) - start.get(Calendar.YEAR); 362 return end.get(Calendar.MONTH) - start.get(Calendar.MONTH) + 12 * diffYears;
|
/frameworks/base/core/tests/coretests/src/android/os/storage/ |
H A D | StorageManagerBaseTest.java | 458 * The format of the files are sequential int's, in the range of: [start..end) 463 * @param end The last int + 1 expected to be found in the file 465 protected void doValidateIntContents(String path, String filename, int start, int end) { argument 472 for (int i = start; i < end; ++i) {
|
/frameworks/base/opengl/java/android/opengl/ |
H A D | EGLLogWrapper.java | 53 end(); 70 end(); 85 end(); 100 end(); 116 end(); 132 end(); 145 end(); 157 end(); 171 end(); 185 end(); 407 private void end() { method in class:EGLLogWrapper [all...] |
/frameworks/base/packages/DocumentsUI/tests/src/com/android/documentsui/dirlist/ |
H A D | MultiSelectManagerTest.java | 363 private void assertRangeSelected(int begin, int end) { argument 364 for (int i = begin; i <= end; i++) { 369 private void assertRangeSelection(int begin, int end) { argument 370 assertSelectionSize(end - begin + 1); 371 assertRangeSelected(begin, end);
|
/frameworks/base/services/core/java/com/android/server/ |
H A D | AssetAtlasService.java | 368 int end = MAX_SIZE; 373 for (int i = 0; i < cpuCount; i++, start -= STEP, end -= STEP) { 374 ComputeWorker worker = new ComputeWorker(start, end, step, 638 * @param end The maximum texture width to try 645 ComputeWorker(int start, int end, int step, List<Bitmap> bitmaps, int pixelCount, argument 648 mEnd = end;
|
/frameworks/base/services/core/java/com/android/server/net/ |
H A D | NetworkStatsCollection.java | 174 NetworkTemplate template, int uid, int set, int tag, int fields, long start, long end, 176 return getHistory(template, uid, set, tag, fields, start, end, accessLevel, 185 NetworkTemplate template, int uid, int set, int tag, int fields, long start, long end, 193 mBucketDuration, start == end ? 1 : estimateBuckets(), fields); 196 if (start == end) return combined; 203 combined.recordHistory(value, start, end); 213 public NetworkStats getSummary(NetworkTemplate template, long start, long end, argument 215 return getSummary(template, start, end, accessLevel, Binder.getCallingUid()); 222 public NetworkStats getSummary(NetworkTemplate template, long start, long end, argument 226 final NetworkStats stats = new NetworkStats(end 173 getHistory( NetworkTemplate template, int uid, int set, int tag, int fields, long start, long end, @NetworkStatsAccess.Level int accessLevel) argument 184 getHistory( NetworkTemplate template, int uid, int set, int tag, int fields, long start, long end, @NetworkStatsAccess.Level int accessLevel, int callerUid) argument 264 recordData(NetworkIdentitySet ident, int uid, int set, int tag, long start, long end, NetworkStats.Entry entry) argument 550 dumpCheckin(PrintWriter pw, long start, long end) argument 561 dumpCheckin(PrintWriter pw, long start, long end, NetworkTemplate groupTemplate, String groupPrefix) argument [all...] |
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/base/tools/aapt/ |
H A D | XMLNode.cpp | 105 const char16_t* end = str + str16.size(); local 110 while (p < end) { 114 if (*p == '%' && p + 1 < end) { 138 // Optionally '$' can be specified at the end. 139 if (p < end && *p == '$') { 147 while (p < end && (*p == '-' || 169 if (p < end) { 377 curString.append(pseudo.end()); 1306 "Bad end element %s", name); 1321 "Bad end namespac [all...] |
/frameworks/base/tools/aapt2/ |
H A D | ResourceUtils.cpp | 34 const char16_t* end = start + str.size(); local 36 while (current != end) { 48 outEntry->assign(start, end - start);
|
/frameworks/base/tools/layoutlib/create/src/com/android/tools/layoutlib/create/ |
H A D | AbstractClassAdapter.java | 298 public void visitTryCatchBlock(Label start, Label end, Label handler, String type) { argument 301 super.visitTryCatchBlock(start, end, handler, type); 306 Label start, Label end, int index) { 310 super.visitLocalVariable(name, desc, signature, start, end, index); 305 visitLocalVariable(String name, String desc, String signature, Label start, Label end, int index) argument
|
H A D | DelegateMethodAdapter.java | 368 public void visitTryCatchBlock(Label start, Label end, Label handler, String type) { argument 370 mOrgWriter.visitTryCatchBlock(start, end, handler, type); 425 Label start, Label end, int index) { 427 mOrgWriter.visitLocalVariable(name, desc, signature, start, end, index); 424 visitLocalVariable(String name, String desc, String signature, Label start, Label end, int index) argument
|
H A D | StubMethodAdapter.java | 285 public void visitTryCatchBlock(Label start, Label end, Label handler, String type) { argument 287 mParentVisitor.visitTryCatchBlock(start, end, handler, type); 342 Label start, Label end, int index) { 344 mParentVisitor.visitLocalVariable(name, desc, signature, start, end, index); 341 visitLocalVariable(String name, String desc, String signature, Label start, Label end, int index) argument
|
/frameworks/compile/mclinker/include/mcld/ADT/ |
H A D | BinTree.h | 41 if (m_Stack.empty()) { // reach the end 71 if (m_Queue.empty()) { // reach the end 260 // +---> Root(end) <---+ 285 iterator dEnd = pClient.end(); 412 iterator end() { function in class:mcld::BinaryTree 420 const_iterator end() const { function in class:mcld::BinaryTree
|
/frameworks/compile/mclinker/include/mcld/LD/ |
H A D | EhFrame.h | 119 const_fde_iterator end() const { return m_FDEs.end(); } function in class:mcld::EhFrame::CIE 120 fde_iterator end() { return m_FDEs.end(); } function in class:mcld::EhFrame::CIE 196 const_cie_iterator cie_end() const { return m_CIEs.end(); } 197 cie_iterator cie_end() { return m_CIEs.end(); }
|