Searched refs:newFocus (Results 1 – 7 of 7) sorted by relevance
/packages/apps/TV/src/com/android/tv/guide/ |
D | ProgramRow.java | 51 void onChildFocus(View oldFocus, View newFocus); in onChildFocus() argument 57 public void onGlobalFocusChanged(View oldFocus, View newFocus) { 58 updateCurrentFocus(oldFocus, newFocus); 115 private void updateCurrentFocus(View oldFocus, View newFocus) { in updateCurrentFocus() argument 121 isChild(newFocus) ? newFocus : null); in updateCurrentFocus()
|
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 | ProgramGuide.java | 407 public void onRequestChildFocus(View oldFocus, View newFocus) { in onRequestChildFocus() argument 408 if (oldFocus != null && newFocus != null) { in onRequestChildFocus() 410 if (oldFocus.getTop() < newFocus.getTop()) { in onRequestChildFocus() 416 } else if (oldFocus.getTop() > newFocus.getTop()) { in onRequestChildFocus() 897 public void onGlobalFocusChanged(View oldFocus, View newFocus) { 898 if (DEBUG) Log.d(TAG, "onGlobalFocusChanged " + oldFocus + " -> " + newFocus); 903 int toLocation = getLocation(newFocus);
|
D | ProgramTableAdapter.java | 335 public void onChildFocus(View oldFocus, View newFocus) { 336 if (newFocus == null) { 339 mSelectedEntry = ((ProgramItemView) newFocus).getTableEntry(); 353 int direction = oldFocus.getLeft() < newFocus.getLeft() ? -1 : 1;
|
/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 | 62 public void onGlobalFocusChanged(View oldFocus, View newFocus) { in MenuView() 63 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);
|