Home
last modified time | relevance | path

Searched refs:lastView (Results 1 – 12 of 12) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/
DZenRadioLayout.java49 View lastView = null; in onMeasure() local
53 if (lastView != null) { in onMeasure()
54 radio.setAccessibilityTraversalAfter(lastView.getId()); in onMeasure()
58 lastView = findLastClickable(content); in onMeasure()
/frameworks/support/core-ui/java/android/support/v4/widget/
DListViewAutoScrollHelper.java61 final View lastView = target.getChildAt(childCount - 1); in canTargetScrollVertically() local
62 if (lastView.getBottom() <= target.getHeight()) { in canTargetScrollVertically()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/stack/
DStackScrollAlgorithm.java251 ExpandableView lastView = null; in initAlgorithmState() local
268 lastView = null; in initAlgorithmState()
276 if (lastView != null) { in initAlgorithmState()
277 Float prevValue = state.paddingMap.get(lastView); in initAlgorithmState()
293 state.paddingMap.put(lastView, newValue); in initAlgorithmState()
295 } else if (lastView != null) { in initAlgorithmState()
298 float newValue = getPaddingForValue(state.paddingMap.get(lastView)); in initAlgorithmState()
299 state.paddingMap.put(lastView, newValue); in initAlgorithmState()
318 lastView = v; in initAlgorithmState()
DNotificationStackScrollLayout.java2260 ActivatableNotificationView lastView = in updateBackgroundBounds() local
2265 if (lastView != null) { in updateBackgroundBounds()
2267 if (lastView == mShelf) { in updateBackgroundBounds()
2270 finalTranslationY = (int) ViewState.getFinalTranslationY(lastView); in updateBackgroundBounds()
2272 int finalHeight = ExpandableViewState.getFinalActualHeight(lastView); in updateBackgroundBounds()
2273 int finalBottom = finalTranslationY + finalHeight - lastView.getClipBottomAmount(); in updateBackgroundBounds()
2281 bottom = (int) (lastView.getTranslationY() + lastView.getActualHeight() in updateBackgroundBounds()
2282 - lastView.getClipBottomAmount()); in updateBackgroundBounds()
/frameworks/base/core/java/com/android/internal/app/
DAlertController.java822 View lastView = null; in setBackground() local
859 if (lastView != null) { in setBackground()
861 lastView.setBackgroundResource(lastLight ? topBright : topDark); in setBackground()
863 lastView.setBackgroundResource(lastLight ? centerBright : centerDark); in setBackground()
868 lastView = v; in setBackground()
872 if (lastView != null) { in setBackground()
880 lastView.setBackgroundResource( in setBackground()
886 lastView.setBackgroundResource(lastLight ? fullBright : fullDark); in setBackground()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DNavigationBarInflaterView.java268 View lastView = landscape ? mLastLandscape : mLastPortrait; in inflateButton() local
273 if (lastView != null) { in inflateButton()
274 accessibilityView.setAccessibilityTraversalAfter(lastView.getId()); in inflateButton()
/frameworks/base/core/java/com/android/internal/widget/
DAutoScrollHelper.java906 final View lastView = target.getChildAt(childCount - 1); in canTargetScrollVertically() local
907 if (lastView.getBottom() <= target.getHeight()) { in canTargetScrollVertically()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DNotificationShelf.java180 View lastView = ambientState.getLastVisibleBackgroundChild(); in updateState() local
181 if (mShowNotificationShelf && lastView != null) { in updateState()
184 ExpandableViewState lastViewState = resultState.getViewStateForView(lastView); in updateState()
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
DGridLayoutManager.java2884 View lastView = null;
2914 lastView = findViewByPosition(positions.get(positions.size() - 1));
2915 if (getViewMax(lastView) - viewMin > clientSize) {
2916 lastView = null;
2920 if (lastView != null) {
2925 lastView = view;
2932 } else if (lastView != null) {
2933 scrollPrimary = getViewMax(lastView) - (paddingMin + clientSize);
2938 } else if (lastView != null) {
2939 secondaryAlignedView = lastView;
/frameworks/base/core/java/android/widget/
DAbsListView.java4754 final View lastView = getChildAt(offsetToLast);
4755 mMotionViewOriginalTop = lastView.getTop();
7509 final View lastView = getChildAt(lastViewIndex); in run() local
7510 final int lastViewHeight = lastView.getHeight(); in run()
7511 final int lastViewTop = lastView.getTop(); in run()
7603 final View lastView = getChildAt(lastViewIndex); in run() local
7604 final int lastViewHeight = lastView.getHeight(); in run()
7605 final int lastViewTop = lastView.getTop(); in run()
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/
DGridLayoutManagerTest.java735 View lastView = rv.getChildAt(rv.getChildCount() - 1); in movingAGroupOffScreenForAddedItems() local
736 final int lastPos = rv.getChildAdapterPosition(lastView); in movingAGroupOffScreenForAddedItems()
/frameworks/support/v17/leanback/tests/java/android/support/v17/leanback/widget/
DGridWidgetTest.java4930 final View lastView = mGridView.findViewHolderForAdapterPosition(0).itemView;
4939 AccessibilityNodeInfoCompat info = AccessibilityNodeInfoCompat.obtain(lastView);
4941 lastView, info);
4956 final View lastView = mGridView.findViewHolderForAdapterPosition(5).itemView;
4965 AccessibilityNodeInfoCompat info = AccessibilityNodeInfoCompat.obtain(lastView);
4967 lastView, info);