Home
last modified time | relevance | path

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

1234567

/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.java33 private final WeakReference<Window> mWindow;
36 /*package*/ final Window.OnFrameMetricsAvailableListener mListener;
43 FrameMetricsObserver(@NonNull Window window, @NonNull Handler handler, in FrameMetricsObserver()
44 @NonNull Window.OnFrameMetricsAvailableListener listener) { in FrameMetricsObserver()
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.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.java60 import android.view.Window;
96 public class Dialog implements DialogInterface, Window.Callback,
97 KeyEvent.Callback, OnCreateContextMenuListener, Window.OnWindowDismissedCallback {
108 final Window mWindow;
201 final Window w = new PhoneWindow(mContext); in Dialog()
307 if (mWindow.hasFeature(Window.FEATURE_ACTION_BAR)) { in show()
308 mWindow.invalidatePanelMenu(Window.FEATURE_ACTION_BAR); in show()
329 if (mActionBar == null && mWindow.hasFeature(Window.FEATURE_ACTION_BAR)) { in show()
505 public @Nullable Window getWindow() { in getWindow()
932 if (featureId == Window.FEATURE_OPTIONS_PANEL) { in onCreatePanelMenu()
[all …]
DActivity.java124 import android.view.Window;
125 import android.view.Window.WindowControllerCallback;
740 Window.Callback, KeyEvent.Callback,
742 Window.OnWindowDismissedCallback,
874 private Window mWindow;
1114 public Window getWindow() { in getWindow()
1213 final Window window = getWindow(); in notifyContentCaptureManagerIfNeeded()
1988 final Window win = getWindow(); in onPostResume()
3493 Window window = getWindow(); in initWindowDecorActionBar()
3499 if (isChild() || !window.hasFeature(Window.FEATURE_ACTION_BAR) || mActionBar != null) { in initWindowDecorActionBar()
[all …]
DLocalActivityManager.java28 import android.view.Window;
64 Window window; // Activity's top-level window.
310 public Window startActivity(String id, Intent intent) { in startActivity()
407 private Window performDestroy(LocalActivityRecord r, boolean finish) { in performDestroy()
408 Window win; in performDestroy()
440 public Window destroyActivity(String id, boolean finish) { in destroyActivity()
442 Window win = null; in destroyActivity()
/frameworks/opt/car/setupwizard/library/main/src/com/android/car/setupwizardlib/util/
DCarSetupWizardUiUtils.java24 import android.view.Window;
57 public static void setWindowImmersiveMode(Window window, String immersiveModeValue) { in setWindowImmersiveMode()
98 public static void enableImmersiveMode(Window window) { in enableImmersiveMode()
126 private static void enableImmersiveModeWithStatus(Window window) { in enableImmersiveModeWithStatus()
152 public static void disableImmersiveMode(Window window) { in disableImmersiveMode()
/frameworks/base/tests/SilkFX/src/com/android/test/silkfx/app/
DWindowObserver.kt19 import android.view.Window
22 fun setWindow(window: Window)
/frameworks/base/packages/SystemUI/src/com/android/systemui/globalactions/
DGlobalActionsPowerDialog.java25 import android.view.Window;
49 dialog.requestWindowFeature(Window.FEATURE_NO_TITLE); in create()
52 Window window = dialog.getWindow(); in create()
/frameworks/opt/tv/tvsystem/java/com/android/libraries/tv/tvsystem/display/
DWindowCompatUtil.java19 import android.view.Window;
33 public static void setPreferMinimalPostProcessing(Window window, boolean isPreferred) { in setPreferMinimalPostProcessing()
/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()
/frameworks/base/packages/SystemUI/src/com/android/systemui/settings/brightness/
DBrightnessDialog.java27 import android.view.Window;
58 final Window window = getWindow(); in onCreate()
62 window.requestFeature(Window.FEATURE_NO_TITLE); in onCreate()
/frameworks/base/core/java/com/android/internal/widget/
DDecorContentParent.java24 import android.view.Window;
32 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/packages/SettingsLib/src/com/android/settingslib/core/lifecycle/
DHideNonSystemOverlayMixin.java26 import android.view.Window;
73 final Window window = mActivity.getWindow(); in onStop()
/frameworks/base/tests/SilkFX/src/com/android/test/silkfx/common/
DColorModeControls.kt27 import android.view.Window
45 private var window: Window? = null
106 override fun setWindow(window: Window) { in setWindow()
/frameworks/base/tests/FlickerTests/test-apps/flickerapp/src/com/android/server/wm/flicker/testapp/
DSeamlessRotationActivity.java28 import android.view.Window;
66 requestWindowFeature(Window.FEATURE_NO_TITLE); in enableSeamlessRotation()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DSystemUIDialog.java26 import android.view.Window;
106 final Window window = dialog.getWindow(); in setWindowOnTop()
115 final Window window = dialog.getWindow(); in applyFlags()
/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()

1234567