Home
last modified time | relevance | path

Searched refs:newFocus (Results 1 – 11 of 11) 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.java65 public void onGlobalFocusChanged(View oldFocus, View newFocus) { in MenuView()
66 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/Car/Settings/src/com/android/car/settings/common/
DBaseCarSettingsActivity.java112 (oldFocus, newFocus) -> {
118 if (newFocus instanceof SettingsFocusParkingView && mGlobalLayoutListener == null) {
/packages/apps/Car/SystemUI/src/com/android/systemui/car/statusicon/
DStatusIconPanelViewController.java160 (oldFocus, newFocus) -> {
161 if (isPanelShowing() && oldFocus != null && newFocus instanceof FocusParkingView) {
/packages/apps/Car/Notification/src/com/android/car/notification/template/
DCarNotificationBaseViewHolder.java134 mFocusChangeListener = (oldFocus, newFocus) -> { in CarNotificationBaseViewHolder()
/packages/apps/Car/Notification/src/com/android/car/notification/
DCarHeadsUpNotificationManager.java497 (oldFocus, newFocus) -> setAutoDismissViews(currentNotification, alertEntry); in showHeadsUp()
/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);