Home
last modified time | relevance | path

Searched refs:mGrid (Results 1 – 5 of 5) sorted by relevance

/development/samples/ApiDemos/src/com/example/android/apis/view/
DGrid3.java43 GridView mGrid; field in Grid3
52 mGrid = (GridView) findViewById(R.id.myGrid); in onCreate()
53 mGrid.setAdapter(new AppsAdapter()); in onCreate()
54 mGrid.setChoiceMode(GridView.CHOICE_MODE_MULTIPLE_MODAL); in onCreate()
55 mGrid.setMultiChoiceModeListener(new MultiChoiceModeListener()); in onCreate()
152 int selectCount = mGrid.getCheckedItemCount(); in onItemCheckedStateChanged()
DGrid1.java38 GridView mGrid; field in Grid1
47 mGrid = (GridView) findViewById(R.id.myGrid); in onCreate()
48 mGrid.setAdapter(new AppsAdapter()); in onCreate()
/development/samples/Home/src/com/example/android/home/
DHome.java106 private GridView mGrid; field in Home
190 outState.putBoolean(KEY_SAVE_GRID_OPENED, mGrid.getVisibility() == View.VISIBLE); in onSaveInstanceState()
213 if (mGrid == null) { in bindApplications()
214 mGrid = (GridView) findViewById(R.id.all_apps); in bindApplications()
216 mGrid.setAdapter(new ApplicationsAdapter(this, mApplications)); in bindApplications()
217 mGrid.setSelection(0); in bindApplications()
232 mGrid.setOnItemClickListener(new ApplicationLauncher()); in bindButtons()
541 mGrid.startAnimation(mGridEntry); in showApplications()
544 mGrid.setVisibility(View.VISIBLE); in showApplications()
570 mGrid.startAnimation(mGridExit); in hideApplications()
[all …]
/development/samples/ApiDemos/src/com/example/android/apis/graphics/
DMatrixPaletteRenderer.java44 private Grid mGrid; field in MatrixPaletteRenderer
295 mGrid = generateWeightedGrid(gl); in onSurfaceCreated()
363 mGrid.draw(gl); in onDrawFrame()
DCubeMapActivity.java52 private Grid mGrid; field in CubeMapActivity.Renderer
97 mGrid.draw(gl); in onDrawFrame()
123 mGrid = generateTorusGrid(gl, 60, 60, 3.0f, 0.75f); in onSurfaceCreated()