Home
last modified time | relevance | path

Searched refs:newFocus (Results 1 – 7 of 7) sorted by relevance

/packages/apps/TV/src/com/android/tv/guide/
DProgramRow.java51 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()
DProgramGrid.java48 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
DProgramGuide.java407 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);
DProgramTableAdapter.java335 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/
DHandleView.java55 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/
DMenuView.java62 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/
DScrollAdapterView.java1665 private boolean requestNextFocus(int direction, View focused, View newFocus) {
1668 offsetRectIntoDescendantCoords(newFocus, mTempRect);
1669 return newFocus.requestFocus(direction, mTempRect);