Searched refs:mButtonDispatchers (Results 1 – 5 of 5) sorted by relevance
/frameworks/base/core/java/android/inputmethodservice/navigationbar/ |
D | NavigationBarView.java | 76 private final SparseArray<ButtonDispatcher> mButtonDispatchers = new SparseArray<>(); field in NavigationBarView 93 mButtonDispatchers.put(com.android.internal.R.id.input_method_nav_back, in NavigationBarView() 95 mButtonDispatchers.put(com.android.internal.R.id.input_method_nav_ime_switcher, in NavigationBarView() 97 mButtonDispatchers.put(com.android.internal.R.id.input_method_nav_home_handle, in NavigationBarView() 155 return mButtonDispatchers.get(com.android.internal.R.id.input_method_nav_back); in getBackButton() 159 return mButtonDispatchers.get(com.android.internal.R.id.input_method_nav_ime_switcher); in getImeSwitchButton() 163 return mButtonDispatchers.get(com.android.internal.R.id.input_method_nav_home_handle); in getHomeHandle() 167 return mButtonDispatchers; in getButtonDispatchers() 292 mNavigationInflaterView.setButtonDispatchers(mButtonDispatchers); in onFinishInflate() 371 for (int i = 0; i < mButtonDispatchers.size(); ++i) { in onDetachedFromWindow() [all …]
|
D | NavigationBarInflaterView.java | 83 SparseArray<ButtonDispatcher> mButtonDispatchers; field in NavigationBarInflaterView 125 mButtonDispatchers = buttonDispatchers; in setButtonDispatchers() 132 if (mButtonDispatchers != null) { in updateButtonDispatchersCurrentView() 134 for (int i = 0; i < mButtonDispatchers.size(); i++) { in updateButtonDispatchersCurrentView() 135 final ButtonDispatcher dispatcher = mButtonDispatchers.valueAt(i); in updateButtonDispatchersCurrentView() 395 if (mButtonDispatchers != null) { in addToDispatchers() 396 final int indexOfKey = mButtonDispatchers.indexOfKey(v.getId()); in addToDispatchers() 398 mButtonDispatchers.valueAt(indexOfKey).addView(v); in addToDispatchers() 411 if (mButtonDispatchers != null) { in clearViews() 412 for (int i = 0; i < mButtonDispatchers.size(); i++) { in clearViews() [all …]
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/navigationbar/ |
D | NavigationBarInflaterViewTest.java | 63 mNavBarInflaterView.mButtonDispatchers = new SparseArray<>(1); in setUp() 64 mNavBarInflaterView.mButtonDispatchers.put(BUTTON_ID, new ButtonDispatcher(BUTTON_ID)); in setUp() 94 ButtonDispatcher button = mNavBarInflaterView.mButtonDispatchers.get(BUTTON_ID); in testUpdateButtonDispatchersCurrentView_isVerticalTrue() 106 ButtonDispatcher button = mNavBarInflaterView.mButtonDispatchers.get(BUTTON_ID); in testUpdateButtonDispatchersCurrentView_isVerticalFalse()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/navigationbar/ |
D | NavigationBarInflaterView.java | 110 SparseArray<ButtonDispatcher> mButtonDispatchers; field in NavigationBarInflaterView 187 mButtonDispatchers = buttonDispatchers; in setButtonDispatchers() 195 if (mButtonDispatchers != null) { in updateButtonDispatchersCurrentView() 197 for (int i = 0; i < mButtonDispatchers.size(); i++) { in updateButtonDispatchersCurrentView() 198 final ButtonDispatcher dispatcher = mButtonDispatchers.valueAt(i); in updateButtonDispatchersCurrentView() 460 if (mButtonDispatchers != null) { in addToDispatchers() 461 final int indexOfKey = mButtonDispatchers.indexOfKey(v.getId()); in addToDispatchers() 463 mButtonDispatchers.valueAt(indexOfKey).addView(v); in addToDispatchers() 476 if (mButtonDispatchers != null) { in clearDispatcherViews() 477 for (int i = 0; i < mButtonDispatchers.size(); i++) { in clearDispatcherViews() [all …]
|
D | NavigationBarView.java | 147 private final SparseArray<ButtonDispatcher> mButtonDispatchers = new SparseArray<>(); field in NavigationBarView 322 mButtonDispatchers.put(R.id.back, new ButtonDispatcher(R.id.back)); in NavigationBarView() 323 mButtonDispatchers.put(R.id.home, new ButtonDispatcher(R.id.home)); in NavigationBarView() 324 mButtonDispatchers.put(R.id.home_handle, new ButtonDispatcher(R.id.home_handle)); in NavigationBarView() 325 mButtonDispatchers.put(R.id.recent_apps, new ButtonDispatcher(R.id.recent_apps)); in NavigationBarView() 326 mButtonDispatchers.put(R.id.ime_switcher, imeSwitcherButton); in NavigationBarView() 327 mButtonDispatchers.put(R.id.accessibility_button, accessibilityButton); in NavigationBarView() 328 mButtonDispatchers.put(R.id.menu_container, mContextualButtonGroup); in NavigationBarView() 417 return mButtonDispatchers.get(R.id.recent_apps); in getRecentsButton() 421 return mButtonDispatchers.get(R.id.back); in getBackButton() [all …]
|