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/base/core/java/com/android/internal/widget/
H A DSlidingTab.java395 public void measure() { method in class:SlidingTab.Slider
396 tab.measure(View.MeasureSpec.makeMeasureSpec(0, View.MeasureSpec.UNSPECIFIED),
398 text.measure(View.MeasureSpec.makeMeasureSpec(0, View.MeasureSpec.UNSPECIFIED),
403 * Get the measured tab width. Must be called after {@link Slider#measure()}.
411 * Get the measured tab width. Must be called after {@link Slider#measure()}.
486 mLeftSlider.measure();
487 mRightSlider.measure();
/frameworks/base/libs/hwui/
H A DFontRenderer.cpp169 SkPathMeasure& measure, SkPoint* position, SkVector* tangent) {
176 measure.getPosTan(x + hOffset + glyph->mBitmapLeft + halfWidth, position, tangent);
256 SkPathMeasure measure(*path, false);
257 float pathLength = SkScalarToFloat(measure.getLength());
281 drawCachedGlyph(cachedGlyph, penX, hOffset, vOffset, measure, &position, &tangent);
290 void Font::measure(SkPaint* paint, const char* text, uint32_t start, uint32_t len, function in class:android::uirenderer::Font
293 ALOGE("No return rectangle provided to measure text");
1020 mCurrentFont->measure(paint, text, startIndex, len, numGlyphs, &bounds);
168 drawCachedGlyph(CachedGlyphInfo* glyph, float x, float hOffset, float vOffset, SkPathMeasure& measure, SkPoint* position, SkVector* tangent) argument
/frameworks/base/core/java/android/view/
H A DView.java341 * To measure its dimensions, a view takes into account its padding. The padding
361 * Layout is a two pass process: a measure pass and a layout pass. The measuring
362 * pass is implemented in {@link #measure(int, int)} and is a top-down traversal
364 * during the recursion. At the end of the measure pass, every view has stored
368 * using the sizes computed in the measure pass.
372 * When a view's measure() method returns, its {@link #getMeasuredWidth()} and
376 * that at the end of the measure pass, all parents accept all of their
377 * children's measurements. A parent view may call measure() more than once on
378 * its children. For example, the parent may measure each child once with
380 * measure() o
15163 public final void measure(int widthMeasureSpec, int heightMeasureSpec) { method in class:View
[all...]
/frameworks/base/core/java/android/webkit/
H A DWebViewClassic.java660 mContentView.measure(
894 * depends on the layout parameters and the measure specs.
3193 * View system was able to measure us, we have to send a height of 0 to
6955 // Log.d(LOGTAG, "------- measure " + heightMode);
8550 private native void nativeSetHeightCanMeasure(boolean measure); argument

Completed in 114 milliseconds