Searched refs:mButtonDispatchers (Results 1 – 3 of 3) sorted by relevance
61 mNavBarInflaterView.mButtonDispatchers = new SparseArray<>(1); in setUp()62 mNavBarInflaterView.mButtonDispatchers.put(BUTTON_ID, new ButtonDispatcher(BUTTON_ID)); in setUp()92 ButtonDispatcher button = mNavBarInflaterView.mButtonDispatchers.get(BUTTON_ID); in testUpdateButtonDispatchersCurrentView_isVerticalTrue()104 ButtonDispatcher button = mNavBarInflaterView.mButtonDispatchers.get(BUTTON_ID); in testUpdateButtonDispatchersCurrentView_isVerticalFalse()
89 SparseArray<ButtonDispatcher> mButtonDispatchers; field in NavigationBarInflaterView167 mButtonDispatchers = buttonDispatchers; in setButtonDispatchers()174 if (mButtonDispatchers != null) { in updateButtonDispatchersCurrentView()176 for (int i = 0; i < mButtonDispatchers.size(); i++) { in updateButtonDispatchersCurrentView()177 final ButtonDispatcher dispatcher = mButtonDispatchers.valueAt(i); in updateButtonDispatchersCurrentView()439 if (mButtonDispatchers != null) { in addToDispatchers()440 final int indexOfKey = mButtonDispatchers.indexOfKey(v.getId()); in addToDispatchers()442 mButtonDispatchers.valueAt(indexOfKey).addView(v); in addToDispatchers()455 if (mButtonDispatchers != null) { in clearViews()456 for (int i = 0; i < mButtonDispatchers.size(); i++) { in clearViews()[all …]
146 private final SparseArray<ButtonDispatcher> mButtonDispatchers = new SparseArray<>(); field in NavigationBarView317 mButtonDispatchers.put(R.id.back, new ButtonDispatcher(R.id.back)); in NavigationBarView()318 mButtonDispatchers.put(R.id.home, new ButtonDispatcher(R.id.home)); in NavigationBarView()319 mButtonDispatchers.put(R.id.home_handle, new ButtonDispatcher(R.id.home_handle)); in NavigationBarView()320 mButtonDispatchers.put(R.id.recent_apps, new ButtonDispatcher(R.id.recent_apps)); in NavigationBarView()321 mButtonDispatchers.put(R.id.ime_switcher, imeSwitcherButton); in NavigationBarView()322 mButtonDispatchers.put(R.id.accessibility_button, accessibilityButton); in NavigationBarView()323 mButtonDispatchers.put(R.id.rotate_suggestion, rotateSuggestionButton); in NavigationBarView()324 mButtonDispatchers.put(R.id.menu_container, mContextualButtonGroup); in NavigationBarView()446 return mButtonDispatchers.get(R.id.recent_apps); in getRecentsButton()[all …]