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.java256 ExpandableView firstView = getFirstVisibleChild(); in updateBounds() local
257 if (firstView != null) { in updateBounds()
259 int finalTranslationY = (int) Math.ceil(ViewState.getFinalTranslationY(firstView)); in updateBounds()
267 newTop = (int) Math.ceil(firstView.getTranslationY()); in updateBounds()
270 if (firstView.showingPulsing()) { in updateBounds()
273 + ExpandableViewState.getFinalActualHeight(firstView)); in updateBounds()
275 mBounds.left += Math.max(firstView.getTranslation(), 0); in updateBounds()
276 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.java209 final View firstView = mLayout.getChildAt(0); in testChildRemoved() local
210 mLayout.removeView(firstView); in testChildRemoved()
214 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.java4809 final View firstView = getChildAt(0);
4810 mMotionViewOriginalTop = firstView.getTop();
7723 final View firstView = getChildAt(0); in run()
7724 if (firstView == null) { in run()
7727 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()