Home
last modified time | relevance | path

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

12345

/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/util/
DSystemBarHelper.java31 import android.view.Window;
76 final Window window = dialog.getWindow(); in hideSystemBars()
97 public static void hideSystemBars(final Window window) { in hideSystemBars()
123 public static void showSystemBars(final Window window, final Context context) { in showSystemBars()
151 public static void addVisibilityFlag(final Window window, final int flag) { in addVisibilityFlag()
174 public static void removeVisibilityFlag(final Window window, final int flag) { in removeVisibilityFlag()
193 public static void setBackButtonVisible(final Window window, final boolean visible) { in setBackButtonVisible()
230 private static void addImmersiveFlagsToDecorView(final Window window, final int vis) { in addImmersiveFlagsToDecorView()
242 private static void removeImmersiveFlagsFromDecorView(final Window window, final int vis) { in removeImmersiveFlagsFromDecorView()
253 private static void getDecorView(Window window, OnDecorViewInstalledListener callback) { in getDecorView()
[all …]
/frameworks/base/core/java/android/view/
DFrameMetricsObserver.java38 private WeakReference<Window> mWindow;
43 /* pacage */ Window.OnFrameMetricsAvailableListener mListener;
52 FrameMetricsObserver(@NonNull Window window, @NonNull Looper looper, in FrameMetricsObserver()
53 @NonNull Window.OnFrameMetricsAvailableListener listener) { in FrameMetricsObserver()
72 final Window window = mWindow.get(); in notifyDataAvailable()
DWindowCallbackWrapper.java31 public class WindowCallbackWrapper implements Window.Callback {
32 private Window.Callback mWrapped;
34 public WindowCallbackWrapper(Window.Callback wrapped) { in WindowCallbackWrapper()
DWindowManagerImpl.java61 private final Window mParentWindow;
69 private WindowManagerImpl(Context context, Window parentWindow) { in WindowManagerImpl()
74 public WindowManagerImpl createLocalWindowManager(Window parentWindow) { in createLocalWindowManager()
/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.java32 import android.view.Window;
89 final Window window = createWindowWithSystemUiVisibility(0x456); in testAddVisibilityFlagWindow()
101 final Window window = createWindowWithSystemUiVisibility(0x456); in testRemoveVisibilityFlagWindow()
113 final Window window = createWindowWithSystemUiVisibility(0x456); in testHideSystemBarsWindow()
132 final Window window = createWindowWithSystemUiVisibility(0x456); in testShowSystemBarsWindow()
195 final Window window = createWindowWithSystemUiVisibility(STATUS_BAR_DISABLE_BACK | 0x456); in testSetBackButtonVisibleTrue()
210 final Window window = createWindowWithSystemUiVisibility(0x456); in testSetBackButtonVisibleFalse()
230 private Window createWindowWithSystemUiVisibility(int vis) { in createWindowWithSystemUiVisibility()
231 final Window window = in createWindowWithSystemUiVisibility()
/frameworks/base/tests/JankBench/app/src/main/java/com/android/benchmark/ui/automation/
DCollectorThread.java25 import android.view.Window;
36 private Window mAttachedWindow;
87 private class FrameStatsCollector implements Window.OnFrameMetricsAvailableListener {
89 … public void onFrameMetricsAvailable(Window window, FrameMetrics frameMetrics, int dropCount) { in onFrameMetricsAvailable()
105 public void attachToWindow(Window window) { in attachToWindow()
DAutomator.java28 import android.view.Window;
47 private Window mWindow;
86 private Window mWindow;
91 AutomatorHandler(Looper looper, Window window, CollectorThread collectorThread, in AutomatorHandler()
257 Window window, AutomateCallback callback) { in Automator()
/frameworks/base/core/java/android/app/
DDialog.java59 import android.view.Window;
95 public class Dialog implements DialogInterface, Window.Callback,
96 KeyEvent.Callback, OnCreateContextMenuListener, Window.OnWindowDismissedCallback {
106 final Window mWindow;
198 final Window w = new PhoneWindow(mContext); in Dialog()
304 if (mWindow.hasFeature(Window.FEATURE_ACTION_BAR)) { in show()
305 mWindow.invalidatePanelMenu(Window.FEATURE_ACTION_BAR); in show()
326 if (mActionBar == null && mWindow.hasFeature(Window.FEATURE_ACTION_BAR)) { in show()
502 public @Nullable Window getWindow() { in getWindow()
929 if (featureId == Window.FEATURE_OPTIONS_PANEL) { in onCreatePanelMenu()
[all …]
DActivity.java119 import android.view.Window;
120 import android.view.Window.WindowControllerCallback;
727 Window.Callback, KeyEvent.Callback,
729 Window.OnWindowDismissedCallback, WindowControllerCallback,
859 private Window mWindow;
995 public Window getWindow() { in getWindow()
1094 final Window window = getWindow(); in notifyContentCaptureManagerIfNeeded()
1826 final Window win = getWindow(); in onPostResume()
3297 Window window = getWindow(); in initWindowDecorActionBar()
3303 if (isChild() || !window.hasFeature(Window.FEATURE_ACTION_BAR) || mActionBar != null) { in initWindowDecorActionBar()
[all …]
DLocalActivityManager.java27 import android.view.Window;
62 Window window; // Activity's top-level window.
286 public Window startActivity(String id, Intent intent) { in startActivity()
382 private Window performDestroy(LocalActivityRecord r, boolean finish) { in performDestroy()
383 Window win; in performDestroy()
412 public Window destroyActivity(String id, boolean finish) { in destroyActivity()
414 Window win = null; in destroyActivity()
DActivityTransitionState.java25 import android.view.Window;
166 final Window window = activity.getWindow(); in setEnterActivityOptions()
172 if (window.hasFeature(Window.FEATURE_ACTIVITY_TRANSITIONS) in setEnterActivityOptions()
373 if (!activity.getWindow().hasFeature(Window.FEATURE_ACTIVITY_TRANSITIONS) || in startExitOutTransition()
/frameworks/base/packages/SystemUI/src/com/android/systemui/settings/
DBrightnessDialog.java25 import android.view.Window;
41 final Window window = getWindow(); in onCreate()
45 window.requestFeature(Window.FEATURE_NO_TITLE); in onCreate()
/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/services/core/java/com/android/server/wm/
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()
DUnsupportedDisplaySizeDialog.java26 import android.view.Window;
55 final Window window = mDialog.getWindow(); in UnsupportedDisplaySizeDialog()
DDeprecatedTargetSdkVersionDialog.java29 import android.view.Window;
72 final Window window = mDialog.getWindow(); in DeprecatedTargetSdkVersionDialog()
DUnsupportedCompileSdkDialog.java25 import android.view.Window;
64 final Window window = mDialog.getWindow(); in UnsupportedCompileSdkDialog()
/frameworks/base/core/java/com/android/internal/widget/
DDecorContentParent.java24 import android.view.Window;
32 void setWindowCallback(Window.Callback cb); in setWindowCallback()
DDecorToolbar.java28 import android.view.Window;
48 void setWindowCallback(Window.Callback cb); in setWindowCallback()
/frameworks/base/packages/SystemUI/src/com/android/systemui/usb/
DUsbContaminantActivity.java27 import android.view.Window;
49 Window window = getWindow(); in onCreate()
53 requestWindowFeature(Window.FEATURE_NO_TITLE); in onCreate()
/frameworks/base/tests/FlickerTests/test-apps/flickerapp/src/com/android/server/wm/flicker/testapp/
DSeamlessRotationActivity.java29 import android.view.Window;
67 requestWindowFeature(Window.FEATURE_NO_TITLE); in enableSeamlessRotation()
/frameworks/base/core/java/com/android/internal/view/menu/
DMenuDialogHelper.java26 import android.view.Window;
96 Window win = mDialog.getWindow(); in onKey()
108 Window win = mDialog.getWindow(); in onKey()
/frameworks/base/packages/SystemUI/src/com/android/systemui/globalactions/
DGlobalActionsImpl.java25 import android.view.Window;
94 Window window = d.getWindow(); in showShutdownUi()
95 window.requestFeature(Window.FEATURE_NO_TITLE); in showShutdownUi()
/frameworks/opt/timezonepicker/src/com/android/timezonepicker/
DTimeZonePickerDialog.java25 import android.view.Window;
97 dialog.requestWindowFeature(Window.FEATURE_NO_TITLE); in onCreateDialog()

12345