/frameworks/rs/cpu_ref/ |
H A D | rsCpuCore.cpp | 161 if (mtls && mtls->dimPtr->y <= 1 && mtls->end.x <= mtls->start.x + mtls->mSliceSize) { 175 // We use the calling thread as one of the workers so we can start without 338 // x, y, z, lod, face, a1, a2, a3, a4 - The start offsets into each dimension 356 // x, y, z - The start offsets into each dimension 364 static uint32_t sliceInt(uint32_t *p, uint32_t val, uint32_t start, uint32_t end) { argument 365 if (start >= end) { 366 *p = start; 370 uint32_t div = end - start; 373 *p = (val - (n * div)) + start; 379 r = sliceInt(&info->current.z, r, mtls->start [all...] |
/frameworks/base/core/java/com/android/internal/os/ |
H A D | SamplingProfilerIntegration.java | 99 public static void start() { method in class:SamplingProfilerIntegration 111 samplingProfiler.start(samplingProfilerMilliseconds); 169 * We use the global start time combined with the process name 176 long start = System.currentTimeMillis(); 196 long elapsed = System.currentTimeMillis() - start; 198 samplingProfiler.start(samplingProfilerMilliseconds);
|
/frameworks/base/libs/hwui/tests/common/ |
H A D | TestUtils.cpp | 26 SkColor TestUtils::interpolateColor(float fraction, SkColor start, SkColor end) { argument 27 int startA = (start >> 24) & 0xff; 28 int startR = (start >> 16) & 0xff; 29 int startG = (start >> 8) & 0xff; 30 int startB = start & 0xff;
|
/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 68 if (start != null) start = TintedDrawable.wrap(start.mutate()); 72 super.setCompoundDrawablesRelative(start, top, end, bottom); 103 drawables[4] = compoundDrawablesRelative[0]; // start
|
/frameworks/support/v4/java/android/support/v4/util/ |
H A D | TimeUtils.java | 135 int start = pos; 138 pos = printField(formatStr, hours, 'h', pos, pos != start, zeropad ? 2 : 0); 139 pos = printField(formatStr, minutes, 'm', pos, pos != start, zeropad ? 2 : 0); 140 pos = printField(formatStr, seconds, 's', pos, pos != start, zeropad ? 2 : 0); 141 pos = printField(formatStr, millis, 'm', pos, true, (zeropad && pos != start) ? 3 : 0);
|
/frameworks/base/core/tests/coretests/src/android/animation/ |
H A D | ValueAnimatorTests.java | 84 a.start(); 127 a1.start(); 128 a2.start(); 150 // Make sure a2's start listener isn't called during start delay. 191 a1.start(); 192 a2.start(); 242 a1.start(); 243 a2.start(); 318 a1.start(); [all...] |
H A D | EventsTest.java | 278 mAnimator.start(); 301 mAnimator.start(); 324 mAnimator.start(); 347 mAnimator.start(); 371 mAnimator.start(); 394 mAnimator.start(); 418 mAnimator.start(); 442 mAnimator.start(); 465 // with the start event. 469 mAnimator.start(); [all...] |
H A D | ViewPropertyAnimatorTest.java | 211 mAnimator.start(); 234 mAnimator.start(); 258 mAnimator.start(); 282 mAnimator.start(); 305 // with the start event. 309 mAnimator.start(); 331 mAnimator.start(); 355 mAnimator.start();
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/net/ |
H A D | DataUsageController.java | 132 final long start, end; 143 start = policyTime.toMillis(false); 146 start = addMonth(policyTime, -1).toMillis(false); 152 start = now - DateUtils.WEEK_IN_MILLIS * 4; 155 final NetworkStatsHistory.Entry entry = history.getValues(start, end, now, null); 158 new Date(start), new Date(end), new Date(now), callEnd - callStart, 165 usage.startDate = start; 167 usage.period = formatDateRange(start, end); 235 private String formatDateRange(long start, long end) { argument 239 return DateUtils.formatDateRange(mContext, PERIOD_FORMATTER, start, en [all...] |
/frameworks/support/graphics/drawable/static/src/android/support/graphics/drawable/ |
H A D | PathParser.java | 30 * Copies elements from {@code original} into a new array, from indexes start (inclusive) to 36 * @param start the start index, inclusive 39 * @throws ArrayIndexOutOfBoundsException if {@code start < 0 || start > original.length} 40 * @throws IllegalArgumentException if {@code start > end} 43 private static float[] copyOfRange(float[] original, int start, int end) { argument 44 if (start > end) { 48 if (start < 0 || start > originalLengt 241 extract(String s, int start, ExtractFloatResult result) argument 680 arcToBezier(Path p, double cx, double cy, double a, double b, double e1x, double e1y, double theta, double start, double sweep) argument [all...] |
/frameworks/av/cmds/screenrecord/ |
H A D | TextRenderer.cpp | 46 // Generate a table of X offsets. They start at zero and reset whenever 287 char* start = mangle; 288 while (start != NULL) { 289 float xposAdj = (start == mangle) ? xpos : xpos + indentWidth; 290 char* brk = breakString(start, 295 String8(start)); 296 start = NULL; 302 String8(start)); 304 start = brk; 307 start [all...] |
/frameworks/av/media/libstagefright/foundation/ |
H A D | AString.cpp | 156 void AString::erase(size_t start, size_t n) { argument 157 CHECK_LT(start, mSize); 158 CHECK_LE(start + n, mSize); 162 memmove(&mData[start], &mData[start + n], mSize - start - n); 262 ssize_t AString::find(const char *substring, size_t start) const { 263 CHECK_LE(start, size()); 265 const char *match = strstr(mData + start, substring);
|
/frameworks/base/core/java/android/text/ |
H A D | BoringLayout.java | 256 for (int start = 0; start < textLength; start += MAX_BUF_LEN) { 257 final int end = Math.min(start + MAX_BUF_LEN, textLength); 261 TextUtils.getChars(text, start, end, buffer, 0); 263 final int len = end - start; 414 public void ellipsized(int start, int end) { argument 415 mEllipsizedStart = start; 416 mEllipsizedCount = end - start;
|
H A D | MeasuredText.java | 100 void setPara(CharSequence text, int start, int end, TextDirectionHeuristic textDir, argument 104 mTextStart = start; 106 int len = end - start; 116 TextUtils.getChars(text, start, end, mChars, 0); 120 ReplacementSpan[] spans = spanned.getSpans(start, end, 124 int startInPara = spanned.getSpanStart(spans[i]) - start; 125 int endInPara = spanned.getSpanEnd(spans[i]) - start; 126 // The span interval may be larger and must be restricted to [start, end[ 287 float measure(int start, int limit) { argument 290 for (int i = start; [all...] |
/frameworks/base/core/java/android/text/method/ |
H A D | QwertyKeyListener.java | 137 int start; 140 start = selEnd; 142 while (start > 0 && selEnd - start < 4 && 143 Character.digit(content.charAt(start - 1), 16) >= 0) { 144 start--; 147 start = selStart; 152 String hex = TextUtils.substring(content, start, selEnd); 157 selStart = start; 360 private String getReplacement(CharSequence src, int start, in argument 416 markAsReplaced(Spannable content, int start, int end, String original) argument [all...] |
H A D | BaseKeyListener.java | 97 final int start = ((Spanned) text).getSpanStart(spans[i]); 100 if (start < offset && end > offset) { 101 offset = moveToStart ? start : end; 107 // Returns the start offset to be deleted by a backspace key from the given offset. 278 return adjustReplacementSpan(text, offset - deleteCharCount, true /* move to the start */); 327 final int start = Selection.getSelectionEnd(content); 341 end = getOffsetForForwardDeleteKey(content, start, paint); 343 end = getOffsetForBackspaceKey(content, start); 345 if (start != end) { 346 content.delete(Math.min(start, en [all...] |
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/ |
H A D | MediaPlayerStateUnitTestTemplate.java | 147 }.start(); 212 mMediaPlayer.start(); 226 mMediaPlayer.start(); 238 mMediaPlayer.start(); 243 // player state to Paused; if we call start() right after pause() 244 // without waiting, start() may fail. 251 mMediaPlayer.start(); 263 mMediaPlayer.start(); 276 mMediaPlayer.start(); 290 mMediaPlayer.start(); [all...] |
/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); 72 struct timeval mTimeStart; // Time at the start 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); 79 struct timeval mTimeStart; // Time at the start of decode()
|
/frameworks/base/core/java/android/hardware/usb/ |
H A D | UsbDeviceConnection.java | 245 private static void checkBounds(byte[] buffer, int start, int length) { argument 247 if (start < 0 || start + length > bufferLength) { 248 throw new IllegalArgumentException("Buffer start or length out of bounds.");
|
/frameworks/base/core/java/android/transition/ |
H A D | Recolor.java | 91 int start = (Integer) startValues.values.get(PROPNAME_TEXT_COLOR); 93 if (start != end) { 96 return ObjectAnimator.ofArgb(textView, "textColor", start, end);
|
/frameworks/base/core/java/com/android/internal/policy/ |
H A D | DockedDividerUtils.java | 101 int start = isHorizontalDivision ? insets.top : insets.left; 105 return start + (end - start) / 2 - dividerSize / 2;
|
/frameworks/base/media/mca/filterfw/java/android/filterfw/io/ |
H A D | PatternScanner.java | 59 result = mInput.substring(matcher.start(), matcher.end()); 115 public void updateLineCount(int start, int end) { argument 116 for (int i = start; i < end; ++i) {
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
H A D | SystemBars.java | 48 public void start() { method in class:SystemBars 49 if (DEBUG) Log.d(TAG, "start"); 52 mServiceMonitor.start(); // will call onNoService if no remote service is found 106 mStatusBar.start();
|
/frameworks/minikin/libs/minikin/ |
H A D | LineBreaker.cpp | 124 FontStyle style, size_t start, size_t end, bool isRtl) { 130 width = Layout::measureText(mTextBuf.data(), start, end - start, mTextBuf.size(), bidiFlags, 131 style, *paint, typeface, mCharWidths.data() + start); 143 size_t afterWord = start; 144 size_t lastBreak = start; 148 for (size_t i = start; i < end; i++) { 173 wordStart >= start && wordEnd > wordStart && 297 void LineBreaker::addReplacement(size_t start, size_t end, float width) { argument 298 mCharWidths[start] 123 addStyleRun(MinikinPaint* paint, const FontCollection* typeface, FontStyle style, size_t start, size_t end, bool isRtl) argument [all...] |