Home
last modified time | relevance | path

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

/development/samples/browseable/DisplayingBitmaps/src/com.example.android.displayingbitmaps/ui/
DImageGridFragment.java130 final int numColumns = (int) Math.floor( in onCreateView()
132 if (numColumns > 0) { in onCreateView()
134 (mGridView.getWidth() / numColumns) - mImageThumbSpacing; in onCreateView()
135 mAdapter.setNumColumns(numColumns); in onCreateView()
138 Log.d(TAG, "onCreateView - numColumns set to " + numColumns); in onCreateView()
328 public void setNumColumns(int numColumns) { in setNumColumns() argument
329 mNumColumns = numColumns; in setNumColumns()