Home
last modified time | relevance | path

Searched refs:ItemTouchHelper (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/controls/management/
DFavoritesModel.kt21 import androidx.recyclerview.widget.ItemTouchHelper
211 val itemTouchHelperCallback = object : ItemTouchHelper.SimpleCallback(0, 0) {
213 private val MOVEMENT = ItemTouchHelper.UP or
214 ItemTouchHelper.DOWN or
215 ItemTouchHelper.LEFT or
216 ItemTouchHelper.RIGHT
232 return ItemTouchHelper.Callback.makeMovementFlags(MOVEMENT, 0) in getMovementFlags()
234 return ItemTouchHelper.Callback.makeMovementFlags(0, 0) in getMovementFlags()
DControlsEditingActivity.kt35 import androidx.recyclerview.widget.ItemTouchHelper
290 ItemTouchHelper(model.itemTouchHelperCallback).attachToRecyclerView(recyclerView) in setUpList()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/customize/
DTileAdapter.java39 import androidx.recyclerview.widget.ItemTouchHelper;
93 private final ItemTouchHelper mItemTouchHelper;
133 mItemTouchHelper = new ItemTouchHelper(mCallbacks); in TileAdapter()
192 public ItemTouchHelper getItemTouchHelper() { in getItemTouchHelper()
800 private final ItemTouchHelper.Callback mCallbacks = new ItemTouchHelper.Callback() {
815 if (actionState != ItemTouchHelper.ACTION_STATE_DRAG) {
862 int dragFlags = ItemTouchHelper.UP | ItemTouchHelper.DOWN
863 | ItemTouchHelper.RIGHT | ItemTouchHelper.LEFT;
/frameworks/base/core/java/com/android/internal/widget/helper/
DItemTouchHelper.java71 public class ItemTouchHelper extends RecyclerView.ItemDecoration class
429 public ItemTouchHelper(Callback callback) { in ItemTouchHelper() method in ItemTouchHelper
1924 List<ItemTouchHelper.RecoverAnimation> recoverAnimationList, in onDraw()
1928 final ItemTouchHelper.RecoverAnimation anim = recoverAnimationList.get(i); in onDraw()
1943 List<ItemTouchHelper.RecoverAnimation> recoverAnimationList, in onDrawOver()
1947 final ItemTouchHelper.RecoverAnimation anim = recoverAnimationList.get(i); in onDrawOver()
/frameworks/base/core/java/com/android/internal/widget/
DLinearLayoutManager.java32 import com.android.internal.widget.helper.ItemTouchHelper;
41 ItemTouchHelper.ViewDropHandler, RecyclerView.SmoothScroller.ScrollVectorProvider {