Home
last modified time | relevance | path

Searched refs:measure (Results 1 – 25 of 62) sorted by relevance

123

/frameworks/base/core/java/com/android/internal/widget/
DWeightedLinearLayout.java67 boolean measure = false; in onMeasure()
78 measure = true; in onMeasure()
81 measure = true; in onMeasure()
87 if (measure) { in onMeasure()
DSlidingTab.java395 public void measure() { in measure() method in SlidingTab.Slider
396 tab.measure(View.MeasureSpec.makeMeasureSpec(0, View.MeasureSpec.UNSPECIFIED), in measure()
398 text.measure(View.MeasureSpec.makeMeasureSpec(0, View.MeasureSpec.UNSPECIFIED), in measure()
486 mLeftSlider.measure(); in onMeasure()
487 mRightSlider.measure(); in onMeasure()
DActionBarView.java833 homeLayout.measure(homeWidthSpec, in onMeasure()
864 mListNavLayout.measure( in onMeasure()
877 mTabScrollView.measure( in onMeasure()
934 customView.measure( in onMeasure()
965 mProgressView.measure(MeasureSpec.makeMeasureSpec( in onMeasure()
DAbsActionBarView.java211 child.measure(MeasureSpec.makeMeasureSpec(availableWidth, MeasureSpec.AT_MOST), in measureChildView()
/frameworks/base/docs/html/guide/topics/ui/
Dhow-android-draws.jd11 <p>Drawing begins with the root node of the layout. It is requested to measure and
31 Drawing the layout is a two pass process: a measure pass and a layout pass. The measuring
32 …pass is implemented in <code>{@link android.view.View#measure(int, int)}</code> and is a top-down …
34 during the recursion. At the end of the measure pass, every View has stored
38 using the sizes computed in the measure pass.
42 …When a View's <code>measure()</code> method returns, its <code>{@link android.view.View#getMeasure…
46 that at the end of the measure pass, all parents accept all of their
47 children's measurements. A parent View may call <code>measure()</code> more than once on
48 its children. For example, the parent may measure each child once with
50 <code>measure()</code> on them again with actual numbers if the sum of all the children's
[all …]
/frameworks/base/core/tests/coretests/src/android/widget/
DListViewTest.java51 listView.measure(measureSpec, measureSpec); in testRequestLayout()
58 listView.measure(measureSpec, measureSpec); in testRequestLayout()
83 listView.measure(measureSpec, measureSpec); in testNoSelectableItems()
89 listView.measure(measureSpec, measureSpec); in testNoSelectableItems()
DTextViewPerformanceTest.java50 mLabelView.measure(View.MeasureSpec.AT_MOST | 320, View.MeasureSpec.AT_MOST | 240); in setUp()
61 mTextView.measure(View.MeasureSpec.AT_MOST | 320, View.MeasureSpec.AT_MOST | 240); in setUp()
/frameworks/base/tools/preload/
DMemoryUsage.java213 MemoryUsage measured = measure(); in run()
221 private MemoryUsage measure() { in measure() method in MemoryUsage.MeasureWithTimeout
/frameworks/base/core/java/android/widget/
DSlidingDrawer.java269 mContent.measure(MeasureSpec.makeMeasureSpec(widthSpecSize, MeasureSpec.EXACTLY), in onMeasure()
273 mContent.measure(MeasureSpec.makeMeasureSpec(width, MeasureSpec.EXACTLY), in onMeasure()
638 content.measure(MeasureSpec.makeMeasureSpec(mRight - mLeft, MeasureSpec.EXACTLY), in prepareContent()
645 content.measure(MeasureSpec.makeMeasureSpec(width, MeasureSpec.EXACTLY), in prepareContent()
DTableRow.java221 child.measure(childWidthMeasureSpec, childHeightMeasureSpec); in measureChildBeforeLayout()
310 child.measure(spec, spec); in getColumnsWidths()
DLinearLayout.java807 child.measure(childWidthMeasureSpec, in measureVertical()
812 child.measure(childWidthMeasureSpec, in measureVertical()
862 child.measure( in measureVertical()
999 child.measure(freeSpec, freeSpec); in measureHorizontal()
1191 child.measure( in measureHorizontal()
1196 child.measure(MeasureSpec.makeMeasureSpec( in measureHorizontal()
1278 child.measure( in measureHorizontal()
DSpinner.java409 child.measure(childWidthSpec, childHeightSpec); in setUpChild()
501 itemView.measure(widthMeasureSpec, heightMeasureSpec); in measureContentWidth()
DScrollView.java336 child.measure(childWidthMeasureSpec, childHeightMeasureSpec); in onMeasure()
1149 child.measure(childWidthMeasureSpec, childHeightMeasureSpec); in measureChild()
1163 child.measure(childWidthMeasureSpec, childHeightMeasureSpec); in measureChildWithMargins()
DHorizontalScrollView.java326 child.measure(childWidthMeasureSpec, childHeightMeasureSpec); in onMeasure()
1140 child.measure(childWidthMeasureSpec, childHeightMeasureSpec); in measureChild()
1154 child.measure(childWidthMeasureSpec, childHeightMeasureSpec); in measureChildWithMargins()
DAdapterViewAnimator.java571 child.measure(measureSpec, measureSpec); in addChild()
673 child.measure(MeasureSpec.makeMeasureSpec(childWidth, MeasureSpec.EXACTLY), in measureChildren()
/frameworks/base/core/java/com/android/internal/view/menu/
DActionMenuView.java302 child.measure(MeasureSpec.makeMeasureSpec(width, MeasureSpec.EXACTLY), heightSpec); in onMeasureExactFormat()
340 child.measure(childWidthSpec, childHeightSpec); in measureChildForCells()
354 child.measure(MeasureSpec.makeMeasureSpec(targetWidth, MeasureSpec.EXACTLY), in measureChildForCells()
DActionMenuPresenter.java100 mOverflowButton.measure(spec, spec); in initForMenu()
410 v.measure(querySpec, querySpec); in flagActionItems()
443 v.measure(querySpec, querySpec); in flagActionItems()
DMenuPopupHelper.java187 itemView.measure(widthMeasureSpec, heightMeasureSpec); in measureContentWidth()
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
DRenderDrawable.java89 content.measure(w_spec, h_spec); in render()
/frameworks/base/docs/html/guide/topics/views/
Dintro.jd24measure, and draw the tree. When your Activity becomes active and receives focus, the system notif…
/frameworks/base/core/java/android/text/
DMeasuredText.java241 float measure(int start, int limit) { in measure() method in MeasuredText
/frameworks/base/libs/hwui/
DFontRenderer.h101 void measure(SkPaint* paint, const char* text, uint32_t start, uint32_t len,
/frameworks/base/docs/html/guide/practices/design/
Dperformance.jd52 optimized, and that you already have a way to measure the effect (good or bad)
386 <p>One last thing: always measure. Before you start optimizing, make sure you
387 have a problem. Make sure you can accurately measure your existing performance,
388 or you won't be able to measure the benefit of the alternatives you try.</p>
/frameworks/base/docs/html/guide/developing/debugging/
Ddebugging-ui.jd243 represent (from left to right) the measure, layout, and draw times of the rendering.
250 the View objects in the tree. For example, a green dot for the measure time means
251 that this View has a faster measure time than 50% of the View objects in the tree.
285 Render times: The actual measure, layout, and draw times for the View rendering, in
339 slowest to measure, layout, and draw. From that, you can quickly identify the problems you
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DNotificationRowLayout.java327 child.measure(childWidthMS, childHeightMS); in onMeasure()

123