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/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/bubbles/animation/
DStackAnimationControllerTest.java211 final View firstView = mLayout.getChildAt(0); in testChildRemoved() local
212 mLayout.removeView(firstView); in testChildRemoved()
216 assertEquals(-1, mLayout.indexOfChild(firstView)); in testChildRemoved()
/frameworks/base/core/java/android/widget/
DRemoteViewsAdapter.java960 RemoteViews firstView = factory.getViewAt(0); in updateTemporaryMetaData() local
961 if (firstView != null) { in updateTemporaryMetaData()
962 loadingTemplate.loadFirstViewHeight(firstView, mContext, in updateTemporaryMetaData()
1285 RemoteViews firstView, Context context, Executor executor) { in loadFirstViewHeight() argument
1287 firstView.applyAsync(context, new RemoteViewsFrameLayout(context, null), executor, in loadFirstViewHeight()
DAbsListView.java4887 final View firstView = getChildAt(0);
4888 mMotionViewOriginalTop = firstView.getTop();
7813 final View firstView = getChildAt(0); in run()
7814 if (firstView == null) { in run()
7817 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()