Home
last modified time | relevance | path

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

/developers/samples/android/wearable/wear/DataLayer/Wearable/src/main/java/com/example/android/wearable/datalayer/
DCustomRecyclerAdapter.java52 private ArrayList<DataLayerScreenData> mDataSet; field in CustomRecyclerAdapter
55 mDataSet = dataSet; in CustomRecyclerAdapter()
105 ImageAssetData imageAssetData = (ImageAssetData) mDataSet.get(position); in onBindViewHolder()
112 EventLoggingData eventLoggingData = (EventLoggingData) mDataSet.get(position); in onBindViewHolder()
132 return mDataSet.size(); in getItemCount()
137 DataLayerScreenData dataLayerScreenData = mDataSet.get(position); in getItemViewType()
143 for (int index = 0; index < mDataSet.size(); index++) { in findItemIndex()
144 if (mDataSet.get(index).getType() == assetType) { in findItemIndex()
155 EventLoggingData dataItemType = (EventLoggingData) mDataSet.get(index); in appendToDataEventLog()
167 ImageAssetData imageAssetData = (ImageAssetData) mDataSet.get(index); in setImageAsset()
/developers/samples/android/wearable/wear/WearNotifications/Wearable/src/main/java/com/example/android/wearable/wear/wearnotifications/
DCustomRecyclerAdapter.java38 private String[] mDataSet; field in CustomRecyclerAdapter
63 mDataSet = dataSet; in CustomRecyclerAdapter()
83 mController.itemSelected(mDataSet[position]); in onBindViewHolder()
88 viewHolder.mTextView.setText(mDataSet[position]); in onBindViewHolder()
94 return mDataSet.length; in getItemCount()
/developers/build/prebuilts/gradle/WearNotifications/Wearable/src/main/java/com/example/android/wearable/wear/wearnotifications/
DCustomRecyclerAdapter.java37 private String[] mDataSet; field in CustomRecyclerAdapter
62 mDataSet = dataSet; in CustomRecyclerAdapter()
82 mController.itemSelected(mDataSet[position]); in onBindViewHolder()
87 viewHolder.mTextView.setText(mDataSet[position]); in onBindViewHolder()
93 return mDataSet.length; in getItemCount()
/developers/build/prebuilts/gradle/RecyclerView/Application/src/main/java/com/example/android/recyclerview/
DCustomAdapter.java33 private String[] mDataSet; field in CustomAdapter
66 mDataSet = dataSet; in CustomAdapter()
89 viewHolder.getTextView().setText(mDataSet[position]); in onBindViewHolder()
96 return mDataSet.length; in getItemCount()
/developers/samples/android/ui/views/RecyclerView/Application/src/main/java/com/example/android/recyclerview/
DCustomAdapter.java33 private String[] mDataSet; field in CustomAdapter
66 mDataSet = dataSet; in CustomAdapter()
89 viewHolder.getTextView().setText(mDataSet[position]); in onBindViewHolder()
96 return mDataSet.length; in getItemCount()
/developers/build/prebuilts/gradle/SpeedTracker/Wearable/src/main/java/com/example/android/wearable/speedtracker/ui/
DSpeedPickerListAdapter.java34 private int[] mDataSet; field in SpeedPickerListAdapter
41 mDataSet = dataset; in SpeedPickerListAdapter()
79 view.setText(mContext.getString(R.string.speed_for_list, mDataSet[position])); in onBindViewHolder()
89 return mDataSet.length; in getItemCount()
/developers/samples/android/wearable/wear/SpeedTracker/Wearable/src/main/java/com/example/android/wearable/speedtracker/ui/
DSpeedPickerListAdapter.java34 private int[] mDataSet; field in SpeedPickerListAdapter
41 mDataSet = dataset; in SpeedPickerListAdapter()
79 view.setText(mContext.getString(R.string.speed_for_list, mDataSet[position])); in onBindViewHolder()
89 return mDataSet.length; in getItemCount()