Searched defs:start (Results 276 - 300 of 627) sorted by relevance

<<11121314151617181920>>

/frameworks/base/core/tests/coretests/src/android/net/
H A DNetworkStatsHistoryTest.java318 final long start = r.nextLong();
319 final long end = start + r.nextInt();
325 stats.recordData(start, end, entry);
521 NetworkStatsHistory stats, long start, long end, long rxBytes, long txBytes) {
522 final NetworkStatsHistory.Entry entry = stats.getValues(start, end, null);
544 private static void assertValues(NetworkStatsHistory stats, long start, long end, argument
547 final NetworkStatsHistory.Entry entry = stats.getValues(start, end, null);
520 assertValues( NetworkStatsHistory stats, long start, long end, long rxBytes, long txBytes) argument
/frameworks/base/core/tests/coretests/src/android/text/
H A DTextUtilsTest.java137 /** Fail unless text+spans contains a span 'spanName' with the given start and end. */
139 int start, int end) throws Exception {
142 assertEquals(start, text.getSpanStart(i));
420 public CharSequence subSequence(int start, int end) { argument
421 return new Wrapper(mString.subSequence(start, end));
500 public <T> T[] getSpans(int start, int end, Class<T> type) { argument
520 public int nextSpanTransition(int start, int limit, Class type) { argument
138 checkContains(Spanned text, String[] spans, String spanName, int start, int end) argument
/frameworks/base/core/tests/coretests/src/android/widget/espresso/
H A DDragAction.java352 private static float[][] interpolate(float[] start, float[] end) { argument
356 res[i][0] = start[0] + (end[0] - start[0]) * i / (DRAG_STEP_COUNT - 1f);
357 res[i][1] = start[1] + (end[1] - start[1]) * i / (DRAG_STEP_COUNT - 1f);
/frameworks/base/graphics/java/android/graphics/drawable/
H A DAnimatedRotateDrawable.java82 public void start() { method in class:AnimatedRotateDrawable
92 * @see #start()
H A DAnimationDrawable.java39 * the background to a View object. Then, call {@link #start()} to run the
71 * frameAnimation.start();
152 public void start() { method in class:AnimationDrawable
167 * @see #start()
191 * called directly. Invoke {@link #start()} instead.
193 * @see #start()
H A DRippleComponent.java105 mSoftwareAnimator.start();
117 // next frame. We'll start the render thread animation then.
124 mSoftwareAnimator.start();
200 mHardwareAnimator.start(hw);
307 public void start(DisplayListCanvas target) { method in class:RippleComponent.RenderNodeAnimatorSet
317 anim.start();
/frameworks/base/keystore/tests/src/android/security/keystore/
H A DAndroidKeyPairGeneratorTest.java331 AlgorithmParameterSpec spec, X500Principal dn, BigInteger serial, Date start, Date end)
400 assertDateEquals("The notBefore date should be the one passed into the params", start,
330 assertKeyPairCorrect(KeyPair pair, String alias, String keyType, int keySize, AlgorithmParameterSpec spec, X500Principal dn, BigInteger serial, Date start, Date end) argument
/frameworks/base/libs/hwui/
H A DAnimator.cpp90 void BaseRenderNodeAnimator::start() { function in class:android::uirenderer::BaseRenderNodeAnimator
195 // Reverse is not supported for animations with a start delay, so here we
196 // assume no start delay.
201 // If the request is to start from the beginning, include start delay.
204 // If the request is to seek to a non-zero play time, then we skip start
219 ALOGW("Your start delay is strange and confusing: %" PRId64, mStartDelay);
223 ALOGW("Ended up with a really weird start time of %" PRId64
224 " with frame time %" PRId64 " and start delay %" PRId64,
333 // In the case of start dela
[all...]
H A DFrameInfo.h134 inline int64_t duration(FrameInfoIndex start, FrameInfoIndex end) const { argument
136 int64_t starttime = get(start);
140 start < FrameInfoIndex::SyncQueued) {
H A DFrameInfoVisualizer.cpp49 FrameInfoIndex start; member in struct:android::uirenderer::BarSegment
173 void FrameInfoVisualizer::nextBarSegment(FrameInfoIndex start, FrameInfoIndex end) { argument
197 rect[ri + 1] -= mVerticalUnit * durationMS(fi, start, end);
204 nextBarSegment(Bar[i].start, Bar[i].end);
H A DGradientCache.cpp196 void GradientCache::mixBytes(GradientColor& start, GradientColor& end, float amount, argument
199 const float alpha = start.a * oppAmount + end.a * amount;
202 *dst++ = uint8_t(a * (start.r * oppAmount + end.r * amount));
203 *dst++ = uint8_t(a * (start.g * oppAmount + end.g * amount));
204 *dst++ = uint8_t(a * (start.b * oppAmount + end.b * amount));
208 void GradientCache::mixFloats(GradientColor& start, GradientColor& end, float amount, argument
211 const float a = start.a * oppAmount + end.a * amount;
214 *d++ = a * (start.r * oppAmount + end.r * amount);
215 *d++ = a * (start.g * oppAmount + end.g * amount);
216 *d++ = a * (start
239 GradientColor start; local
[all...]
H A DJankTracker.cpp42 FrameInfoIndex start; member in struct:android::uirenderer::Comparison
70 // If a frame is > this, start counting in increments of 2ms
72 // If a frame is > this, start counting in increments of 4ms
76 // consider any unknown delay of frame start as part of the test infrastructure
82 // The start point of the slow frame bucket in ms
101 // If index was < minThreshold at the start of all this it's going to
242 int64_t delta = frame.duration(COMPARISONS[i].start, COMPARISONS[i].end);
H A DPathParser.cpp51 * @param start the position to start searching
55 static void extract(int* outEndPosition, bool* outEndWithNegOrDot, const char* s, int start, int end) { argument
56 // Now looking for ' ', ',', '.' or '-' from the start.
57 int currentIndex = start;
73 if (currentIndex != start && !isPrevExponential) {
125 const char* pathStr, int start, int end) {
127 if (pathStr[start] == 'z' || pathStr[start] == 'Z') {
130 int startPosition = start
124 getFloats(std::vector<float>* outPoints, PathParser::ParseResult* result, const char* pathStr, int start, int end) argument
173 size_t start = 0; local
219 size_t start = 0; local
[all...]
/frameworks/base/libs/hwui/hwui/
H A DCanvas.cpp95 void operator()(size_t start, size_t end) { argument
97 for (size_t i = start; i < end; i++) {
103 for (size_t i = start; i < end; i++) {
110 size_t glyphCount = end - start;
122 canvas->drawGlyphs(glyphs + start, pos + (2 * start), glyphCount, outlinePaint, x, y,
129 canvas->drawGlyphs(glyphs + start, pos + (2 * start), glyphCount, innerPaint, x, y,
133 canvas->drawGlyphs(glyphs + start, pos + (2 * start), glyphCoun
149 drawText(const uint16_t* text, int start, int count, int contextCount, float x, float y, int bidiFlags, const Paint& origPaint, Typeface* typeface) argument
191 operator ()(size_t start, size_t end) argument
[all...]
/frameworks/base/libs/hwui/tests/common/
H A DTestUtils.cpp26 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/base/libs/hwui/utils/
H A DLinearAllocator.cpp98 void* start() { function in class:android::uirenderer::LinearAllocator::Page
103 return (void*) (((size_t)start()) + pageSize);
138 void* LinearAllocator::start(Page* p) { function in class:android::uirenderer::LinearAllocator
167 mNext = start(mCurrentPage);
181 return start(page);
228 if (ptr >= start(mCurrentPage) && ptr < end(mCurrentPage)
/frameworks/base/media/java/android/media/
H A DMediaMuxer.java53 * muxer.start();
159 * <p>This method should be called before {@link #start}. Calling this
170 * @throws IllegalStateException If this method is called after {@link #start}.
186 * This method should be called before {@link #start}. The geodata is stored
197 * @throws IllegalStateException If this method is called after {@link #start}.
223 * @throws IllegalStateException If this method is called after {@link #start}
226 public void start() { method in class:MediaMuxer
234 throw new IllegalStateException("Can't start due to wrong state.");
/frameworks/base/media/tests/MediaDump/src/com/android/mediadump/
H A DRgbPlayerActivity.java244 public void start() { method in class:RgbPlayerActivity.RgbView
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/dirlist/
H A DDirectoryItemAnimator.java56 anim.start();
158 public void start() { method in class:DirectoryItemAnimator.ColorAnimation
159 mValueAnimator.start();
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/services/
H A DCopyJob.java224 void start() { method in class:CopyJob
H A DJob.java116 start();
127 abstract void start(); method in class:Job
/frameworks/base/packages/Keyguard/src/com/android/keyguard/
H A DKeyguardPasswordView.java189 // If no icon is visible, reset the start margin on the password field so the text is
307 public void beforeTextChanged(CharSequence s, int start, int count, int after) { argument
314 public void onTextChanged(CharSequence s, int start, int before, int count) { argument
/frameworks/base/packages/Osu/src/com/android/hotspot2/omadm/
H A DXMLNode.java76 public void addText(char[] chs, int start, int length) { argument
77 String s = new String(chs, start, length);
208 int start = 0;
212 sb.append(text.substring(start, etoken + 2)).append(CDATA_CLOSE).append(CDATA_OPEN);
213 start = etoken + 2;
215 if (start < text.length() - 1) {
216 sb.append(text.substring(start));
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/net/
H A DDataUsageController.java132 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/base/packages/SystemUI/src/com/android/systemui/power/
H A DPowerUI.java60 public void start() { method in class:PowerUI

Completed in 585 milliseconds

<<11121314151617181920>>