Home
last modified time | relevance | path

Searched refs:firstView (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/
DNotificationSection.java243 ActivatableNotificationView firstView = getFirstVisibleChild(); in updateBounds() local
244 if (firstView != null) { in updateBounds()
246 int finalTranslationY = (int) Math.ceil(ViewState.getFinalTranslationY(firstView)); in updateBounds()
254 newTop = (int) Math.ceil(firstView.getTranslationY()); in updateBounds()
257 if (firstView.showingPulsing()) { in updateBounds()
260 + ExpandableViewState.getFinalActualHeight(firstView)); in updateBounds()
262 mBounds.left += Math.max(firstView.getTranslation(), 0); in updateBounds()
263 mBounds.right += Math.min(firstView.getTranslation(), 0); in updateBounds()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/globalactions/
DGlobalActionsGridLayoutTest.java137 View firstView = new View(mContext, null); in testUpdateSeparatedItemSize() local
141 separatedView.addView(firstView); in testUpdateSeparatedItemSize()
145 ViewGroup.LayoutParams childParams = firstView.getLayoutParams(); in testUpdateSeparatedItemSize()
153 childParams = firstView.getLayoutParams(); in testUpdateSeparatedItemSize()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/bubbles/animation/
DStackAnimationControllerTest.java195 final View firstView = mLayout.getChildAt(0); in testChildRemoved() local
196 mLayout.removeView(firstView); in testChildRemoved()
200 assertEquals(-1, mLayout.indexOfChild(firstView)); in testChildRemoved()
/frameworks/base/core/java/android/widget/
DRemoteViewsAdapter.java958 RemoteViews firstView = factory.getViewAt(0); in updateTemporaryMetaData() local
959 if (firstView != null) { in updateTemporaryMetaData()
960 loadingTemplate.loadFirstViewHeight(firstView, mContext, in updateTemporaryMetaData()
1283 RemoteViews firstView, Context context, Executor executor) { in loadFirstViewHeight() argument
1285 firstView.applyAsync(context, new RemoteViewsFrameLayout(context, null), executor, in loadFirstViewHeight()
DAbsListView.java4828 final View firstView = getChildAt(0);
4829 mMotionViewOriginalTop = firstView.getTop();
7741 final View firstView = getChildAt(0); in run()
7742 if (firstView == null) { in run()
7745 final int firstViewTop = firstView.getTop(); in run()
/frameworks/base/core/java/com/android/internal/widget/
DAutoScrollHelper.java914 final View firstView = target.getChildAt(0); in canTargetScrollVertically() local
915 if (firstView.getTop() >= 0) { in canTargetScrollVertically()