Searched refs:mButtonDispatchers (Results 1 – 3 of 3) sorted by relevance
65 mNavBarInflaterView.mButtonDispatchers = new SparseArray<>(1); in setUp()66 mNavBarInflaterView.mButtonDispatchers.put(BUTTON_ID, new ButtonDispatcher(BUTTON_ID)); in setUp()96 ButtonDispatcher button = mNavBarInflaterView.mButtonDispatchers.get(BUTTON_ID); in testUpdateButtonDispatchersCurrentView_isVerticalTrue()108 ButtonDispatcher button = mNavBarInflaterView.mButtonDispatchers.get(BUTTON_ID); in testUpdateButtonDispatchersCurrentView_isVerticalFalse()
93 SparseArray<ButtonDispatcher> mButtonDispatchers; field in NavigationBarInflaterView170 mButtonDispatchers = buttonDispatchers; in setButtonDispatchers()177 if (mButtonDispatchers != null) { in updateButtonDispatchersCurrentView()179 for (int i = 0; i < mButtonDispatchers.size(); i++) { in updateButtonDispatchersCurrentView()180 final ButtonDispatcher dispatcher = mButtonDispatchers.valueAt(i); in updateButtonDispatchersCurrentView()442 if (mButtonDispatchers != null) { in addToDispatchers()443 final int indexOfKey = mButtonDispatchers.indexOfKey(v.getId()); in addToDispatchers()445 mButtonDispatchers.valueAt(indexOfKey).addView(v); in addToDispatchers()458 if (mButtonDispatchers != null) { in clearViews()459 for (int i = 0; i < mButtonDispatchers.size(); i++) { in clearViews()[all …]
159 private final SparseArray<ButtonDispatcher> mButtonDispatchers = new SparseArray<>(); field in NavigationBarView331 mButtonDispatchers.put(R.id.back, new ButtonDispatcher(R.id.back)); in NavigationBarView()332 mButtonDispatchers.put(R.id.home, new ButtonDispatcher(R.id.home)); in NavigationBarView()333 mButtonDispatchers.put(R.id.home_handle, new ButtonDispatcher(R.id.home_handle)); in NavigationBarView()334 mButtonDispatchers.put(R.id.recent_apps, new ButtonDispatcher(R.id.recent_apps)); in NavigationBarView()335 mButtonDispatchers.put(R.id.ime_switcher, imeSwitcherButton); in NavigationBarView()336 mButtonDispatchers.put(R.id.accessibility_button, accessibilityButton); in NavigationBarView()337 mButtonDispatchers.put(R.id.menu_container, mContextualButtonGroup); in NavigationBarView()483 return mButtonDispatchers.get(R.id.recent_apps); in getRecentsButton()487 return mButtonDispatchers.get(R.id.back); in getBackButton()[all …]