Lines Matching defs:onMeasure

3259     protected void onMeasure(int widthSpec, int heightSpec) {
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(int, int)} to fall back to in various scenarios
3520 * Called in onMeasure and dispatchLayout.
3598 // First 2 steps are done in onMeasure but looks like we have to run again due to
7396 * onMeasure method OR fake measure specs created by the RecyclerView.
7468 * @param widthSpec The widthSpec that was passing into RecyclerView's onMeasure
7469 * @param heightSpec The heightSpec that was passing into RecyclerView's onMeasure
7505 * measurement specs that were passed into {@link RecyclerView#onMeasure(int, int)}. It is
7509 * {@link RecyclerView#onMeasure(int, int)}.
7593 * {@link LayoutManager#onMeasure(Recycler, State, int, int)}.
7612 * {@link LayoutManager#onMeasure(Recycler, State, int, int)}.
7619 * {@link LayoutManager#onMeasure(Recycler, State, int, int)} should not be overridden.
7625 * {@link RecyclerView#onMeasure(int, int)}, and then calculating desired dimensions based
7631 * <li>When {@link RecyclerView#onMeasure(int, int)} is called, if the provided measure
7635 * {@link LayoutManager#onMeasure(Recycler, State, int, int)} for backwards compatibility
7655 * <li>Any following calls to {@link RecyclerView#onMeasure(int, int)} will run
7673 * {@link LayoutManager#onMeasure(Recycler, State, int, int)}.
7676 * @see #onMeasure(Recycler, State, int, int)
9947 public void onMeasure(@NonNull Recycler recycler, @NonNull State state, int widthSpec,
12182 * {@code onMeasure} call. This is because pre-layout means the previous state of the