Searched refs:window (Results 1 - 25 of 32) sorted by relevance

12

/packages/apps/Email/emailcommon/src/com/android/emailcommon/service/
H A DSyncWindow.java29 public static int toDays(int window) { argument
30 switch(window) {
/packages/apps/Browser2/test/resources/
H A Djs-test.js29 if (!window.jsTestIsAsync)
44 window.addEventListener('DOMContentLoaded', handleTestFinished, false);
/packages/apps/ContactsCommon/TestCommon/src/com/android/contacts/common/test/
H A DFragmentTestActivity.java39 final Window window = getWindow();
40 window.addFlags(WindowManager.LayoutParams.FLAG_TURN_SCREEN_ON |
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/
H A DBaseInputView.java49 * Called when the window containing has change its visibility.
71 Window window = mOptionsDialog.getWindow();
72 WindowManager.LayoutParams dialogLayoutParams = window.getAttributes();
75 window.setAttributes(dialogLayoutParams);
76 window.addFlags(WindowManager.LayoutParams.FLAG_ALT_FOCUSABLE_IM);
H A DCandidateTextView.java165 Window window = mCandidateDialog.getWindow();
166 WindowManager.LayoutParams lp = window.getAttributes();
169 window.setAttributes(lp);
170 window.addFlags(WindowManager.LayoutParams.FLAG_ALT_FOCUSABLE_IM);
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/EN/
H A DTutorialEN.java90 PopupWindow window; field in class:TutorialEN.Bubble
120 window = new PopupWindow(context);
121 window.setBackgroundDrawable(null);
131 window.setContentView(textView);
132 window.setFocusable(false);
133 window.setTouchable(true);
134 window.setOutsideTouchable(false);
163 int textHeight = chooseSize(window, inputView, text, textView);
168 if ((gravity & Gravity.BOTTOM) == Gravity.BOTTOM) offy -= window.getHeight();
169 if ((gravity & Gravity.RIGHT) == Gravity.RIGHT) offx -= window
[all...]
/packages/apps/UnifiedEmail/src/com/android/mail/utils/
H A DViewUtils.java100 final Window window = activity.getWindow();
101 if (window != null) {
102 window.setStatusBarColor(activity.getResources().getColor(colorId));
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/JAJP/
H A DTutorialJAJP.java92 PopupWindow window; field in class:TutorialJAJP.Bubble
122 window = new PopupWindow(context);
123 window.setBackgroundDrawable(null);
133 window.setContentView(textView);
134 window.setFocusable(false);
135 window.setTouchable(true);
136 window.setOutsideTouchable(false);
165 int textHeight = chooseSize(window, inputView, text, textView);
170 if ((gravity & Gravity.BOTTOM) == Gravity.BOTTOM) offy -= window.getHeight();
171 if ((gravity & Gravity.RIGHT) == Gravity.RIGHT) offx -= window
[all...]
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/
H A DViewLayoutUtils.java58 public static void updateLayoutHeightOf(final Window window, final int layoutHeight) { argument
59 final WindowManager.LayoutParams params = window.getAttributes();
62 window.setAttributes(params);
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/
H A DSetupLayoutActivity.java64 Window window = getWindow();
65 window.clearFlags(WindowManager.LayoutParams.FLAG_TRANSLUCENT_STATUS);
66 window.addFlags(WindowManager.LayoutParams.FLAG_DRAWS_SYSTEM_BAR_BACKGROUNDS);
81 SystemBarHelper.hideSystemBars(window);
/packages/apps/TV/usbtuner/src/com/android/usbtuner/cc/
H A DCaptionTrackRenderer.java168 // The window related caption commands
183 // Each bit of windowBitmap indicates a window.
184 // If a bit is set, the window id is the same as the number of the trailing zeros of the bit.
268 private void defineWindow(CaptionWindow window) { argument
269 if (window == null) {
272 int windowId = window.id;
280 windowLayout.initWindow(mCaptionLayout, window);
/packages/apps/UnifiedEmail/assets/
H A Dscript.js343 window.mail.onMessageTransform(msgId, transformText);
488 window.mail.onInlineAttachmentsParsed(urls, messageIds);
545 window.setTimeout(handleAllImageOnLoads, 0);
577 var scrollYPercent = window.mail.getScrollYPercent();
578 if (scrollYPercent && document.body.offsetHeight > window.innerHeight) {
588 window.mail.onContentReady();
634 window.mail.onWebContentGeometryChange(overlayTops, overlayBottoms);
725 block.innerHTML = window.mail.getTempMessageBodies();
759 msgContentDiv.innerHTML = window.mail.getMessageBody(id);
773 msg.innerHTML = window
[all...]
/packages/apps/Nfc/src/com/android/nfc/cardemulation/
H A DTapAgainDialog.java94 Window window = getWindow();
95 window.addFlags(WindowManager.LayoutParams.FLAG_DISMISS_KEYGUARD);
H A DAppChooserActivity.java153 Window window = getWindow();
154 window.addFlags(WindowManager.LayoutParams.FLAG_DISMISS_KEYGUARD);
/packages/experimental/TestBack/src/foo/bar/testback/
H A DTestBackService.java85 AccessibilityWindowInfo window = windows.get(i);
87 Log.i(LOG_TAG, window.toString());
/packages/apps/Stk/src/com/android/stk/
H A DStkDialogActivity.java136 Window window = getWindow();
138 TextView mMessageView = (TextView) window
148 window.setFeatureDrawableResource(Window.FEATURE_LEFT_ICON,
151 window.setFeatureDrawable(Window.FEATURE_LEFT_ICON,
/packages/apps/Settings/src/com/android/settings/deviceinfo/
H A DStorageWizardBase.java110 final Window window = getWindow();
111 window.addFlags(WindowManager.LayoutParams.FLAG_DRAWS_SYSTEM_BAR_BACKGROUNDS |
114 window.setStatusBarColor(Color.TRANSPARENT);
/packages/wallpapers/LivePicker/src/com/android/wallpaper/livepicker/
H A DLiveWallpaperPreview.java207 Window window = mDialog.getWindow();
208 WindowManager.LayoutParams lp = window.getAttributes();
212 window.setType(WindowManager.LayoutParams.TYPE_APPLICATION_MEDIA);
/packages/apps/EmergencyInfo/src/com/android/emergency/preferences/
H A DAutoCompleteEditTextPreference.java124 Window window = getDialog().getWindow();
125 window.setSoftInputMode(WindowManager.LayoutParams.SOFT_INPUT_STATE_ALWAYS_VISIBLE);
/packages/apps/PackageInstaller/src/com/android/packageinstaller/permission/ui/
H A DGrantPermissionsActivity.java179 Window window = getWindow();
180 WindowManager.LayoutParams layoutParams = window.getAttributes();
182 window.setAttributes(layoutParams);
192 // We need to relayout the window as dialog width may be
194 // window height needed to show all content. We have to
195 // re-add the window to force it to be resized if needed.
/packages/apps/Nfc/src/com/android/nfc/beam/
H A DSendUi.java300 // Create a Window with a Decor view; creating a window allows us to get callbacks
303 Window window = new PhoneWindow(mContext);
304 window.setCallback(this);
305 window.requestFeature(Window.FEATURE_NO_TITLE);
306 mDecor = window.getDecorView();
307 window.setContentView(mScreenshotLayout, mWindowLayoutParams);
/packages/apps/LegacyCamera/src/com/android/camera/
H A DUtil.java671 public static void enterLightsOutMode(Window window) { argument
672 WindowManager.LayoutParams params = window.getAttributes();
674 window.setAttributes(params);
/packages/experimental/CameraPreviewTest/src/com/example/android/videochatcameratest/
H A DVideoChatTestActivity.java48 Window window = getWindow();
49 window.setFlags(WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON,
/packages/services/Car/service/jni/
H A Dcom_android_car_CarCameraService.cpp23 #include <system/window.h>
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
H A DLatinIME.java1249 final Window window = getWindow().getWindow();
1250 ViewLayoutUtils.updateLayoutHeightOf(window, LayoutParams.MATCH_PARENT);
1261 final View inputArea = window.findViewById(android.R.id.inputArea);
1809 final Window window = dialog.getWindow();
1810 final WindowManager.LayoutParams lp = window.getAttributes();
1813 window.setAttributes(lp);
1814 window.addFlags(WindowManager.LayoutParams.FLAG_ALT_FOCUSABLE_IM);

Completed in 1272 milliseconds

12