Searched defs:onMeasure (Results 201 - 216 of 216) sorted by relevance

123456789

/frameworks/base/core/java/com/android/internal/policy/
H A DDecorView.java636 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { method in class:DecorView
716 super.onMeasure(widthMeasureSpec, heightMeasureSpec);
747 super.onMeasure(widthMeasureSpec, heightMeasureSpec);
/frameworks/base/core/java/com/android/internal/widget/
H A DViewPager.java1361 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { method in class:ViewPager
H A DRecyclerView.java2950 protected void onMeasure(int widthSpec, int heightSpec) { method in class:RecyclerView
2960 mLayout.onMeasure(mRecycler, mState, widthSpec, heightSpec);
2989 mLayout.onMeasure(mRecycler, mState, widthSpec, heightSpec);
2992 // custom onMeasure
3016 mLayout.onMeasure(mRecycler, mState, widthSpec, heightSpec);
3023 * Used when onMeasure is called before layout manager is set
3185 * Called in onMeasure and dispatchLayout.
3261 // First 2 steps are done in onMeasure but looks like we have to run again due to
6847 * onMeasure method OR fake measure specs created by the RecyclerView.
6919 * @param widthSpec The widthSpec that was passing into RecyclerView's onMeasure
9227 public void onMeasure(Recycler recycler, State state, int widthSpec, int heightSpec) { method in class:RecyclerView.LayoutManager
[all...]
/frameworks/support/coordinatorlayout/src/main/java/androidx/coordinatorlayout/widget/
H A DCoordinatorLayout.java738 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { method in class:CoordinatorLayout
/frameworks/support/drawerlayout/src/main/java/androidx/drawerlayout/widget/
H A DDrawerLayout.java1030 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { method in class:DrawerLayout
1236 } else { // Drawer, if it wasn't onMeasure would have thrown an exception.
1245 } else { // Right; onMeasure checked for us.
/frameworks/support/gridlayout/src/main/java/androidx/gridlayout/widget/
H A DGridLayout.java947 protected void onMeasure(int widthSpec, int heightSpec) { method in class:GridLayout
/frameworks/support/viewpager/src/main/java/androidx/viewpager/widget/
H A DViewPager.java1549 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { method in class:ViewPager
/frameworks/base/core/java/android/webkit/
H A DWebView.java1309 * and onMeasure() will return 0 if MeasureSpec is not MeasureSpec.EXACTLY.
3064 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { method in class:WebView
3065 super.onMeasure(widthMeasureSpec, heightMeasureSpec);
3066 mProvider.getViewDelegate().onMeasure(widthMeasureSpec, heightMeasureSpec);
/frameworks/base/media/java/android/media/
H A DCea708CaptionRenderer.java1144 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { method in class:Cea708CCWidget.ScaledLayout
1150 Log.d(TAG, String.format("onMeasure width: %d, height: %d", width, height));
1183 Log.d(TAG, String.format("onMeasure child scaleStartRow: %f scaleEndRow: %f "
/frameworks/support/leanback/src/main/java/androidx/leanback/widget/
H A DGridLayoutManager.java1438 public void onMeasure(Recycler recycler, State state, int widthSpec, int heightSpec) { method in class:GridLayoutManager
1455 Log.v(getTag(), "onMeasure widthSpec " + Integer.toHexString(widthSpec)
1537 Log.v(getTag(), "onMeasure sizePrimary " + sizePrimary
/frameworks/base/core/java/android/widget/
H A DAbsListView.java358 * Subclasses must retain their measure spec from onMeasure() into this member
2126 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { method in class:AbsListView
H A DEditor.java4569 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { method in class:Editor.HandleView
H A DTextView.java8471 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { method in class:TextView
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/stack/
H A DNotificationStackScrollLayout.java649 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { method in class:NotificationStackScrollLayout
650 super.onMeasure(widthMeasureSpec, heightMeasureSpec);
/frameworks/support/v7/recyclerview/src/main/java/androidx/recyclerview/widget/
H A DRecyclerView.java3259 protected void onMeasure(int widthSpec, int heightSpec) { method in class:RecyclerView
3272 * override {@link LayoutManager#onMeasure(int, int)} when
3275 mLayout.onMeasure(mRecycler, mState, widthSpec, heightSpec);
3308 mLayout.onMeasure(mRecycler, mState, widthSpec, heightSpec);
3311 // custom onMeasure
3329 // this means there is already an onMeasure() call performed to handle the pending
3330 // adapter change, two onMeasure() calls can happen if RV is a child of LinearLayout
3331 // with layout_width=MATCH_PARENT. RV cannot call LM.onMeasure() second time
3343 mLayout.onMeasure(mRecycler, mState, widthSpec, heightSpec);
3350 * An implementation of {@link View#onMeasure(in
9947 public void onMeasure(@NonNull Recycler recycler, @NonNull State state, int widthSpec, method in class:RecyclerView.LayoutManager
[all...]
/frameworks/base/core/java/android/view/
H A DView.java230 * <td><code>{@link #onMeasure(int, int)}</code></td>
4818 // Older apps expect onMeasure() to always be called on a layout pass, regardless
17810 * before or after {@link #onMeasure(int, int)}.
18053 * {@link #onMeasure(int, int)}.
20659 onMeasure(mOldWidthMeasureSpec, mOldHeightMeasureSpec);
23120 * {@link #onMeasure(int, int)}, called by this method. Therefore, only
23121 * {@link #onMeasure(int, int)} can and must be overridden by subclasses.
23130 * @see #onMeasure(int, int)
23169 onMeasure(widthMeasureSpec, heightMeasureSpec);
23182 + getClass().getName() + "#onMeasure() di
23243 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { method in class:View
[all...]

Completed in 576 milliseconds

123456789