Home
last modified time | relevance | path

Searched refs:onMeasure (Results 1 – 25 of 109) sorted by relevance

12345

/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
DGradientsActivity.java105 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { in onMeasure() method in GradientsActivity.BitmapView
106 super.onMeasure(widthMeasureSpec, heightMeasureSpec); in onMeasure()
130 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { in onMeasure() method in GradientsActivity.GradientView
131 super.onMeasure(widthMeasureSpec, heightMeasureSpec); in onMeasure()
155 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { in onMeasure() method in GradientsActivity.RadialGradientView
156 super.onMeasure(widthMeasureSpec, heightMeasureSpec); in onMeasure()
179 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { in onMeasure() method in GradientsActivity.SweepGradientView
180 super.onMeasure(widthMeasureSpec, heightMeasureSpec); in onMeasure()
DTextPathActivity.java52 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { in onMeasure() method in TextPathActivity.CustomTextView
DDisplayListLayersActivity.java120 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { in onMeasure() method in DisplayListLayersActivity.LayerView
/frameworks/base/core/java/com/android/internal/widget/
DDialogTitle.java46 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { in onMeasure() method in DialogTitle
47 super.onMeasure(widthMeasureSpec, heightMeasureSpec); in onMeasure()
69 super.onMeasure(widthMeasureSpec, heightMeasureSpec); in onMeasure()
DWeightedLinearLayout.java57 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { in onMeasure() method in WeightedLinearLayout
64 super.onMeasure(widthMeasureSpec, heightMeasureSpec); in onMeasure()
88 super.onMeasure(widthMeasureSpec, heightMeasureSpec); in onMeasure()
DFaceUnlockView.java55 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { in onMeasure() method in FaceUnlockView
67 super.onMeasure(newWidthMeasureSpec, newHeightMeasureSpec); in onMeasure()
DScrollingTabContainerView.java87 public void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { in onMeasure() method in ScrollingTabContainerView
122 super.onMeasure(widthMeasureSpec, heightMeasureSpec); in onMeasure()
409 public void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { in onMeasure() method in ScrollingTabContainerView.TabView
410 super.onMeasure(widthMeasureSpec, heightMeasureSpec); in onMeasure()
414 super.onMeasure(MeasureSpec.makeMeasureSpec(mMaxTabWidth, MeasureSpec.EXACTLY), in onMeasure()
DActionBarContainer.java270 public void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { in onMeasure() method in ActionBarContainer
271 super.onMeasure(widthMeasureSpec, heightMeasureSpec); in onMeasure()
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/
DPrintDialogFrame.java36 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { in onMeasure() method in PrintDialogFrame
37 super.onMeasure(widthMeasureSpec, heightMeasureSpec); in onMeasure()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DIconMerger.java49 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { in onMeasure() method in IconMerger
50 super.onMeasure(widthMeasureSpec, heightMeasureSpec); in onMeasure()
DQuickSettingsContainerView.java62 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { in onMeasure() method in QuickSettingsContainerView
/frameworks/base/docs/html/guide/topics/ui/
Dcustom-components.jd90 {@link android.view.View#onMeasure onMeasure()}, and
141 You will almost certainly want to override <code>onMeasure()</code> and
145 <code>onMeasure()</code> will always set a size of 100x100 &mdash; which is
153 <h3>Extend <code>onDraw()</code> and <code>onMeasure()</code></h3>
165 <p><code>onMeasure()</code> is a little more involved. <code>onMeasure()</code>
167 container. <code>onMeasure()</code> should be overridden to efficiently and
170 (which are passed in to the <code>onMeasure()</code> method) and by the
173 call this method from an overridden <code>onMeasure()</code> method, the
175 <p>At a high level, implementing <code>onMeasure()</code> looks something
180 The overridden <code>onMeasure()</code> method is called with width and
[all …]
/frameworks/base/core/tests/coretests/src/android/widget/
DListViewTest.java123 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { in onMeasure() method in ListViewTest.MockView
124 super.onMeasure(widthMeasureSpec, heightMeasureSpec); in onMeasure()
DLabelView.java120 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { in onMeasure() method in LabelView
/frameworks/support/v7/appcompat/src/android/support/v7/internal/view/menu/
DActionMenuItemView.java208 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { in onMeasure() method in ActionMenuItemView
215 super.onMeasure(widthMeasureSpec, heightMeasureSpec); in onMeasure()
225 super.onMeasure(MeasureSpec.makeMeasureSpec(targetWidth, MeasureSpec.EXACTLY), in onMeasure()
DListMenuItemView.java237 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { in onMeasure() method in ListMenuItemView
246 super.onMeasure(widthMeasureSpec, heightMeasureSpec); in onMeasure()
/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/
DScrollingTabContainerView.java78 public void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { in onMeasure() method in ScrollingTabContainerView
113 super.onMeasure(widthMeasureSpec, heightMeasureSpec); in onMeasure()
356 public void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { in onMeasure() method in ScrollingTabContainerView.TabView
357 super.onMeasure(widthMeasureSpec, heightMeasureSpec); in onMeasure()
363 super.onMeasure(MeasureSpec.makeMeasureSpec(maxTabWidth, MeasureSpec.EXACTLY), in onMeasure()
DActionBarContainer.java232 public void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { in onMeasure() method in ActionBarContainer
233 super.onMeasure(widthMeasureSpec, heightMeasureSpec); in onMeasure()
/frameworks/base/docs/html/training/custom-views/
Dcustom-drawing.jd164 android.view.View#onMeasure onMeasure()}. This method's parameters are
173 <p>Here's an example implementation of {@link android.view.View#onMeasure onMeasure()}.
180 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) {
206 {@link android.view.View#onMeasure onMeasure()}.
208 <li>{@link android.view.View#onMeasure onMeasure()} has no return value.
/frameworks/base/core/java/com/android/internal/view/menu/
DActionMenuItemView.java254 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { in onMeasure() method in ActionMenuItemView
266 super.onMeasure(widthMeasureSpec, heightMeasureSpec); in onMeasure()
276 super.onMeasure(MeasureSpec.makeMeasureSpec(targetWidth, MeasureSpec.EXACTLY), in onMeasure()
DListMenuItemView.java224 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { in onMeasure() method in ListMenuItemView
233 super.onMeasure(widthMeasureSpec, heightMeasureSpec); in onMeasure()
/frameworks/base/core/java/android/widget/
DRatingBar.java279 protected synchronized void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { in onMeasure() method in RatingBar
280 super.onMeasure(widthMeasureSpec, heightMeasureSpec); in onMeasure()
DSpace.java89 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { in onMeasure() method in Space
/frameworks/support/v7/gridlayout/src/android/support/v7/widget/
DSpace.java89 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { in onMeasure() method in Space
/frameworks/base/tests/DpiTest/src/com/google/android/test/dpi/
DDpiTestActivity.java235 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { in onMeasure() method in DpiTestActivity.ScaledBitmapView
236 super.onMeasure(widthMeasureSpec, heightMeasureSpec); in onMeasure()

12345