Searched refs:firstPosition (Results 1 – 5 of 5) sorted by relevance
111 private fun swapListItems(firstPosition: Int, secondPosition: Int) { in <lambda>()112 if (outOfRange(firstPosition) || outOfRange(secondPosition)) { in <lambda>()115 swapPreferences(firstPosition, secondPosition) in <lambda>()117 priorityList = priorityList.toMutableList().apply { swap(firstPosition, secondPosition) } in <lambda>()120 private fun swapPreferences(firstPosition: Int, secondPosition: Int) { in <lambda>()123 val firstPreference = this.getPreference(firstPosition) in <lambda>()125 val firstAppMetaData = priorityList[firstPosition] in <lambda>()127 val newFirstPreference = rankedActionPreference(firstPosition, secondAppMetadata) in <lambda>()
74 int firstPosition = getFirstVisiblePosition() + 1; in layoutChildren() local76 if (position >= firstPosition && position <= lastPosition) { in layoutChildren()92 int twoScreens = (lastPosition - firstPosition) * 2; in layoutChildren()94 if (position < firstPosition) { in layoutChildren()99 if (preliminaryPosition < firstPosition) { in layoutChildren()
413 int[] firstPosition = new int[2]; in hasOverlap() local416 view1.getLocationOnScreen(firstPosition); in hasOverlap()420 Rect rectView1 = new Rect(firstPosition[0], firstPosition[1], in hasOverlap()421 firstPosition[0] + view1.getMeasuredWidth(), in hasOverlap()422 firstPosition[1] + view1.getMeasuredHeight()); in hasOverlap()
396 val firstPosition: Int in goTo() constant397 firstPosition = if (child != null) { in goTo()402 var lastPosition = firstPosition + mNumWeeks - 1 in goTo()414 if (position < firstPosition || position > lastPosition || forceScroll) { in goTo()
393 final int firstPosition = mList.getFirstVisiblePosition(); in onActivityCreated()403 mList.setSelectionFromTop(firstPosition, offset); in onActivityCreated()