Home
last modified time | relevance | path

Searched refs:getWindow (Results 1 – 25 of 92) sorted by relevance

1234

/frameworks/base/core/java/android/inputmethodservice/
DSoftInputWindow.java43 WindowManager.LayoutParams lp = getWindow().getAttributes(); in setToken()
45 getWindow().setAttributes(lp); in setToken()
75 getWindow().getDecorView().getHitRect(mBounds); in dispatchTouchEvent()
99 WindowManager.LayoutParams lp = getWindow().getAttributes(); in getSize()
118 WindowManager.LayoutParams lp = getWindow().getAttributes(); in setSize()
127 getWindow().setAttributes(lp); in setSize()
139 WindowManager.LayoutParams lp = getWindow().getAttributes(); in setGravity()
151 getWindow().setAttributes(lp); in setGravity()
156 WindowManager.LayoutParams lp = getWindow().getAttributes(); in initDockWindow()
167 getWindow().setAttributes(lp); in initDockWindow()
[all …]
DInputMethodService.java312 View decor = getWindow().getWindow().getDecorView();
630 mWindow.getWindow().setLayout(MATCH_PARENT, WRAP_CONTENT); in onCreate()
663 mWindow.getWindow().setWindowAnimations( in initViews()
695 mWindow.getWindow().setWindowAnimations(0); in onDestroy()
779 public Dialog getWindow() { in getWindow() method in InputMethodService
885 onConfigureWindow(mWindow.getWindow(), isFullscreen, !mShowInputRequested); in updateFullscreenMode()
909 mWindow.getWindow().setLayout(MATCH_PARENT, MATCH_PARENT); in onConfigureWindow()
911 mWindow.getWindow().setLayout(MATCH_PARENT, WRAP_CONTENT); in onConfigureWindow()
1015 View decor = getWindow().getWindow().getDecorView(); in onComputeInsets()
1020 View decor = getWindow().getWindow().getDecorView(); in onComputeInsets()
/frameworks/base/services/java/com/android/server/am/
DBaseErrorDialog.java33 getWindow().setType(WindowManager.LayoutParams.TYPE_SYSTEM_ALERT); in BaseErrorDialog()
34 getWindow().setFlags(WindowManager.LayoutParams.FLAG_ALT_FOCUSABLE_IM, in BaseErrorDialog()
36 getWindow().setTitle("Error Dialog"); in BaseErrorDialog()
DLaunchWarningWindow.java34 getWindow().setType(WindowManager.LayoutParams.TYPE_SYSTEM_ALERT); in LaunchWarningWindow()
35 getWindow().addFlags(WindowManager.LayoutParams.FLAG_NOT_FOCUSABLE in LaunchWarningWindow()
43 getWindow().setFeatureDrawableResource(Window.FEATURE_LEFT_ICON, out.resourceId); in LaunchWarningWindow()
DAppErrorDialog.java75 getWindow().addFlags(FLAG_SYSTEM_ERROR); in AppErrorDialog()
76 getWindow().setTitle("Application Error: " + app.info.processName); in AppErrorDialog()
78 getWindow().setType(WindowManager.LayoutParams.TYPE_SYSTEM_ERROR); in AppErrorDialog()
DCompatModeDialog.java44 getWindow().requestFeature(Window.FEATURE_NO_TITLE); in CompatModeDialog()
45 getWindow().setType(WindowManager.LayoutParams.TYPE_PHONE); in CompatModeDialog()
46 getWindow().setGravity(Gravity.BOTTOM|Gravity.CENTER_HORIZONTAL); in CompatModeDialog()
DStrictModeViolationDialog.java75 getWindow().addFlags(FLAG_SYSTEM_ERROR); in StrictModeViolationDialog()
76 getWindow().setTitle("Strict Mode Violation: " + app.info.processName); in StrictModeViolationDialog()
DAppNotRespondingDialog.java94 getWindow().addFlags(FLAG_SYSTEM_ERROR); in AppNotRespondingDialog()
95 getWindow().setTitle("Application Not Responding: " + app.info.processName); in AppNotRespondingDialog()
DFactoryErrorDialog.java33 getWindow().setTitle("Factory Error"); in FactoryErrorDialog()
/frameworks/base/core/java/android/app/
DActivity.java784 public Window getWindow() { in getWindow() method in Activity
1074 final Window win = getWindow(); in onPostResume()
1794 return getWindow().findViewById(id); in findViewById()
1812 Window window = getWindow(); in initActionBar()
1835 getWindow().setContentView(layoutResID); in setContentView()
1855 getWindow().setContentView(view); in setContentView()
1871 getWindow().setContentView(view, params); in setContentView()
1883 getWindow().addContentView(view, params); in addContentView()
2025 if (getWindow().performPanelShortcut(Window.FEATURE_OPTIONS_PANEL, in onKeyDown()
2302 Window w = getWindow(); in hasWindowFocus()
[all …]
DDialog.java211 getWindow().setVolumeControlStream(mOwnerActivity.getVolumeControlStream()); in setOwnerActivity()
421 public Window getWindow() { in getWindow() method in Dialog
769 LayoutParams params = getWindow().getAttributes(); in dispatchPopulateAccessibilityEvent()
1004 return getWindow().requestFeature(featureId); in requestWindowFeature()
1012 getWindow().setFeatureDrawableResource(featureId, resId); in setFeatureDrawableResource()
1020 getWindow().setFeatureDrawableUri(featureId, uri); in setFeatureDrawableUri()
1028 getWindow().setFeatureDrawable(featureId, drawable); in setFeatureDrawable()
1036 getWindow().setFeatureDrawableAlpha(featureId, alpha); in setFeatureDrawableAlpha()
1040 return getWindow().getLayoutInflater(); in getLayoutInflater()
1171 getWindow().setVolumeControlStream(streamType); in setVolumeControlStream()
[all …]
DNativeActivity.java152 getWindow().takeSurface(this); in onCreate()
153 getWindow().takeInputQueue(this); in onCreate()
154 getWindow().setFormat(PixelFormat.RGB_565); in onCreate()
155 getWindow().setSoftInputMode( in onCreate()
350 View decor = getWindow().getDecorView(); in dispatchUnhandledKeyEvent()
367 getWindow().setFlags(flags, mask); in setWindowFlags()
371 getWindow().setFormat(format); in setWindowFormat()
/frameworks/support/v13/java/android/support/v13/dreams/
DBasicDream.java72 getWindow().addFlags(WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON);
74 getWindow().clearFlags(WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON);
85 getWindow().addFlags( in onStart()
/frameworks/base/core/java/com/android/internal/view/menu/
DMenuDialogHelper.java82 WindowManager.LayoutParams lp = mDialog.getWindow().getAttributes(); in show()
96 Window win = mDialog.getWindow(); in onKey()
108 Window win = mDialog.getWindow(); in onKey()
/frameworks/base/core/java/android/database/
DCrossProcessCursor.java23 CursorWindow getWindow(); in getWindow() method
DCursorToBulkCursorAdaptor.java138 public CursorWindow getWindow(int startPos) { in getWindow() method in CursorToBulkCursorAdaptor
145 window = windowedCursor.getWindow(); in getWindow()
DIBulkCursor.java36 public CursorWindow getWindow(int startPos) throws RemoteException; in getWindow() method
/frameworks/base/core/tests/coretests/src/android/app/
DTranslucentFancyActivity.java62 getWindow().setFlags(WindowManager.LayoutParams.FLAG_BLUR_BEHIND, in onCreate()
/frameworks/base/opengl/tests/gl_perfapp/src/com/android/glperf/
DGLPerfActivity.java33getWindow().setFlags(WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON, WindowManager.LayoutParams.FL… in onCreate()
/frameworks/base/tests/BatteryWaster/src/com/android/batterywaster/
DBatteryWaster.java145 getWindow().addFlags(WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON); in updateWakeLock()
147 getWindow().clearFlags(WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON); in updateWakeLock()
/frameworks/base/policy/src/com/android/internal/policy/impl/
DGlobalActions.java108 mDialog.getWindow().getDecorView().setSystemUiVisibility(View.STATUS_BAR_DISABLE_EXPAND); in showDialog()
223 dialog.getWindow().setType(WindowManager.LayoutParams.TYPE_SYSTEM_DIALOG); in createDialog()
238 mDialog.getWindow().setType(WindowManager.LayoutParams.TYPE_KEYGUARD_DIALOG); in prepareDialog()
240 mDialog.getWindow().setType(WindowManager.LayoutParams.TYPE_SYSTEM_DIALOG); in prepareDialog()
/frameworks/base/core/java/com/android/internal/app/
DAlertActivity.java49 mAlert = new AlertController(this, this, getWindow()); in onCreate()
/frameworks/base/tests/ImfTest/src/com/android/imftest/samples/
DManyEditTextActivityScrollResize.java55 this.getWindow().setSoftInputMode(WindowManager.LayoutParams.SOFT_INPUT_ADJUST_PAN); in onCreate()
DBigEditTextActivityNonScrollablePanScan.java37 getWindow().setSoftInputMode(WindowManager.LayoutParams.SOFT_INPUT_ADJUST_PAN); in onCreate()
DBigEditTextActivityNonScrollableResize.java37 getWindow().setSoftInputMode(WindowManager.LayoutParams.SOFT_INPUT_ADJUST_RESIZE); in onCreate()

1234