/frameworks/base/core/java/com/android/internal/widget/ |
D | WeightedLinearLayout.java | 67 boolean measure = false; in onMeasure() 78 measure = true; in onMeasure() 81 measure = true; in onMeasure() 87 if (measure) { in onMeasure()
|
D | SlidingTab.java | 395 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()
|
D | ActionBarView.java | 833 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()
|
D | AbsActionBarView.java | 211 child.measure(MeasureSpec.makeMeasureSpec(availableWidth, MeasureSpec.AT_MOST), in measureChildView()
|
/frameworks/base/docs/html/guide/topics/ui/ |
D | how-android-draws.jd | 11 <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/ |
D | ListViewTest.java | 51 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()
|
D | TextViewPerformanceTest.java | 50 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/ |
D | MemoryUsage.java | 213 MemoryUsage measured = measure(); in run() 221 private MemoryUsage measure() { in measure() method in MemoryUsage.MeasureWithTimeout
|
/frameworks/base/core/java/android/widget/ |
D | SlidingDrawer.java | 269 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()
|
D | TableRow.java | 221 child.measure(childWidthMeasureSpec, childHeightMeasureSpec); in measureChildBeforeLayout() 310 child.measure(spec, spec); in getColumnsWidths()
|
D | LinearLayout.java | 807 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()
|
D | Spinner.java | 409 child.measure(childWidthSpec, childHeightSpec); in setUpChild() 501 itemView.measure(widthMeasureSpec, heightMeasureSpec); in measureContentWidth()
|
D | ScrollView.java | 336 child.measure(childWidthMeasureSpec, childHeightMeasureSpec); in onMeasure() 1149 child.measure(childWidthMeasureSpec, childHeightMeasureSpec); in measureChild() 1163 child.measure(childWidthMeasureSpec, childHeightMeasureSpec); in measureChildWithMargins()
|
D | HorizontalScrollView.java | 326 child.measure(childWidthMeasureSpec, childHeightMeasureSpec); in onMeasure() 1140 child.measure(childWidthMeasureSpec, childHeightMeasureSpec); in measureChild() 1154 child.measure(childWidthMeasureSpec, childHeightMeasureSpec); in measureChildWithMargins()
|
D | AdapterViewAnimator.java | 571 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/ |
D | ActionMenuView.java | 302 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()
|
D | ActionMenuPresenter.java | 100 mOverflowButton.measure(spec, spec); in initForMenu() 410 v.measure(querySpec, querySpec); in flagActionItems() 443 v.measure(querySpec, querySpec); in flagActionItems()
|
D | MenuPopupHelper.java | 187 itemView.measure(widthMeasureSpec, heightMeasureSpec); in measureContentWidth()
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/ |
D | RenderDrawable.java | 89 content.measure(w_spec, h_spec); in render()
|
/frameworks/base/docs/html/guide/topics/views/ |
D | intro.jd | 24 …measure, and draw the tree. When your Activity becomes active and receives focus, the system notif…
|
/frameworks/base/core/java/android/text/ |
D | MeasuredText.java | 241 float measure(int start, int limit) { in measure() method in MeasuredText
|
/frameworks/base/libs/hwui/ |
D | FontRenderer.h | 101 void measure(SkPaint* paint, const char* text, uint32_t start, uint32_t len,
|
/frameworks/base/docs/html/guide/practices/design/ |
D | performance.jd | 52 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/ |
D | debugging-ui.jd | 243 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/ |
D | NotificationRowLayout.java | 327 child.measure(childWidthMS, childHeightMS); in onMeasure()
|