Searched refs:newFocus (Results 1 – 8 of 8) sorted by relevance
/packages/apps/TV/src/com/android/tv/guide/ |
D | ProgramGrid.java | 48 public void onGlobalFocusChanged(View oldFocus, View newFocus) { 49 if (newFocus != mNextFocusByUpDown) { 52 clearUpDownFocusState(newFocus); 55 if (newFocus != ProgramGrid.this && contains(newFocus)) { 56 mLastFocusedView = newFocus; 104 void onRequestChildFocus(View oldFocus, View newFocus); in onRequestChildFocus() argument
|
D | ProgramTableAdapter.java | 284 public void onGlobalFocusChanged(View oldFocus, View newFocus) { 286 isChild(newFocus) ? newFocus : null); 432 public void onChildFocus(View oldFocus, View newFocus) { 433 if (newFocus == null) { 438 if (newFocus == mChannelHeaderView) { 440 } else if (newFocus == mDetailView) { 443 mSelectedEntry = ((ProgramItemView) newFocus).getTableEntry(); 458 int direction = oldFocus.getLeft() < newFocus.getLeft() ? -1 : 1;
|
D | ProgramGuide.java | 415 public void onRequestChildFocus(View oldFocus, View newFocus) { in onRequestChildFocus() argument 416 if (oldFocus != null && newFocus != null) { in onRequestChildFocus() 418 if (oldFocus.getTop() < newFocus.getTop()) { in onRequestChildFocus() 424 } else if (oldFocus.getTop() > newFocus.getTop()) { in onRequestChildFocus() 870 public void onGlobalFocusChanged(View oldFocus, View newFocus) { 871 if (DEBUG) Log.d(TAG, "onGlobalFocusChanged " + oldFocus + " -> " + newFocus); 876 int toLocation = getLocation(newFocus);
|
D | ProgramRow.java | 51 void onChildFocus(View oldFocus, View newFocus); in onChildFocus() argument
|
/packages/experimental/FilledApp/src/foo/bar/filled/ |
D | CustomLinearLayout.java | 25 getViewTreeObserver().addOnGlobalFocusChangeListener((oldFocus, newFocus) -> { in CustomLinearLayout() 32 if (newFocus != null) { in CustomLinearLayout() 34 newFocus.getBoundsOnScreen(bounds); in CustomLinearLayout() 36 newFocus.getAccessibilityViewId(), bounds); in CustomLinearLayout()
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
D | HandleView.java | 55 View newFocus = super.focusSearch(direction); in focusSearch() local 56 if (newFocus == null && !mLauncher.isAllAppsVisible()) { in focusSearch() 62 return newFocus; in focusSearch()
|
/packages/apps/TV/src/com/android/tv/menu/ |
D | MenuView.java | 65 public void onGlobalFocusChanged(View oldFocus, View newFocus) { in MenuView() 66 MenuRowView newParent = getParentMenuRowView(newFocus); in MenuView()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/widget/ |
D | ScrollAdapterView.java | 1665 private boolean requestNextFocus(int direction, View focused, View newFocus) { 1668 offsetRectIntoDescendantCoords(newFocus, mTempRect); 1669 return newFocus.requestFocus(direction, mTempRect);
|