Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/customize/
DTileAdapter.java81 private int mEditIndex; field in TileAdapter
179 if (mAccessibilityAction == ACTION_ADD && position == mEditIndex - 1) { in getItemViewType()
229 } else if (!canRemoveTiles() && mCurrentDrag.getAdapterPosition() < mEditIndex) { in onBindViewHolder()
270 if (position > mEditIndex) { in onBindViewHolder()
281 holder.mTileView.setShowAppLabel(position > mEditIndex && !info.isSystem); in onBindViewHolder()
284 final boolean selectable = mAccessibilityAction == ACTION_NONE || position < mEditIndex; in onBindViewHolder()
298 if (position < mEditIndex && canRemoveTiles()) { in onBindViewHolder()
317 mTiles.remove(mEditIndex--);
318 notifyItemRemoved(mEditIndex);
320 if (position == mEditIndex - 1) position--;
[all …]