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/
DProgramGrid.java42 public void onGlobalFocusChanged(View oldFocus, View newFocus) {
43 if (newFocus != mNextFocusByUpDown) {
46 clearUpDownFocusState(newFocus);
49 if (GuideUtils.isDescendant(ProgramGrid.this, newFocus)) {
50 mLastFocusedView = newFocus;
99 void onRequestChildFocus(View oldFocus, View newFocus); in onRequestChildFocus() argument
DProgramTableAdapter.java305 public void onGlobalFocusChanged(View oldFocus, View newFocus) {
308 GuideUtils.isDescendant(mContainer, newFocus) ? newFocus : null);
471 public void onChildFocus(View oldFocus, View newFocus) {
472 if (newFocus == null) {
477 if (newFocus == mChannelHeaderView) {
479 } else if (newFocus == mDetailView) {
482 mSelectedEntry = ((ProgramItemView) newFocus).getTableEntry();
505 int direction = oldFocus.getLeft() < newFocus.getLeft() ? -1 : 1;
DProgramGuide.java499 public void onRequestChildFocus(View oldFocus, View newFocus) { in onRequestChildFocus() argument
500 if (oldFocus != null && newFocus != null) { in onRequestChildFocus()
502 if (oldFocus.getTop() < newFocus.getTop()) { in onRequestChildFocus()
508 } else if (oldFocus.getTop() > newFocus.getTop()) { in onRequestChildFocus()
1020 public void onGlobalFocusChanged(View oldFocus, View newFocus) { in onGlobalFocusChanged() argument
1021 if (DEBUG) Log.d(TAG, "onGlobalFocusChanged " + oldFocus + " -> " + newFocus); in onGlobalFocusChanged()
1026 int toLocation = getLocation(newFocus); in onGlobalFocusChanged()
DProgramRow.java50 void onChildFocus(View oldFocus, View newFocus); in onChildFocus() argument
/packages/apps/TV/src/com/android/tv/menu/
DMenuView.java63 public void onGlobalFocusChanged(View oldFocus, View newFocus) { in MenuView()
64 MenuRowView newParent = getParentMenuRowView(newFocus); in MenuView()
/packages/apps/TV/src/com/android/tv/dvr/ui/browse/
DDvrBrowseFragment.java93 public void onGlobalFocusChanged(View oldFocus, View newFocus) {
97 if (newFocus instanceof RecordingCardView) {
100 ((RecordingCardView) newFocus).expandTitle(true, !isInHeadersTransition());
/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);