Home
last modified time | relevance | path

Searched refs:window (Results 1 – 25 of 48) sorted by relevance

12

/packages/services/Car/tests/carservice_unit_test/src/com/android/car/
DSlidingWindowTest.java45 SlidingWindow<Integer> window = new SlidingWindow<>(5); in testAdd() local
46 elements.forEach(window::add); in testAdd()
47 assertTrue(sameContents(elements.iterator(), window.iterator())); in testAdd()
53 SlidingWindow<Integer> window = new SlidingWindow<>(5); in testAddOverflow() local
54 window.addAll(elements); in testAddOverflow()
55 assertTrue(sameContents(expectedElements.iterator(), window.iterator())); in testAddOverflow()
61 SlidingWindow<Integer> window = new SlidingWindow<>(5); in testStream() local
62 window.addAll(elements); in testStream()
64 assertTrue(window.stream().anyMatch(e::equals)); in testStream()
70 SlidingWindow<Integer> window = new SlidingWindow<>(5); in testCount() local
[all …]
/packages/apps/UnifiedEmail/assets/
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.mail.getTempMessageBodies();
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/common/
DSetupLayoutActivity.java89 Window window = getWindow(); in setStatusBarColor() local
90 window.clearFlags(WindowManager.LayoutParams.FLAG_TRANSLUCENT_STATUS); in setStatusBarColor()
91 window.addFlags(WindowManager.LayoutParams.FLAG_DRAWS_SYSTEM_BAR_BACKGROUNDS); in setStatusBarColor()
92 window.setStatusBarColor(statusBarColor); in setStatusBarColor()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/core/
DHideNonSystemOverlayMixin.java66 final Window window = mActivity.getWindow(); in onStop() local
67 final WindowManager.LayoutParams attrs = window.getAttributes(); in onStop()
69 window.setAttributes(attrs); in onStop()
/packages/apps/Settings/src/com/android/settings/core/
DHideNonSystemOverlayMixin.java66 final Window window = mActivity.getWindow(); in onStop() local
67 final WindowManager.LayoutParams attrs = window.getAttributes(); in onStop()
69 window.setAttributes(attrs); in onStop()
/packages/apps/UnifiedEmail/src/com/android/mail/utils/
DViewUtils.java100 final Window window = activity.getWindow(); in setStatusBarColor() local
101 if (window != null) { in setStatusBarColor()
102 window.setStatusBarColor(activity.getResources().getColor(colorId)); in setStatusBarColor()
/packages/apps/Settings/src/com/android/settings/panel/
DSettingsPanelActivity.java101 final Window window = getWindow(); in createOrUpdatePanel() local
102 window.setGravity(Gravity.BOTTOM); in createOrUpdatePanel()
103 window.setLayout(WindowManager.LayoutParams.MATCH_PARENT, in createOrUpdatePanel()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/
DViewLayoutUtils.java58 public static void updateLayoutHeightOf(final Window window, final int layoutHeight) { in updateLayoutHeightOf() argument
59 final WindowManager.LayoutParams params = window.getAttributes(); in updateLayoutHeightOf()
62 window.setAttributes(params); in updateLayoutHeightOf()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/panel/
DSettingsPanelActivity.java82 final Window window = getWindow(); in onCreate() local
83 window.setGravity(Gravity.BOTTOM); in onCreate()
84 window.setLayout(WindowManager.LayoutParams.MATCH_PARENT, in onCreate()
/packages/apps/TV/tuner/src/com/android/tv/tuner/cc/
DCaptionTrackRenderer.java268 private void defineWindow(CaptionWindow window) { in defineWindow() argument
269 if (window == null) { in defineWindow()
272 int windowId = window.id; in defineWindow()
280 windowLayout.initWindow(mCaptionLayout, window); in defineWindow()
/packages/apps/Dialer/java/com/android/incallui/rtt/impl/
DRttChatFragment.java367 Window window = getActivity().getWindow(); in onRttScreenStart() local
368 window.setStatusBarColor(activity.getColor(R.color.rtt_status_bar_color)); in onRttScreenStart()
369 window.setNavigationBarColor(activity.getColor(R.color.rtt_navigation_bar_color)); in onRttScreenStart()
375 Window window = getActivity().getWindow(); in onRttScreenStop() local
376 window.setStatusBarColor(activity.getColor(android.R.color.transparent)); in onRttScreenStop()
377 window.setNavigationBarColor(activity.getColor(android.R.color.transparent)); in onRttScreenStop()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/accessibility/
DAccessibilityServiceWarning.java70 Window window = ad.getWindow(); in createCapabilitiesDialog() local
71 WindowManager.LayoutParams params = window.getAttributes(); in createCapabilitiesDialog()
73 window.setAttributes(params); in createCapabilitiesDialog()
/packages/services/BuiltInPrintService/src/com/android/bips/ui/
DAddManualPrinterDialog.java112 Window window = getWindow(); in openKeyboard() local
113 if (window != null) { in openKeyboard()
114 window.setSoftInputMode(WindowManager.LayoutParams.SOFT_INPUT_STATE_VISIBLE); in openKeyboard()
/packages/apps/Email/emailcommon/src/com/android/emailcommon/service/
DSyncWindow.java29 public static int toDays(int window) { in toDays() argument
30 switch(window) { in toDays()
/packages/apps/Settings/src/com/android/settings/accessibility/
DAccessibilityServiceWarning.java69 Window window = ad.getWindow(); in createCapabilitiesDialog() local
70 WindowManager.LayoutParams params = window.getAttributes(); in createCapabilitiesDialog()
72 window.setAttributes(params); in createCapabilitiesDialog()
/packages/apps/Contacts/tests/src/com/android/contacts/test/
DFragmentTestActivity.java39 final Window window = getWindow(); in onCreate() local
40 window.addFlags(WindowManager.LayoutParams.FLAG_TURN_SCREEN_ON | in onCreate()
/packages/apps/Dialer/java/com/android/dialer/historyitemactions/
DHistoryItemActionBottomSheet.java194 Window window = getWindow(); in setupWindow() local
195 if (window == null) { in setupWindow()
199 window.setLayout( in setupWindow()
/packages/apps/Launcher3/src/com/android/launcher3/util/
DSystemUiController.java47 public SystemUiController(Window window) { in SystemUiController() argument
48 mWindow = window; in SystemUiController()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/
DSmsDefaultDialog.java76 final Window window = getWindow(); in onStop() local
77 final WindowManager.LayoutParams attrs = window.getAttributes(); in onStop()
79 window.setAttributes(attrs); in onStop()
/packages/apps/Nfc/src/com/android/nfc/beam/
DSendUi.java310 Window window = new PhoneWindow(mContext); in SendUi() local
311 window.setCallback(this); in SendUi()
312 window.requestFeature(Window.FEATURE_NO_TITLE); in SendUi()
313 mDecor = window.getDecorView(); in SendUi()
314 window.setContentView(mScreenshotLayout, mWindowLayoutParams); in SendUi()
/packages/apps/Contacts/src/com/android/contacts/activities/
DActionBarAdapter.java517 final Window window = mActivity.getWindow(); in runStatusBarAnimation() local
518 if (window.getStatusBarColor() != colorTo) { in runStatusBarAnimation()
523 final int from = window.getStatusBarColor(); in runStatusBarAnimation()
530 window.setStatusBarColor((Integer) animator.getAnimatedValue()); in runStatusBarAnimation()
/packages/services/Car/tools/emulator/
Dgui.py44 def window(): function
141 window()
/packages/apps/Nfc/src/com/android/nfc/cardemulation/
DTapAgainDialog.java94 Window window = getWindow(); in onCreate() local
95 window.addFlags(WindowManager.LayoutParams.FLAG_DISMISS_KEYGUARD); in onCreate()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
DLatinIME.java1287 final Window window = getWindow().getWindow(); in updateSoftInputWindowLayoutParameters() local
1288 ViewLayoutUtils.updateLayoutHeightOf(window, LayoutParams.MATCH_PARENT); in updateSoftInputWindowLayoutParameters()
1299 final View inputArea = window.findViewById(android.R.id.inputArea); in updateSoftInputWindowLayoutParameters()
1863 final Window window = dialog.getWindow(); in showOptionDialog() local
1864 final WindowManager.LayoutParams lp = window.getAttributes(); in showOptionDialog()
1867 window.setAttributes(lp); in showOptionDialog()
1868 window.addFlags(WindowManager.LayoutParams.FLAG_ALT_FOCUSABLE_IM); in showOptionDialog()
/packages/apps/Car/Settings/src/com/android/car/settings/common/
DSettingsPreferenceDialogFragment.java218 Window window = dialog.getWindow(); in requestInputMethod() local
219 window.setSoftInputMode(WindowManager.LayoutParams.SOFT_INPUT_STATE_ALWAYS_VISIBLE); in requestInputMethod()

12