Searched refs:mButtonDispatchers (Results 1 – 3 of 3) sorted by relevance
58 mNavBarInflaterView.mButtonDispatchers = new SparseArray<>(1); in setUp()59 mNavBarInflaterView.mButtonDispatchers.put(BUTTON_ID, new ButtonDispatcher(BUTTON_ID)); in setUp()89 ButtonDispatcher button = mNavBarInflaterView.mButtonDispatchers.get(BUTTON_ID); in testUpdateButtonDispatchersCurrentView_isVerticalTrue()101 ButtonDispatcher button = mNavBarInflaterView.mButtonDispatchers.get(BUTTON_ID); in testUpdateButtonDispatchersCurrentView_isVerticalFalse()
88 SparseArray<ButtonDispatcher> mButtonDispatchers; field in NavigationBarInflaterView178 mButtonDispatchers = buttonDispatchers; in setButtonDispatchers()185 if (mButtonDispatchers != null) { in updateButtonDispatchersCurrentView()187 for (int i = 0; i < mButtonDispatchers.size(); i++) { in updateButtonDispatchersCurrentView()188 final ButtonDispatcher dispatcher = mButtonDispatchers.valueAt(i); in updateButtonDispatchersCurrentView()450 if (mButtonDispatchers != null) { in addToDispatchers()451 final int indexOfKey = mButtonDispatchers.indexOfKey(v.getId()); in addToDispatchers()453 mButtonDispatchers.valueAt(indexOfKey).addView(v); in addToDispatchers()466 if (mButtonDispatchers != null) { in clearViews()467 for (int i = 0; i < mButtonDispatchers.size(); i++) { in clearViews()[all …]
133 private final SparseArray<ButtonDispatcher> mButtonDispatchers = new SparseArray<>(); field in NavigationBarView296 mButtonDispatchers.put(R.id.back, backButton); in NavigationBarView()297 mButtonDispatchers.put(R.id.home, new ButtonDispatcher(R.id.home)); in NavigationBarView()298 mButtonDispatchers.put(R.id.home_handle, new ButtonDispatcher(R.id.home_handle)); in NavigationBarView()299 mButtonDispatchers.put(R.id.recent_apps, new ButtonDispatcher(R.id.recent_apps)); in NavigationBarView()300 mButtonDispatchers.put(R.id.ime_switcher, imeSwitcherButton); in NavigationBarView()301 mButtonDispatchers.put(R.id.accessibility_button, accessibilityButton); in NavigationBarView()302 mButtonDispatchers.put(R.id.rotate_suggestion, rotateSuggestionButton); in NavigationBarView()303 mButtonDispatchers.put(R.id.menu_container, mContextualButtonGroup); in NavigationBarView()401 return mButtonDispatchers.get(R.id.recent_apps); in getRecentsButton()[all …]