Searched refs:mLabels (Results 1 – 3 of 3) sorted by relevance
/development/samples/ApiDemos/src/com/example/android/apis/graphics/spritetext/ |
D | SpriteTextRenderer.java | 114 if (mLabels != null) { in onSurfaceCreated() 115 mLabels.shutdown(gl); in onSurfaceCreated() 117 mLabels = new LabelMaker(true, 256, 64); in onSurfaceCreated() 119 mLabels.initialize(gl); in onSurfaceCreated() 120 mLabels.beginAdding(gl); in onSurfaceCreated() 121 mLabelA = mLabels.add(gl, "A", mLabelPaint); in onSurfaceCreated() 122 mLabelB = mLabels.add(gl, "B", mLabelPaint); in onSurfaceCreated() 123 mLabelC = mLabels.add(gl, "C", mLabelPaint); in onSurfaceCreated() 124 mLabelMsPF = mLabels.add(gl, "ms/f", mLabelPaint); in onSurfaceCreated() 125 mLabels.endAdding(gl); in onSurfaceCreated() [all …]
|
D | LabelMaker.java | 123 mLabels.clear(); in beginAdding() 253 mLabels.add(new Label(width, height, ascent, in add() 255 return mLabels.size() - 1; in add() 280 return mLabels.get(labelID).width; in getWidth() 290 return mLabels.get(labelID).height; in getHeight() 302 return mLabels.get(labelID).baseline; in getBaseline() 341 Label label = mLabels.get(labelID); in draw() 404 private ArrayList<Label> mLabels = new ArrayList<Label>(); field in LabelMaker
|
/development/samples/ApiDemos/src/com/example/android/apis/accessibility/ |
D | TaskListView.java | 67 private String[] mLabels = null; field in TaskAdapter 74 mLabels = labels; in TaskAdapter() 80 return mLabels.length; in getCount() 97 label.setText(mLabels[position]); in getView() 102 .append(mLabels[position]).toString(); in getView() 112 return mLabels[position]; in getItem()
|