Home
last modified time | relevance | path

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

123456789

/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/support/v7/appcompat/src/android/support/v7/widget/
DDialogTitle.java48 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { in onMeasure() method in DialogTitle
49 super.onMeasure(widthMeasureSpec, heightMeasureSpec); in onMeasure()
72 super.onMeasure(widthMeasureSpec, heightMeasureSpec); in onMeasure()
DButtonBarLayout.java66 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { in onMeasure() method in ButtonBarLayout
87 super.onMeasure(initialWidthMeasureSpec, heightMeasureSpec); in onMeasure()
113 super.onMeasure(widthMeasureSpec, heightMeasureSpec); in onMeasure()
DAppCompatRatingBar.java55 protected synchronized void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { in onMeasure() method in AppCompatRatingBar
56 super.onMeasure(widthMeasureSpec, heightMeasureSpec); in onMeasure()
DContentFrameLayout.java90 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { in onMeasure() method in ContentFrameLayout
135 super.onMeasure(widthMeasureSpec, heightMeasureSpec); in onMeasure()
162 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()
DButtonBarLayout.java69 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { in onMeasure() method in ButtonBarLayout
96 super.onMeasure(initialWidthMeasureSpec, heightMeasureSpec); in onMeasure()
110 super.onMeasure(widthMeasureSpec, heightMeasureSpec); in onMeasure()
DPreferenceImageView.java46 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { in onMeasure() method in PreferenceImageView
67 super.onMeasure(widthMeasureSpec, heightMeasureSpec); in onMeasure()
/frameworks/support/percent/src/android/support/percent/
DPercentRelativeLayout.java103 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { in onMeasure() method in PercentRelativeLayout
105 super.onMeasure(widthMeasureSpec, heightMeasureSpec); in onMeasure()
107 super.onMeasure(widthMeasureSpec, heightMeasureSpec); in onMeasure()
DPercentFrameLayout.java103 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { in onMeasure() method in PercentFrameLayout
105 super.onMeasure(widthMeasureSpec, heightMeasureSpec); in onMeasure()
107 super.onMeasure(widthMeasureSpec, heightMeasureSpec); in onMeasure()
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/
DGridItemThumbnail.java40 public void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { in onMeasure() method in GridItemThumbnail
48 super.onMeasure(widthMeasureSpec, widthMeasureSpec); in onMeasure()
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/
DBaseWrapContentWithAspectRatioTest.java77 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { in onMeasure() method in BaseWrapContentWithAspectRatioTest.LoggingView
78 mBehavior.onMeasure(this, widthMeasureSpec, heightMeasureSpec); in onMeasure()
112 public void onMeasure(LoggingView view, int wSpec, in onMeasure() method in BaseWrapContentWithAspectRatioTest.AspectRatioMeasureBehavior
114 super.onMeasure(view, wSpec, hSpec); in onMeasure()
150 public void onMeasure(LoggingView view, int wSpec, int hSpec) { in onMeasure() method in BaseWrapContentWithAspectRatioTest.MeasureBehavior
DWrapContentBasicTest.java79 mRecyclerView.onMeasure(WRAP, WRAP); in testLayoutInOnMeasureWithoutPredictive()
80 mRecyclerView.onMeasure(WRAP, WRAP); in testLayoutInOnMeasureWithoutPredictive()
89 mRecyclerView.onMeasure(WRAP, WRAP); in dataChangeAfterMeasure()
90 mRecyclerView.onMeasure(WRAP, WRAP); in dataChangeAfterMeasure()
DTestedFrameLayout.java42 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { in onMeasure() method in TestedFrameLayout
45 super.onMeasure(widthMeasureSpec, heightMeasureSpec); in onMeasure()
50 super.onMeasure(widthMeasureSpec, heightMeasureSpec); in onMeasure()
/frameworks/rs/java/tests/RsCameraDemo/src/com/android/example/rscamera/
DVerticalSeekBar.java47 protected synchronized void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { in onMeasure() method in VerticalSeekBar
48 super.onMeasure(heightMeasureSpec, widthMeasureSpec); in onMeasure()
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
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()
DScaleFrameLayout.java183 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { in onMeasure() method in ScaleFrameLayout
189 super.onMeasure(scaledWidthMeasureSpec, scaledHeightMeasureSpec); in onMeasure()
193 super.onMeasure(widthMeasureSpec, heightMeasureSpec); in onMeasure()
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/
DFixedSizeFrameLayout.java52 protected final void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { in onMeasure() method in FixedSizeFrameLayout
82 super.onMeasure(MeasureSpec.makeMeasureSpec(width, MeasureSpec.AT_MOST), in measureContents()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DIconMerger.java66 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { in onMeasure() method in IconMerger
67 super.onMeasure(widthMeasureSpec, heightMeasureSpec); in onMeasure()
/frameworks/support/v7/preference/src/android/support/v7/internal/widget/
DPreferenceImageView.java83 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { in onMeasure() method in PreferenceImageView
104 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/packages/SystemUI/src/com/android/systemui/qs/
DAutoSizingList.java60 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { in onMeasure() method in AutoSizingList
69 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.

123456789