Home
last modified time | relevance | path

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

/development/apps/Development/src/com/android/development/
DDetails.java51 mData = (ArrayList<ColumnData>)getIntent().getExtra("data"); in onCreate()
84 int count = mData.size(); in addDataViews()
86 ColumnData cd = mData.get(i); in addDataViews()
120 mData.clear();
125 mData.add(cd);
143 int count = mData.size();
145 ColumnData cd = mData.get(i);
155 ArrayList<ColumnData> mData; field in Details
DPackageSummary.java59 private TextView mData; field in PackageSummary
84 mData = (TextView)findViewById(R.id.data); in onCreate()
129 mData.setText(info.applicationInfo.dataDir); in onCreate()
/development/samples/devbytes/animation/ListViewCellInsertion/src/com/example/android/insertingcells/
DCustomArrayAdapter.java49 List<ListItemObject> mData; field in CustomArrayAdapter
57 mData = data; in CustomArrayAdapter()
74 for (int i = 0; i < mData.size(); ++i) { in updateStableIds()
75 mIdMap.put(mData.get(i), mCounter++); in updateStableIds()
80 mIdMap.put(mData.get(position), ++mCounter); in addStableIdForDataAtPosition()
91 ListItemObject obj = mData.get(position); in getView()
DInsertingCells.java65 List<ListItemObject> mData = new ArrayList<ListItemObject>(); in onCreate() local
66 CustomArrayAdapter mAdapter = new CustomArrayAdapter(this, R.layout.list_view_item, mData); in onCreate()
74 mListView.setData(mData); in onCreate()
DInsertionListView.java68 private List<ListItemObject> mData; field in InsertionListView
123 mData.add(0, newObj); in addRow()
159 ListItemObject obj = mData.get(0); in addRow()
342 mData = data; in setData()
/development/samples/Support7Demos/src/com/example/android/supportv7/util/
DSortedListActivity.java74 SortedList<Item> mData; field in SortedListActivity.SortedListAdapter
78 mData = new SortedList<Item>(Item.class, new SortedListAdapterCallback<Item>(this) { in SortedListAdapter()
108 mData.add(item); in SortedListAdapter()
113 mData.add(item); in addItem()
127 mData.recalculatePositionOfItemAt(adapterPosition); in onCreateViewHolder()
134 holder.bindTo(mData.get(position)); in onBindViewHolder()
139 return mData.size(); in getItemCount()
/development/samples/devbytes/animation/ListViewExpandingCells/src/com/example/android/expandingcells/
DExpandingCells.java57 List<ExpandableListItem> mData = new ArrayList<ExpandableListItem>(); in onCreate() local
61 mData.add(new ExpandableListItem(obj.getTitle(), obj.getImgResource(), in onCreate()
65 CustomArrayAdapter adapter = new CustomArrayAdapter(this, R.layout.list_view_item, mData); in onCreate()
DCustomArrayAdapter.java47 private List<ExpandableListItem> mData; field in CustomArrayAdapter
53 mData = data; in CustomArrayAdapter()
67 final ExpandableListItem object = mData.get(position); in getView()
/development/samples/TicTacToeLib/src/com/example/android/tictactoe/library/
DGameView.java95 private final State[] mData = new State[9]; field in GameView
141 for (int i = 0; i < mData.length; i++) { in GameView()
142 mData[i] = State.EMPTY; in GameView()
149 for (int i = 0; i < mData.length; i++) { in GameView()
150 mData[i] = State.fromInt(rnd.nextInt(3)); in GameView()
156 return mData; in getData()
160 mData[cellIndex] = value; in setCell()
228 v = mData[k]; in onDraw()
311 State state = cell == mSelectedCell ? mSelectedValue : mData[cell];
362 int[] data = new int[mData.length];
[all …]
/development/samples/browseable/DisplayingBitmaps/src/com.example.android.displayingbitmaps/util/
DImageWorker.java206 final Object bitmapData = bitmapWorkerTask.mData; in cancelWork()
223 final Object bitmapData = bitmapWorkerTask.mData; in cancelPotentialWork()
258 private Object mData; field in ImageWorker.BitmapWorkerTask
263 mData = data; in BitmapWorkerTask()
269 mData = data; in BitmapWorkerTask()
284 final String dataString = String.valueOf(mData); in doInBackground()
312 bitmap = processBitmap(mData); in doInBackground()
DAsyncTask.java670 result.mTask.finish(result.mData[0]); in handleMessage()
673 result.mTask.onProgressUpdate(result.mData); in handleMessage()
686 final Data[] mData; field in AsyncTask.AsyncTaskResult
690 mData = data; in AsyncTaskResult()
/development/ndk/platforms/android-21/include/media/
DNdkMediaCodec.h164 AMediaCodec *mData, size_t idx, int64_t timestampNs);
/development/samples/Support7Demos/src/com/example/android/supportv7/widget/
DAnimatedRecyclerView.java675 List<String> mData; field in MyAdapter
684 mData = data; in MyAdapter()
685 for (String itemText : mData) { in MyAdapter()
703 String itemText = mData.get(position); in onBindViewHolder()
722 return mData.size(); in getItemCount()