WindowCallbackWrapper.java
4.52 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
package android.support.v7.view;
import android.annotation.TargetApi;
import android.support.annotation.RequiresApi;
import android.support.annotation.RestrictTo;
import android.view.ActionMode;
import android.view.ActionMode.Callback;
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.Callback;
import android.view.WindowManager.LayoutParams;
import android.view.accessibility.AccessibilityEvent;
import java.util.List;
@RestrictTo({android.support.annotation.RestrictTo.Scope.LIBRARY_GROUP})
public class WindowCallbackWrapper
implements Window.Callback
{
final Window.Callback e;
public WindowCallbackWrapper(Window.Callback paramCallback)
{
if (paramCallback == null) {
throw new IllegalArgumentException("Window callback may not be null");
}
this.e = paramCallback;
}
@TargetApi(12)
@RequiresApi(12)
public boolean dispatchGenericMotionEvent(MotionEvent paramMotionEvent)
{
return this.e.dispatchGenericMotionEvent(paramMotionEvent);
}
public boolean dispatchKeyEvent(KeyEvent paramKeyEvent)
{
return this.e.dispatchKeyEvent(paramKeyEvent);
}
@TargetApi(11)
@RequiresApi(11)
public boolean dispatchKeyShortcutEvent(KeyEvent paramKeyEvent)
{
return this.e.dispatchKeyShortcutEvent(paramKeyEvent);
}
public boolean dispatchPopulateAccessibilityEvent(AccessibilityEvent paramAccessibilityEvent)
{
return this.e.dispatchPopulateAccessibilityEvent(paramAccessibilityEvent);
}
public boolean dispatchTouchEvent(MotionEvent paramMotionEvent)
{
return this.e.dispatchTouchEvent(paramMotionEvent);
}
public boolean dispatchTrackballEvent(MotionEvent paramMotionEvent)
{
return this.e.dispatchTrackballEvent(paramMotionEvent);
}
@TargetApi(11)
@RequiresApi(11)
public void onActionModeFinished(ActionMode paramActionMode)
{
this.e.onActionModeFinished(paramActionMode);
}
@TargetApi(11)
@RequiresApi(11)
public void onActionModeStarted(ActionMode paramActionMode)
{
this.e.onActionModeStarted(paramActionMode);
}
public void onAttachedToWindow()
{
this.e.onAttachedToWindow();
}
public void onContentChanged()
{
this.e.onContentChanged();
}
public boolean onCreatePanelMenu(int paramInt, Menu paramMenu)
{
return this.e.onCreatePanelMenu(paramInt, paramMenu);
}
public View onCreatePanelView(int paramInt)
{
return this.e.onCreatePanelView(paramInt);
}
public void onDetachedFromWindow()
{
this.e.onDetachedFromWindow();
}
public boolean onMenuItemSelected(int paramInt, MenuItem paramMenuItem)
{
return this.e.onMenuItemSelected(paramInt, paramMenuItem);
}
public boolean onMenuOpened(int paramInt, Menu paramMenu)
{
return this.e.onMenuOpened(paramInt, paramMenu);
}
public void onPanelClosed(int paramInt, Menu paramMenu)
{
this.e.onPanelClosed(paramInt, paramMenu);
}
public boolean onPreparePanel(int paramInt, View paramView, Menu paramMenu)
{
return this.e.onPreparePanel(paramInt, paramView, paramMenu);
}
@TargetApi(24)
@RequiresApi(24)
public void onProvideKeyboardShortcuts(List<KeyboardShortcutGroup> paramList, Menu paramMenu, int paramInt)
{
this.e.onProvideKeyboardShortcuts(paramList, paramMenu, paramInt);
}
public boolean onSearchRequested()
{
return this.e.onSearchRequested();
}
@TargetApi(23)
@RequiresApi(23)
public boolean onSearchRequested(SearchEvent paramSearchEvent)
{
return this.e.onSearchRequested(paramSearchEvent);
}
public void onWindowAttributesChanged(WindowManager.LayoutParams paramLayoutParams)
{
this.e.onWindowAttributesChanged(paramLayoutParams);
}
public void onWindowFocusChanged(boolean paramBoolean)
{
this.e.onWindowFocusChanged(paramBoolean);
}
@TargetApi(11)
@RequiresApi(11)
public ActionMode onWindowStartingActionMode(ActionMode.Callback paramCallback)
{
return this.e.onWindowStartingActionMode(paramCallback);
}
@TargetApi(23)
@RequiresApi(23)
public ActionMode onWindowStartingActionMode(ActionMode.Callback paramCallback, int paramInt)
{
return this.e.onWindowStartingActionMode(paramCallback, paramInt);
}
}
/* Location: /home/merong/decompile/hackery-dex2jar.jar!/android/support/v7/view/WindowCallbackWrapper.class
* Java compiler version: 6 (50.0)
* JD-Core Version: 0.7.1
*/