Home
last modified time | relevance | path

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

/frameworks/support/wear/src/android/support/wear/internal/widget/drawer/
DSinglePagePresenter.java42 private int mSelected = 0; field in SinglePagePresenter
111 mSelected = Math.min(mSelected, count - 1); in onDataSetChanged()
118 mUi.setText(mAdapter.getItemText(mSelected), false /* showToastIfNoTextView */); in onDataSetChanged()
119 mUi.selectItem(mSelected); in onDataSetChanged()
134 mUi.deselectItem(mSelected); in onSelected()
136 mSelected = index; in onSelected()
153 mUi.deselectItem(mSelected); in onSetCurrentItemRequested()
155 mSelected = index; in onSetCurrentItemRequested()
/frameworks/base/telephony/java/com/android/internal/telephony/gsm/
DSmsBroadcastConfigInfo.java42 private boolean mSelected; field in SmsBroadcastConfigInfo
53 mSelected = selected; in SmsBroadcastConfigInfo()
116 mSelected = selected; in setSelected()
123 return mSelected; in isSelected()
131 (mSelected ? "ENABLED" : "DISABLED"); in toString()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/
DCdmaSmsBroadcastConfigInfo.java40 private boolean mSelected; field in CdmaSmsBroadcastConfigInfo
50 mSelected = selected; in CdmaSmsBroadcastConfigInfo()
78 return mSelected; in isSelected()
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/helper/
DItemTouchHelper.java172 ViewHolder mSelected = null; field in ItemTouchHelper
250 if (mSelected != null && scrollIfNecessary()) {
251 if (mSelected != null) { //it might be lost during scrolling
252 moveIfNecessary(mSelected);
308 if (mSelected == null) {
338 return mSelected != null;
359 ViewHolder viewHolder = mSelected;
500 outPosition[0] = mSelectedStartX + mDx - mSelected.itemView.getLeft(); in getSelectedDxDy()
502 outPosition[0] = mSelected.itemView.getTranslationX(); in getSelectedDxDy()
505 outPosition[1] = mSelectedStartY + mDy - mSelected.itemView.getTop(); in getSelectedDxDy()
[all …]
/frameworks/base/core/java/com/android/internal/widget/helper/
DItemTouchHelper.java174 ViewHolder mSelected = null; field in ItemTouchHelper
252 if (mSelected != null && scrollIfNecessary()) {
253 if (mSelected != null) { //it might be lost during scrolling
254 moveIfNecessary(mSelected);
310 if (mSelected == null) {
340 return mSelected != null;
361 ViewHolder viewHolder = mSelected;
502 outPosition[0] = mSelectedStartX + mDx - mSelected.itemView.getLeft(); in getSelectedDxDy()
504 outPosition[0] = mSelected.itemView.getTranslationX(); in getSelectedDxDy()
507 outPosition[1] = mSelectedStartY + mDy - mSelected.itemView.getTop(); in getSelectedDxDy()
[all …]
/frameworks/data-binding/extensions/baseAdapters/src/main/java/android/databinding/adapters/
DAdapterViewBindingAdapter.java58 private final OnItemSelected mSelected; field in AdapterViewBindingAdapter.OnItemSelectedComponentListener
64 this.mSelected = selected; in OnItemSelectedComponentListener()
71 if (mSelected != null) { in onItemSelected()
72 mSelected.onItemSelected(parent, view, position, id); in onItemSelected()
/frameworks/opt/chips/src/com/android/ex/chips/recipientchip/
DSimpleRecipientChip.java38 private boolean mSelected = false; field in SimpleRecipientChip
54 mSelected = selected; in setSelected()
59 return mSelected; in isSelected()
/frameworks/support/samples/Support7Demos/src/com/example/android/supportv7/widget/
DAnimatedRecyclerView.java377 boolean selected = mAdapter.mSelected.get(itemText); in deleteSelectedItems()
407 mAdapter.mSelected.put(text, Boolean.FALSE); in addAtPosition()
674 ArrayMap<String, Boolean> mSelected = new ArrayMap<String, Boolean>(); field in MyAdapter
684 mSelected.put(itemText, Boolean.FALSE); in MyAdapter()
706 if (mSelected.get(itemText) != null) { in onBindViewHolder()
707 selected = mSelected.get(itemText); in onBindViewHolder()
724 mSelected.put(holder.boundText, selected); in selectItem()
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
DRowPresenter.java150 boolean mSelected; field in RowPresenter.ViewHolder
202 return mSelected; in isSelected()
432 rowViewHolder.mSelected = selected; in setRowViewSelected()
DListRowPresenter.java498 if (rowViewHolder.mSelected) { in selectChildView()
610 if (vh.mExpanded && vh.mSelected) { in updateFooterViewSwitcher()
/frameworks/support/v7/mediarouter/src/android/support/v7/media/
DRegisteredMediaRouteProvider.java345 private boolean mSelected; field in RegisteredMediaRouteProvider.Controller
360 if (mSelected) { in attachConnection()
388 mSelected = true; in onSelect()
401 mSelected = false; in onUnselect()
/frameworks/base/core/java/android/view/accessibility/
DAccessibilityNodeInfo.java4469 other.mColumnSpan, other.mHeading, other.mSelected); in obtain()
4509 info.mSelected = selected; in obtain()
4518 private boolean mSelected; field in AccessibilityNodeInfo.CollectionItemInfo
4536 mSelected = selected; in CollectionItemInfo()
4591 return mSelected; in isSelected()
4608 mSelected = false; in clear()