Searched refs:lastView (Results 1 – 10 of 10) sorted by relevance
60 val lastView = getChildAt(childCount - 1) regex61 if (lastView.visibility != GONE) {62 val lp = lastView.layoutParams as MarginLayoutParams64 val height = lastView.measuredHeight + lp.bottomMargin + lp.topMargin67 val width = lastView.measuredWidth + lp.leftMargin + lp.rightMargin
281 ExpandableView lastView = getLastVisibleChild(); in updateBounds() local282 if (lastView != null) { in updateBounds()283 float finalTranslationY = ViewState.getFinalTranslationY(lastView); in updateBounds()284 int finalHeight = ExpandableViewState.getFinalActualHeight(lastView); in updateBounds()287 finalTranslationY + finalHeight - lastView.getClipBottomAmount()); in updateBounds()293 newBottom = (int) (lastView.getTranslationY() + lastView.getActualHeight() in updateBounds()294 - lastView.getClipBottomAmount()); in updateBounds()297 lastView.getTranslationY() + lastView.getActualHeight(), in updateBounds()
49 View lastView = null; in onMeasure() local53 if (lastView != null) { in onMeasure()54 radio.setAccessibilityTraversalAfter(lastView.getId()); in onMeasure()58 lastView = findLastClickable(content); in onMeasure()
897 View lastView = null; in setBackground() local934 if (lastView != null) { in setBackground()936 lastView.setBackgroundResource(lastLight ? topBright : topDark); in setBackground()938 lastView.setBackgroundResource(lastLight ? centerBright : centerDark); in setBackground()943 lastView = v; in setBackground()947 if (lastView != null) { in setBackground()955 lastView.setBackgroundResource( in setBackground()961 lastView.setBackgroundResource(lastLight ? fullBright : fullDark); in setBackground()
257 View lastView = null; in assignMarginsAndBackgrounds() local262 if (lastView != null) { in assignMarginsAndBackgrounds()263 MarginLayoutParams mlp = (MarginLayoutParams) lastView.getLayoutParams(); in assignMarginsAndBackgrounds()266 lastView = view; in assignMarginsAndBackgrounds()267 MarginLayoutParams mlp = (MarginLayoutParams) lastView.getLayoutParams(); in assignMarginsAndBackgrounds()
298 View lastView = landscape ? mLastLandscape : mLastPortrait; in inflateButton() local303 if (lastView != null) { in inflateButton()304 accessibilityView.setAccessibilityTraversalAfter(lastView.getId()); in inflateButton()
906 final View lastView = target.getChildAt(childCount - 1); in canTargetScrollVertically() local907 if (lastView.getBottom() <= target.getHeight()) { in canTargetScrollVertically()
161 ExpandableView lastView = ambientState.getLastVisibleBackgroundChild(); in updateState() local163 if (mShowNotificationShelf && lastView != null) { in updateState()164 ExpandableViewState lastViewState = lastView.getViewState(); in updateState()
214 final View lastView = mRecyclerView.getChildAt(mRecyclerView.getChildCount() - 1); in isScrolledToBottom() local220 final long id = mRecyclerView.getChildItemId(lastView); in isScrolledToBottom()228 return isAtBottom && lastView.getBottom() <= mRecyclerView.getHeight(); in isScrolledToBottom()
4887 final View lastView = getChildAt(offsetToLast);4888 mMotionViewOriginalTop = lastView.getTop();7741 final View lastView = getChildAt(lastViewIndex); in run() local7742 final int lastViewHeight = lastView.getHeight(); in run()7743 final int lastViewTop = lastView.getTop(); in run()7835 final View lastView = getChildAt(lastViewIndex); in run() local7836 final int lastViewHeight = lastView.getHeight(); in run()7837 final int lastViewTop = lastView.getTop(); in run()