Home
last modified time | relevance | path

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

123456

/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()
/frameworks/base/core/java/com/android/internal/widget/
DDialogTitle.java49 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { in onMeasure() method in DialogTitle
50 super.onMeasure(widthMeasureSpec, heightMeasureSpec); in onMeasure()
72 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.java53 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { in onMeasure() method in FaceUnlockView
65 super.onMeasure(newWidthMeasureSpec, newHeightMeasureSpec); in onMeasure()
DPreferenceImageView.java46 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { in onMeasure() method in PreferenceImageView
67 super.onMeasure(widthMeasureSpec, heightMeasureSpec); in onMeasure()
DScrollingTabContainerView.java86 public void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { in onMeasure() method in ScrollingTabContainerView
121 super.onMeasure(widthMeasureSpec, heightMeasureSpec); in onMeasure()
408 public void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { in onMeasure() method in ScrollingTabContainerView.TabView
409 super.onMeasure(widthMeasureSpec, heightMeasureSpec); in onMeasure()
413 super.onMeasure(MeasureSpec.makeMeasureSpec(mMaxTabWidth, MeasureSpec.EXACTLY), 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()
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
DScaleFrameLayout.java152 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { in onMeasure() method in ScaleFrameLayout
158 super.onMeasure(scaledWidthMeasureSpec, scaledHeightMeasureSpec); in onMeasure()
162 super.onMeasure(widthMeasureSpec, heightMeasureSpec); in onMeasure()
DResizingTextView.java196 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { in onMeasure() method in ResizingTextView
211 super.onMeasure(widthMeasureSpec, heightMeasureSpec); in onMeasure()
264 super.onMeasure(widthMeasureSpec, heightMeasureSpec); in onMeasure()
DControlBar.java66 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { in onMeasure() method in ControlBar
67 super.onMeasure(widthMeasureSpec, heightMeasureSpec); in onMeasure()
/frameworks/support/v7/cardview/src/android/support/v7/widget/
DCardView.java175 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { in onMeasure() method in CardView
196 super.onMeasure(widthMeasureSpec, heightMeasureSpec); in onMeasure()
198 super.onMeasure(widthMeasureSpec, heightMeasureSpec); in onMeasure()
/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/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/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()
/frameworks/support/v4/java/android/support/v4/widget/
DCircleImageView.java83 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { in onMeasure() method in CircleImageView
84 super.onMeasure(widthMeasureSpec, heightMeasureSpec); in onMeasure()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
DSignalTileView.java71 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { in onMeasure() method in SignalTileView
72 super.onMeasure(widthMeasureSpec, heightMeasureSpec); in onMeasure()
/frameworks/base/core/java/android/widget/
DRatingBar.java283 protected synchronized void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { in onMeasure() method in RatingBar
284 super.onMeasure(widthMeasureSpec, heightMeasureSpec); in onMeasure()
DSpace.java95 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { in onMeasure() method in Space
/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/
DTintRatingBar.java152 protected synchronized void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { in onMeasure() method in TintRatingBar
153 super.onMeasure(widthMeasureSpec, heightMeasureSpec); in onMeasure()
DScrollingTabContainerView.java93 public void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { in onMeasure() method in ScrollingTabContainerView
128 super.onMeasure(widthMeasureSpec, heightMeasureSpec); in onMeasure()
431 public void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { in onMeasure() method in ScrollingTabContainerView.TabView
432 super.onMeasure(widthMeasureSpec, heightMeasureSpec); in onMeasure()
436 super.onMeasure(MeasureSpec.makeMeasureSpec(mMaxTabWidth, MeasureSpec.EXACTLY), in onMeasure()
/frameworks/base/core/java/com/android/internal/view/menu/
DActionMenuItemView.java286 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { in onMeasure() method in ActionMenuItemView
293 super.onMeasure(widthMeasureSpec, heightMeasureSpec); in onMeasure()
303 super.onMeasure(MeasureSpec.makeMeasureSpec(targetWidth, MeasureSpec.EXACTLY), in onMeasure()
/frameworks/support/v7/appcompat/src/android/support/v7/internal/view/menu/
DActionMenuItemView.java269 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { in onMeasure() method in ActionMenuItemView
276 super.onMeasure(widthMeasureSpec, heightMeasureSpec); in onMeasure()
286 super.onMeasure(MeasureSpec.makeMeasureSpec(targetWidth, MeasureSpec.EXACTLY), in onMeasure()
/frameworks/base/packages/Keyguard/src/com/android/keyguard/
DNumPadKey.java133 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { in onMeasure() method in NumPadKey
134 super.onMeasure(widthMeasureSpec, heightMeasureSpec); in onMeasure()
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/
DDebugOverlayView.java139 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { in onMeasure() method in DebugOverlayView
140 super.onMeasure(widthMeasureSpec, heightMeasureSpec); in onMeasure()
/frameworks/support/v7/gridlayout/src/android/support/v7/widget/
DSpace.java89 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { in onMeasure() method in Space

123456