Home
last modified time | relevance | path

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

/development/samples/ApiDemos/src/com/example/android/mmslib/pdu/
DEncodedStringValue.java43 private byte[] mData; field in EncodedStringValue
59 mData = new byte[data.length]; in EncodedStringValue()
60 System.arraycopy(data, 0, mData, 0, data.length); in EncodedStringValue()
75 mData = data.getBytes(CharacterSets.DEFAULT_CHARSET_NAME); in EncodedStringValue()
107 byte[] byteArray = new byte[mData.length]; in getTextString()
109 System.arraycopy(mData, 0, byteArray, 0, mData.length); in getTextString()
124 mData = new byte[textString.length]; in setTextString()
125 System.arraycopy(textString, 0, mData, 0, textString.length); in setTextString()
137 return new String(mData); // system default encoding. in getString()
141 return new String(mData, name); in getString()
[all …]
/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/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()