Searched defs:measure (Results 1 - 7 of 7) sorted by relevance

/frameworks/base/core/java/android/text/
H A DMeasuredText.java252 float measure(int start, int limit) { method in class:MeasuredText
H A DTextLine.java40 * <p>Call set to prepare the instance for use, then either draw, measure,
267 return measure(mLen, false, fmi);
275 * @param trailing true to measure the trailing edge of the character
276 * before offset, false to measure the leading edge of the character
283 float measure(int offset, boolean trailing, FontMetricsInt fmi) { method in class:TextLine
404 * @param offset the offset to measure to, between start and limit inclusive
867 * @param measureLimit the offset to measure to, between start and limit inclusive
931 // state, otherwise measure state would suffice.
/frameworks/base/tools/preload/
H A DMemoryUsage.java213 MemoryUsage measured = measure();
221 private MemoryUsage measure() { method in class:MemoryUsage.MeasureWithTimeout
/frameworks/av/media/libmedia/
H A DAudioTrackShared.cpp71 bool measure = elapsed != NULL; // whether to measure total elapsed time spent waiting local
89 measure = true;
186 if (!measure || requested->tv_sec < total.tv_sec ||
210 if (measure && !beforeIsValid) {
217 if (measure) {
261 if (measure) {
/frameworks/base/libs/hwui/font/
H A DFont.cpp231 SkPathMeasure& measure, SkPoint* position, SkVector* tangent) {
238 bool ok = measure.getPosTan(x + hOffset + glyph->mBitmapLeft + halfWidth, position, tangent);
308 SkPathMeasure measure(*path, false);
309 float pathLength = SkScalarToFloat(measure.getLength());
333 drawCachedGlyph(cachedGlyph, penX, hOffset, vOffset, measure, &position, &tangent);
342 void Font::measure(SkPaint* paint, const char* text, uint32_t start, uint32_t len, function in class:android::uirenderer::Font
345 ALOGE("No return rectangle provided to measure text");
230 drawCachedGlyph(CachedGlyphInfo* glyph, float x, float hOffset, float vOffset, SkPathMeasure& measure, SkPoint* position, SkVector* tangent) argument
/frameworks/base/core/java/com/android/internal/widget/
H A DSlidingTab.java397 public void measure() { method in class:SlidingTab.Slider
398 tab.measure(View.MeasureSpec.makeMeasureSpec(0, View.MeasureSpec.UNSPECIFIED),
400 text.measure(View.MeasureSpec.makeMeasureSpec(0, View.MeasureSpec.UNSPECIFIED),
405 * Get the measured tab width. Must be called after {@link Slider#measure()}.
413 * Get the measured tab width. Must be called after {@link Slider#measure()}.
488 mLeftSlider.measure();
489 mRightSlider.measure();
/frameworks/base/core/java/android/view/
H A DView.java349 * To measure its dimensions, a view takes into account its padding. The padding
370 * Layout is a two pass process: a measure pass and a layout pass. The measuring
371 * pass is implemented in {@link #measure(int, int)} and is a top-down traversal
373 * during the recursion. At the end of the measure pass, every view has stored
377 * using the sizes computed in the measure pass.
381 * When a view's measure() method returns, its {@link #getMeasuredWidth()} and
385 * that at the end of the measure pass, all parents accept all of their
386 * children's measurements. A parent view may call measure() more than once on
387 * its children. For example, the parent may measure each child once with
389 * measure() o
16470 public final void measure(int widthMeasureSpec, int heightMeasureSpec) { method in class:View
[all...]

Completed in 406 milliseconds