Merge "Tweaking method name." into ub-launcher3-burnaby

This commit is contained in:
Winson Chung
2015-05-21 22:46:07 +00:00
committed by Android (Google) Code Review
2 changed files with 3 additions and 3 deletions
@@ -209,8 +209,8 @@ public class AlphabeticalAppsList {
/** /**
* Sets the apps updated callback. * Sets the apps updated callback.
*/ */
public void setAppsUpdatedCallback(AdapterChangedCallback auCb) { public void setAdapterChangedCallback(AdapterChangedCallback cb) {
mAdapterChangedCallback = auCb; mAdapterChangedCallback = cb;
} }
/** /**
@@ -211,7 +211,7 @@ public class AppsContainerView extends BaseContainerView implements DragSource,
mNumAppsPerRow = grid.appsViewNumCols; mNumAppsPerRow = grid.appsViewNumCols;
mNumPredictedAppsPerRow = grid.appsViewNumPredictiveCols; mNumPredictedAppsPerRow = grid.appsViewNumPredictiveCols;
mApps = new AlphabeticalAppsList(context, mNumAppsPerRow, mNumPredictedAppsPerRow); mApps = new AlphabeticalAppsList(context, mNumAppsPerRow, mNumPredictedAppsPerRow);
mApps.setAppsUpdatedCallback(this); mApps.setAdapterChangedCallback(this);
mAdapter = new AppsGridAdapter(context, mApps, mNumAppsPerRow, this, this, mLauncher, this); mAdapter = new AppsGridAdapter(context, mApps, mNumAppsPerRow, this, this, mLauncher, this);
mAdapter.setEmptySearchText(res.getString(R.string.loading_apps_message)); mAdapter.setEmptySearchText(res.getString(R.string.loading_apps_message));
mAdapter.setNumAppsPerRow(mNumAppsPerRow); mAdapter.setNumAppsPerRow(mNumAppsPerRow);