Home
last modified time | relevance | path

Searched refs:Window (Results 1 – 25 of 176) sorted by relevance

12345678

/frameworks/support/v17/leanback/api21/android/support/v17/leanback/transition/
DTransitionHelperApi21.java25 import android.view.Window;
52 public static Object getSharedElementEnterTransition(Window window) { in getSharedElementEnterTransition()
56 public static void setSharedElementEnterTransition(Window window, Object transition) { in setSharedElementEnterTransition()
60 public static Object getSharedElementReturnTransition(Window window) { in getSharedElementReturnTransition()
64 public static void setSharedElementReturnTransition(Window window, Object transition) { in setSharedElementReturnTransition()
68 public static Object getSharedElementExitTransition(Window window) { in getSharedElementExitTransition()
72 public static Object getSharedElementReenterTransition(Window window) { in getSharedElementReenterTransition()
76 public static Object getEnterTransition(Window window) { in getEnterTransition()
80 public static void setEnterTransition(Window window, Object transition) { in setEnterTransition()
84 public static Object getReturnTransition(Window window) { in getReturnTransition()
[all …]
/frameworks/support/v17/leanback/src/android/support/v17/leanback/transition/
DTransitionHelper.java25 import android.view.Window;
78 Object getSharedElementEnterTransition(Window window); in getSharedElementEnterTransition()
80 void setSharedElementEnterTransition(Window window, Object transition); in setSharedElementEnterTransition()
82 Object getSharedElementReturnTransition(Window window); in getSharedElementReturnTransition()
84 void setSharedElementReturnTransition(Window window, Object transition); in setSharedElementReturnTransition()
86 Object getSharedElementExitTransition(Window window); in getSharedElementExitTransition()
88 Object getSharedElementReenterTransition(Window window); in getSharedElementReenterTransition()
90 Object getEnterTransition(Window window); in getEnterTransition()
92 void setEnterTransition(Window window, Object transition); in setEnterTransition()
94 Object getReturnTransition(Window window); in getReturnTransition()
[all …]
/frameworks/support/v7/appcompat/src/android/support/v7/app/
DAppCompatDelegateImplN.java23 import android.view.Window;
30 AppCompatDelegateImplN(Context context, Window window, AppCompatCallback callback) { in AppCompatDelegateImplN()
35 Window.Callback wrapWindowCallback(Window.Callback callback) { in wrapWindowCallback()
40 AppCompatWindowCallbackN(Window.Callback callback) { in AppCompatWindowCallbackN()
47 final PanelFeatureState panel = getPanelState(Window.FEATURE_OPTIONS_PANEL, true); in onProvideKeyboardShortcuts()
DAppCompatDelegateImplV23.java23 import android.view.Window;
30 AppCompatDelegateImplV23(Context context, Window window, AppCompatCallback callback) { in AppCompatDelegateImplV23()
37 Window.Callback wrapWindowCallback(Window.Callback callback) { in wrapWindowCallback()
56 AppCompatWindowCallbackV23(Window.Callback callback) { in AppCompatWindowCallbackV23()
DAppCompatDelegateImplBase.java36 import android.view.Window;
87 final Window mWindow;
88 final Window.Callback mOriginalWindowCallback;
89 final Window.Callback mAppCompatWindowCallback;
112 AppCompatDelegateImplBase(Context context, Window window, AppCompatCallback callback) {
137 Window.Callback wrapWindowCallback(Window.Callback callback) {
282 final Window.Callback getWindowCallback() {
309 AppCompatWindowCallbackBase(Window.Callback callback) {
327 if (featureId == Window.FEATURE_OPTIONS_PANEL && !(menu instanceof MenuBuilder)) {
345 if (featureId == Window.FEATURE_OPTIONS_PANEL && mb == null) {
DToolbarActionBar.java38 import android.view.Window;
46 Window.Callback mWindowCallback;
63 return mWindowCallback.onMenuItemSelected(Window.FEATURE_OPTIONS_PANEL, item);
67 ToolbarActionBar(Toolbar toolbar, CharSequence title, Window.Callback windowCallback) { in ToolbarActionBar()
75 public Window.Callback getWrappedWindowCallback() { in getWrappedWindowCallback()
454 if (!mWindowCallback.onCreatePanelMenu(Window.FEATURE_OPTIONS_PANEL, menu) || in populateOptionsMenu()
455 !mWindowCallback.onPreparePanel(Window.FEATURE_OPTIONS_PANEL, null, menu)) { in populateOptionsMenu()
515 public ToolbarCallbackWrapper(Window.Callback wrapped) { in ToolbarCallbackWrapper()
531 if (featureId == Window.FEATURE_OPTIONS_PANEL) { in onCreatePanelView()
595 } else if (mWindowCallback.onPreparePanel(Window.FEATURE_OPTIONS_PANEL, in onMenuModeChange()
DAppCompatDelegateImplV11.java23 import android.view.Window;
28 AppCompatDelegateImplV11(Context context, Window window, AppCompatCallback callback) { in AppCompatDelegateImplV11()
DAppCompatDelegateImplV14.java38 import android.view.Window;
53 AppCompatDelegateImplV14(Context context, Window window, AppCompatCallback callback) { in AppCompatDelegateImplV14()
70 Window.Callback wrapWindowCallback(Window.Callback callback) { in wrapWindowCallback()
267 AppCompatWindowCallbackV14(Window.Callback callback) { in AppCompatWindowCallbackV14()
DAppCompatDialogFragment.java26 import android.view.Window;
57 acd.supportRequestWindowFeature(Window.FEATURE_NO_TITLE); in setupDialog()
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/util/
DSystemBarHelper.java30 import android.view.Window;
77 final Window window = dialog.getWindow(); in hideSystemBars()
98 public static void hideSystemBars(final Window window) { in hideSystemBars()
124 public static void showSystemBars(final Window window, final Context context) { in showSystemBars()
155 public static void addVisibilityFlag(final Window window, final int flag) { in addVisibilityFlag()
178 public static void removeVisibilityFlag(final Window window, final int flag) { in removeVisibilityFlag()
186 public static void setBackButtonVisible(final Window window, final boolean visible) { in setBackButtonVisible()
221 private static void addImmersiveFlagsToDecorView(final Window window, final int vis) { in addImmersiveFlagsToDecorView()
231 private static void removeImmersiveFlagsFromDecorView(final Window window, final int vis) { in removeImmersiveFlagsFromDecorView()
240 private static void getDecorView(Window window, OnDecorViewInstalledListener callback) { in getDecorView()
[all …]
/frameworks/base/core/java/android/view/
DFrameMetricsObserver.java36 private WeakReference<Window> mWindow;
40 /* package */ Window.OnFrameMetricsAvailableListener mListener;
48 FrameMetricsObserver(@NonNull Window window, @NonNull Looper looper, in FrameMetricsObserver()
49 @NonNull Window.OnFrameMetricsAvailableListener listener) { in FrameMetricsObserver()
67 final Window window = mWindow.get(); in notifyDataAvailable()
DWindowManagerImpl.java59 private final Window mParentWindow;
67 private WindowManagerImpl(Context context, Window parentWindow) { in WindowManagerImpl()
72 public WindowManagerImpl createLocalWindowManager(Window parentWindow) { in createLocalWindowManager()
DWindowCallbackWrapper.java31 public class WindowCallbackWrapper implements Window.Callback {
32 private Window.Callback mWrapped;
34 public WindowCallbackWrapper(Window.Callback wrapped) { in WindowCallbackWrapper()
/frameworks/base/core/java/com/android/internal/app/
DToolbarActionBar.java37 import android.view.Window;
47 private Window.Callback mWindowCallback;
65 return mWindowCallback.onMenuItemSelected(Window.FEATURE_OPTIONS_PANEL, item);
69 public ToolbarActionBar(Toolbar toolbar, CharSequence title, Window.Callback windowCallback) { in ToolbarActionBar()
77 public Window.Callback getWrappedWindowCallback() { in getWrappedWindowCallback()
454 if (!mWindowCallback.onCreatePanelMenu(Window.FEATURE_OPTIONS_PANEL, menu) || in populateOptionsMenu()
455 !mWindowCallback.onPreparePanel(Window.FEATURE_OPTIONS_PANEL, null, menu)) { in populateOptionsMenu()
512 public ToolbarCallbackWrapper(Window.Callback wrapped) { in ToolbarCallbackWrapper()
528 if (featureId == Window.FEATURE_OPTIONS_PANEL) { in onCreatePanelView()
544 mWindowCallback.onMenuOpened(Window.FEATURE_ACTION_BAR, subMenu); in onOpenSubMenu()
[all …]
/frameworks/opt/setupwizard/library/test/instrumentation/src/com/android/setupwizardlib/test/
DSystemBarHelperTest.java35 import android.view.Window;
91 final Window window = createWindowWithSystemUiVisibility(0x456); in testAddVisibilityFlagWindow()
103 final Window window = createWindowWithSystemUiVisibility(0x456); in testRemoveVisibilityFlagWindow()
115 final Window window = createWindowWithSystemUiVisibility(0x456); in testHideSystemBarsWindow()
133 final Window window = createWindowWithSystemUiVisibility(0x456); in testShowSystemBarsWindow()
194 final Window window = createWindowWithSystemUiVisibility(0x456); in testSetBackButtonVisibleTrue()
205 final Window window = createWindowWithSystemUiVisibility(0x456); in testSetBackButtonVisibleFalse()
221 private Window createWindowWithSystemUiVisibility(int vis) { in createWindowWithSystemUiVisibility()
222 final Window window = new TestWindow(InstrumentationRegistry.getContext(), in createWindowWithSystemUiVisibility()
/frameworks/base/core/java/android/app/
DDialog.java61 import android.view.Window;
93 public class Dialog implements DialogInterface, Window.Callback,
94 KeyEvent.Callback, OnCreateContextMenuListener, Window.OnWindowDismissedCallback {
101 final Window mWindow;
185 final Window w = new PhoneWindow(mContext); in Dialog()
291 if (mWindow.hasFeature(Window.FEATURE_ACTION_BAR)) { in show()
292 mWindow.invalidatePanelMenu(Window.FEATURE_ACTION_BAR); in show()
313 if (mActionBar == null && mWindow.hasFeature(Window.FEATURE_ACTION_BAR)) { in show()
484 public @Nullable Window getWindow() { in getWindow()
883 if (featureId == Window.FEATURE_OPTIONS_PANEL) { in onCreatePanelMenu()
[all …]
DActivity.java109 import android.view.Window;
110 import android.view.Window.WindowControllerCallback;
694 Window.Callback, KeyEvent.Callback,
696 Window.OnWindowDismissedCallback, WindowControllerCallback,
789 private Window mWindow;
911 public Window getWindow() { in getWindow()
1332 final Window win = getWindow(); in onPostResume()
2642 Window window = getWindow(); in initWindowDecorActionBar()
2648 if (isChild() || !window.hasFeature(Window.FEATURE_ACTION_BAR) || mActionBar != null) { in initWindowDecorActionBar()
2900 Window w = getWindow(); in onKeyDown()
[all …]
DLocalActivityManager.java24 import android.view.Window;
58 Window window; // Activity's top-level window.
261 public Window startActivity(String id, Intent intent) { in startActivity()
357 private Window performDestroy(LocalActivityRecord r, boolean finish) { in performDestroy()
358 Window win; in performDestroy()
386 public Window destroyActivity(String id, boolean finish) { in destroyActivity()
388 Window win = null; in destroyActivity()
/frameworks/support/v7/appcompat/src/android/support/v7/view/
DWindowCallbackWrapper.java31 import android.view.Window;
45 public class WindowCallbackWrapper implements Window.Callback {
47 final Window.Callback mWrapped;
49 public WindowCallbackWrapper(Window.Callback wrapped) { in WindowCallbackWrapper()
/frameworks/base/core/tests/coretests/src/com/android/internal/app/
DWindowDecorActionBarTestActivity.java22 import android.view.Window;
29 getWindow().requestFeature(Window.FEATURE_ACTION_BAR); in onCreate()
/frameworks/base/packages/SystemUI/src/com/android/systemui/settings/
DBrightnessDialog.java26 import android.view.Window;
43 final Window window = getWindow(); in onCreate()
47 window.requestFeature(Window.FEATURE_NO_TITLE); in onCreate()
/frameworks/base/services/core/java/com/android/server/am/
DLaunchWarningWindow.java24 import android.view.Window;
33 requestWindowFeature(Window.FEATURE_LEFT_ICON); in LaunchWarningWindow()
43 getWindow().setFeatureDrawableResource(Window.FEATURE_LEFT_ICON, out.resourceId); in LaunchWarningWindow()
/frameworks/base/core/java/com/android/internal/widget/
DDecorContentParent.java24 import android.view.Window;
32 void setWindowCallback(Window.Callback cb); in setWindowCallback()
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
DDecorContentParent.java28 import android.view.Window;
38 void setWindowCallback(Window.Callback cb); in setWindowCallback()
/frameworks/support/fragment/java/android/support/v4/app/
DFragmentActivity.java44 import android.view.Window;
332 if (featureId == Window.FEATURE_OPTIONS_PANEL) { in onCreatePanelMenu()
378 case Window.FEATURE_OPTIONS_PANEL: in onMenuItemSelected()
381 case Window.FEATURE_CONTEXT_MENU: in onMenuItemSelected()
395 case Window.FEATURE_OPTIONS_PANEL: in onPanelClosed()
483 if (featureId == Window.FEATURE_OPTIONS_PANEL && menu != null) { in onPreparePanel()
496 return super.onPreparePanel(Window.FEATURE_OPTIONS_PANEL, view, menu); in onPrepareOptionsPanel()
943 final Window w = getWindow(); in onGetWindowAnimations()
960 final Window w = getWindow(); in onHasView()

12345678