/packages/services/Car/tests/carservice_unit_test/src/com/android/car/ |
D | SlidingWindowTest.java | 45 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/ |
D | script.js | 343 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/ |
D | SetupLayoutActivity.java | 89 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/ |
D | HideNonSystemOverlayMixin.java | 66 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/ |
D | HideNonSystemOverlayMixin.java | 66 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/ |
D | ViewUtils.java | 100 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/ |
D | SettingsPanelActivity.java | 101 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/ |
D | ViewLayoutUtils.java | 58 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/ |
D | SettingsPanelActivity.java | 82 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/ |
D | CaptionTrackRenderer.java | 268 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/ |
D | RttChatFragment.java | 367 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/ |
D | AccessibilityServiceWarning.java | 70 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/ |
D | AddManualPrinterDialog.java | 112 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/ |
D | SyncWindow.java | 29 public static int toDays(int window) { in toDays() argument 30 switch(window) { in toDays()
|
/packages/apps/Settings/src/com/android/settings/accessibility/ |
D | AccessibilityServiceWarning.java | 69 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/ |
D | FragmentTestActivity.java | 39 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/ |
D | HistoryItemActionBottomSheet.java | 194 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/ |
D | SystemUiController.java | 47 public SystemUiController(Window window) { in SystemUiController() argument 48 mWindow = window; in SystemUiController()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/ |
D | SmsDefaultDialog.java | 76 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/ |
D | SendUi.java | 310 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/ |
D | ActionBarAdapter.java | 517 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/ |
D | gui.py | 44 def window(): function 141 window()
|
/packages/apps/Nfc/src/com/android/nfc/cardemulation/ |
D | TapAgainDialog.java | 94 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/ |
D | LatinIME.java | 1287 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/ |
D | SettingsPreferenceDialogFragment.java | 218 Window window = dialog.getWindow(); in requestInputMethod() local 219 window.setSoftInputMode(WindowManager.LayoutParams.SOFT_INPUT_STATE_ALWAYS_VISIBLE); in requestInputMethod()
|