181 lines
5.6 KiB
Java
181 lines
5.6 KiB
Java
package o;
|
|
|
|
import android.view.ActionMode;
|
|
import android.view.KeyEvent;
|
|
import android.view.KeyboardShortcutGroup;
|
|
import android.view.Menu;
|
|
import android.view.MenuItem;
|
|
import android.view.MotionEvent;
|
|
import android.view.SearchEvent;
|
|
import android.view.View;
|
|
import android.view.Window;
|
|
import android.view.WindowManager;
|
|
import android.view.accessibility.AccessibilityEvent;
|
|
import java.util.List;
|
|
|
|
/* loaded from: classes.dex */
|
|
public class QUF implements Window.Callback {
|
|
final Window.Callback a;
|
|
|
|
public QUF(Window.Callback callback) {
|
|
if (callback == null) {
|
|
throw new IllegalArgumentException("Window callback may not be null");
|
|
}
|
|
this.a = callback;
|
|
}
|
|
|
|
@Override // android.view.Window.Callback
|
|
public boolean dispatchKeyEvent(KeyEvent keyEvent) {
|
|
return this.a.dispatchKeyEvent(keyEvent);
|
|
}
|
|
|
|
@Override // android.view.Window.Callback
|
|
public boolean dispatchKeyShortcutEvent(KeyEvent keyEvent) {
|
|
return this.a.dispatchKeyShortcutEvent(keyEvent);
|
|
}
|
|
|
|
@Override // android.view.Window.Callback
|
|
public boolean dispatchTouchEvent(MotionEvent motionEvent) {
|
|
return this.a.dispatchTouchEvent(motionEvent);
|
|
}
|
|
|
|
@Override // android.view.Window.Callback
|
|
public boolean dispatchTrackballEvent(MotionEvent motionEvent) {
|
|
return this.a.dispatchTrackballEvent(motionEvent);
|
|
}
|
|
|
|
@Override // android.view.Window.Callback
|
|
public boolean dispatchGenericMotionEvent(MotionEvent motionEvent) {
|
|
return this.a.dispatchGenericMotionEvent(motionEvent);
|
|
}
|
|
|
|
@Override // android.view.Window.Callback
|
|
public boolean dispatchPopulateAccessibilityEvent(AccessibilityEvent accessibilityEvent) {
|
|
return this.a.dispatchPopulateAccessibilityEvent(accessibilityEvent);
|
|
}
|
|
|
|
@Override // android.view.Window.Callback
|
|
public View onCreatePanelView(int i) {
|
|
return this.a.onCreatePanelView(i);
|
|
}
|
|
|
|
@Override // android.view.Window.Callback
|
|
public boolean onCreatePanelMenu(int i, Menu menu) {
|
|
return this.a.onCreatePanelMenu(i, menu);
|
|
}
|
|
|
|
@Override // android.view.Window.Callback
|
|
public boolean onPreparePanel(int i, View view, Menu menu) {
|
|
return this.a.onPreparePanel(i, view, menu);
|
|
}
|
|
|
|
@Override // android.view.Window.Callback
|
|
public boolean onMenuOpened(int i, Menu menu) {
|
|
return this.a.onMenuOpened(i, menu);
|
|
}
|
|
|
|
@Override // android.view.Window.Callback
|
|
public boolean onMenuItemSelected(int i, MenuItem menuItem) {
|
|
return this.a.onMenuItemSelected(i, menuItem);
|
|
}
|
|
|
|
@Override // android.view.Window.Callback
|
|
public void onWindowAttributesChanged(WindowManager.LayoutParams layoutParams) {
|
|
this.a.onWindowAttributesChanged(layoutParams);
|
|
}
|
|
|
|
@Override // android.view.Window.Callback
|
|
public void onContentChanged() {
|
|
this.a.onContentChanged();
|
|
}
|
|
|
|
@Override // android.view.Window.Callback
|
|
public void onWindowFocusChanged(boolean z) {
|
|
this.a.onWindowFocusChanged(z);
|
|
}
|
|
|
|
@Override // android.view.Window.Callback
|
|
public void onAttachedToWindow() {
|
|
this.a.onAttachedToWindow();
|
|
}
|
|
|
|
@Override // android.view.Window.Callback
|
|
public void onDetachedFromWindow() {
|
|
this.a.onDetachedFromWindow();
|
|
}
|
|
|
|
@Override // android.view.Window.Callback
|
|
public void onPanelClosed(int i, Menu menu) {
|
|
this.a.onPanelClosed(i, menu);
|
|
}
|
|
|
|
@Override // android.view.Window.Callback
|
|
public boolean onSearchRequested(SearchEvent searchEvent) {
|
|
return IeS.eq_(this.a, searchEvent);
|
|
}
|
|
|
|
@Override // android.view.Window.Callback
|
|
public boolean onSearchRequested() {
|
|
return this.a.onSearchRequested();
|
|
}
|
|
|
|
@Override // android.view.Window.Callback
|
|
public ActionMode onWindowStartingActionMode(ActionMode.Callback callback) {
|
|
return this.a.onWindowStartingActionMode(callback);
|
|
}
|
|
|
|
@Override // android.view.Window.Callback
|
|
public ActionMode onWindowStartingActionMode(ActionMode.Callback callback, int i) {
|
|
return IeS.er_(this.a, callback, i);
|
|
}
|
|
|
|
@Override // android.view.Window.Callback
|
|
public void onActionModeStarted(ActionMode actionMode) {
|
|
this.a.onActionModeStarted(actionMode);
|
|
}
|
|
|
|
@Override // android.view.Window.Callback
|
|
public void onActionModeFinished(ActionMode actionMode) {
|
|
this.a.onActionModeFinished(actionMode);
|
|
}
|
|
|
|
@Override // android.view.Window.Callback
|
|
public void onProvideKeyboardShortcuts(List<KeyboardShortcutGroup> list, Menu menu, int i) {
|
|
Sts.es_(this.a, list, menu, i);
|
|
}
|
|
|
|
@Override // android.view.Window.Callback
|
|
public void onPointerCaptureChanged(boolean z) {
|
|
LWm.et_(this.a, z);
|
|
}
|
|
|
|
/* loaded from: classes.dex */
|
|
static class IeS {
|
|
static boolean eq_(Window.Callback callback, SearchEvent searchEvent) {
|
|
return callback.onSearchRequested(searchEvent);
|
|
}
|
|
|
|
static ActionMode er_(Window.Callback callback, ActionMode.Callback callback2, int i) {
|
|
return callback.onWindowStartingActionMode(callback2, i);
|
|
}
|
|
}
|
|
|
|
/* loaded from: classes.dex */
|
|
static class Sts {
|
|
static void es_(Window.Callback callback, List<KeyboardShortcutGroup> list, Menu menu, int i) {
|
|
callback.onProvideKeyboardShortcuts(list, menu, i);
|
|
}
|
|
}
|
|
|
|
/* loaded from: classes.dex */
|
|
static class LWm {
|
|
static void et_(Window.Callback callback, boolean z) {
|
|
callback.onPointerCaptureChanged(z);
|
|
}
|
|
}
|
|
|
|
public final Window.Callback ep_() {
|
|
return this.a;
|
|
}
|
|
}
|