Searched defs:end (Results 176 - 200 of 387) sorted by relevance

1234567891011>>

/frameworks/base/core/jni/
H A Dandroid_graphics_drawable_AnimatedVectorDrawable.cpp159 static void end(JNIEnv*, jobject, jlong animatorSetPtr) { function in namespace:android
161 set->end();
180 {"nEnd", "!(J)V", (void*)end},
H A Dandroid_text_StaticLayout.cpp156 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
H A Dandroid_view_RenderNodeAnimator.cpp61 // then you end up with basically a PhantomReference, which is totally not
185 static void end(JNIEnv* env, jobject clazz, jlong animatorPtr) { function in namespace:android
209 { "nEnd", "(J)V", (void*) end },
/frameworks/base/core/tests/coretests/src/android/net/
H A DNetworkStatsHistoryTest.java299 // verify total beyond end
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 {
143 assertEquals(end, text.getSpanEnd(i));
343 // At the end.
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
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 DRippleComponent.java130 * current state, while hardware animation values jump to the end state.
138 * Ends all animations, jumping values to the end state.
140 public void end() { method in class:RippleComponent
202 // Preemptively jump the software values to the end state now that
220 * Ends any current software animations, jumping the values to their end
225 mSoftwareAnimator.end();
238 mHardwareAnimator.end();
291 * Called when the hardware exit is cancelled. Jumps software values to end
330 public void end() { method in class:RippleComponent.RenderNodeAnimatorSet
335 anim.end();
[all...]
/frameworks/base/keystore/tests/src/android/security/keystore/
H A DAndroidKeyPairGeneratorTest.java331 AlgorithmParameterSpec spec, X500Principal dn, BigInteger serial, Date start, Date end)
403 assertDateEquals("The notAfter date should be the one passed into the params", end,
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.cpp114 void BaseRenderNodeAnimator::end() { function in class:android::uirenderer::BaseRenderNodeAnimator
179 // Set the staging play time and end the animation
H A DDamageAccumulator.cpp180 static void applyTransforms(DirtyStack* frame, DirtyStack* end) { argument
182 while (frame != end) {
H A DFrameInfoVisualizer.cpp50 FrameInfoIndex end; 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.b * oppAmount + end
242 GradientColor end; local
[all...]
H A DJankTracker.cpp43 FrameInfoIndex end; member in struct:android::uirenderer::Comparison
102 // be a pretty garbage value right now. However, mask is 0 so we'll end
242 int64_t delta = frame.duration(COMPARISONS[i].start, COMPARISONS[i].end);
H A DPathParser.cpp55 static void extract(int* outEndPosition, bool* outEndWithNegOrDot, const char* s, int start, int end) { argument
62 for (; currentIndex < end; currentIndex++) {
96 // In the case where nothing is found, we put the end position to the end of
97 // our extract range. Otherwise, end position will be where separator is found.
125 const char* pathStr, int start, int end) {
136 while (startPosition < end) {
138 extract(&endPosition, &endWithNegOrDot, pathStr, startPosition, end);
142 end - startPosition);
183 size_t end local
124 getFloats(std::vector<float>* outPoints, PathParser::ParseResult* result, const char* pathStr, int start, int end) argument
[all...]
H A DVertexBuffer.h118 TYPE* end = current + vertexCount; local
120 for (; current < end; current++) {
146 TYPE* end = (TYPE*)mBuffer + mVertexCount; local
147 for (TYPE* degen = (TYPE*)mBuffer + allocSize; degen < end; degen += 2 + allocSize) {
/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;
191 void operator()(size_t start, size_t end) { argument
193 for (size_t i = start; i < end; i++) {
/frameworks/base/libs/hwui/tests/common/
H A DTestUtils.cpp26 SkColor TestUtils::interpolateColor(float fraction, SkColor start, SkColor end) { argument
32 int endA = (end >> 24) & 0xff;
33 int endR = (end >> 16) & 0xff;
34 int endG = (end >> 8) & 0xff;
35 int endB = end & 0xff;
/frameworks/base/libs/hwui/utils/
H A DLinearAllocator.cpp102 void* end(int pageSize) { function in class:android::uirenderer::LinearAllocator::Page
142 void* LinearAllocator::end(Page* p) { function in class:android::uirenderer::LinearAllocator
147 return mNext && ((char*)mNext + size) <= end(mCurrentPage);
228 if (ptr >= start(mCurrentPage) && ptr < end(mCurrentPage)
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/dirlist/
H A DDirectoryItemAnimator.java70 anim.end();
166 public void end() { method in class:DirectoryItemAnimator.ColorAnimation
167 mValueAnimator.end();
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/net/
H A DDataUsageController.java132 final long start, end;
144 end = addMonth(policyTime, 1).toMillis(false);
147 end = policyTime.toMillis(false);
151 end = now;
155 final NetworkStatsHistory.Entry entry = history.getValues(start, end, now, null);
158 new Date(start), new Date(end), new Date(now), callEnd - callStart,
167 usage.period = formatDateRange(start, end);
235 private String formatDateRange(long start, long end) { argument
239 return DateUtils.formatDateRange(mContext, PERIOD_FORMATTER, start, end, flags, null)
/frameworks/base/sax/tests/saxtests/src/android/sax/
H A DSafeSaxTest.java62 public void end() { method in class:SafeSaxTest.ElementCounter
75 public void end(String body) { method in class:SafeSaxTest.TextElementCounter
133 public void end(String body) {
219 public void end(String body) {
226 public void end(String body) {
236 public void end(String body) {
275 public void end(String body) {
282 public void end(String body) {
289 public void end(String body) {
296 public void end(Strin
343 public void end() { method in class:SafeSaxTest.HandlerFactory.VideoListener
[all...]
/frameworks/base/tools/aapt/
H A Dpseudolocalize.cpp82 out.append(mImpl->end());
216 String16 PseudoMethodAccent::end() { function in class:PseudoMethodAccent
275 bool end = false; local
277 while (!end && i < I) {
282 end = true;
287 end = true;
299 bool end = false; local
301 while (!end && htmlCodePos < I) {
307 end = true;
315 end
[all...]
/frameworks/base/tools/aapt2/compile/
H A DPseudolocalizer.cpp55 std::u16string end() override;
123 out.append(mImpl->end());
251 std::u16string PseudoMethodAccent::end() { function in class:aapt::PseudoMethodAccent
281 bool end = false; local
283 while (!end && i < I) {
288 end = true;
293 end = true;
305 bool end = false; local
307 while (!end && htmlCodePos < I) {
313 end
[all...]
/frameworks/base/tools/aapt2/util/
H A DFiles.cpp99 const char* end = path.end(); local
100 for (const char* current = start; current != end; ++current) {
114 const char* end = path.end(); local
115 for (const char* current = end - 1; current != start - 1; --current) {
124 const char* end = path.end(); local
126 for (const char* c = path.begin(); c != end; ++c) {
131 return StringPiece(lastDirSep, end
136 const char* const end = filename.end(); local
[all...]
H A DUtil.cpp34 const StringPiece::const_iterator end = std::end(str); local
38 current = std::find(start, end, sep);
42 std::transform(part.begin(), part.end(), part.begin(), f);
45 } while (current != end);
63 const char16_t* end = str.data() + str.length(); local
65 while (start != end && util::isspace16(*start)) {
69 while (end != start && util::isspace16(*(end - 1))) {
70 end
82 const char* end = str.data() + str.length(); local
190 consumeDigits(const char16_t* start, const char16_t* end) argument
198 const char16_t* const end = str.end(); local
289 parseUnicodeCodepoint(const char16_t** start, const char16_t* end) argument
313 const char16_t* const end = str.end(); local
[all...]

Completed in 461 milliseconds

1234567891011>>