Searched refs:mButtonDispatchers (Results 1 – 2 of 2) sorted by relevance
114 private final SparseArray<ButtonDispatcher> mButtonDispatchers = new SparseArray<>(); field in NavigationBarView217 mButtonDispatchers.put(R.id.back, new ButtonDispatcher(R.id.back)); in NavigationBarView()218 mButtonDispatchers.put(R.id.home, new ButtonDispatcher(R.id.home)); in NavigationBarView()219 mButtonDispatchers.put(R.id.recent_apps, new ButtonDispatcher(R.id.recent_apps)); in NavigationBarView()220 mButtonDispatchers.put(R.id.menu, new ButtonDispatcher(R.id.menu)); in NavigationBarView()221 mButtonDispatchers.put(R.id.ime_switcher, new ButtonDispatcher(R.id.ime_switcher)); in NavigationBarView()222 mButtonDispatchers.put(R.id.accessibility_button, in NavigationBarView()276 return mButtonDispatchers.get(R.id.recent_apps); in getRecentsButton()280 return mButtonDispatchers.get(R.id.menu); in getMenuButton()284 return mButtonDispatchers.get(R.id.back); in getBackButton()[all …]
84 private SparseArray<ButtonDispatcher> mButtonDispatchers; field in NavigationBarInflaterView166 mButtonDispatchers = buttonDisatchers; in setButtonDispatchers()360 if (mButtonDispatchers != null) { in addToDispatchers()361 final int indexOfKey = mButtonDispatchers.indexOfKey(v.getId()); in addToDispatchers()363 mButtonDispatchers.valueAt(indexOfKey).addView(v); in addToDispatchers()377 if (mButtonDispatchers != null) { in clearViews()378 for (int i = 0; i < mButtonDispatchers.size(); i++) { in clearViews()379 mButtonDispatchers.valueAt(i).clear(); in clearViews()