Home
last modified time | relevance | path

Searched refs:getAttributes (Results 1 – 25 of 112) sorted by relevance

12345

/aosp14/frameworks/base/core/tests/coretests/src/com/android/internal/policy/
H A DPhoneWindowTest.java66 assertThat(mPhoneWindow.getAttributes().layoutInDisplayCutoutMode, in layoutInDisplayCutoutMode_unset()
75 assertThat(mPhoneWindow.getAttributes().layoutInDisplayCutoutMode, in layoutInDisplayCutoutMode_default()
84 assertThat(mPhoneWindow.getAttributes().layoutInDisplayCutoutMode, in layoutInDisplayCutoutMode_shortEdges()
93 assertThat(mPhoneWindow.getAttributes().layoutInDisplayCutoutMode, in layoutInDisplayCutoutMode_never()
102 assertThat(mPhoneWindow.getAttributes().layoutInDisplayCutoutMode, in layoutInDisplayCutoutMode_always()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/globalactions/
H A DShutdownUi.java80 window.getAttributes().systemUiVisibility |= View.SYSTEM_UI_FLAG_LAYOUT_FULLSCREEN in showShutdownUi()
85 window.getAttributes().width = ViewGroup.LayoutParams.MATCH_PARENT; in showShutdownUi()
86 window.getAttributes().height = ViewGroup.LayoutParams.MATCH_PARENT; in showShutdownUi()
87 window.getAttributes().layoutInDisplayCutoutMode = LAYOUT_IN_DISPLAY_CUTOUT_MODE_ALWAYS; in showShutdownUi()
89 window.getAttributes().setFitInsetsTypes(0 /* types */); in showShutdownUi()
/aosp14/frameworks/base/tests/SilkFX/src/com/android/test/silkfx/materials/
H A DBackgroundBlurActivity.kt152 window.getAttributes().setBlurBehindRadius(mBlurBehindRadius)
153 window.setAttributes(window.getAttributes())
163 window.getAttributes().dimAmount = amount
164 window.setAttributes(window.getAttributes())
187 getWindowManager().updateViewLayout(window.getDecorView(), window.getAttributes())
/aosp14/frameworks/base/tests/InputMethodStressTest/src/com/android/inputmethod/stresstest/
H A DAutoShowTest.java119 int windowFlags = activity.getWindow().getAttributes().flags; in autoShow_hasFocusedView_notRequestFocus()
148 int windowFlags = activity.getWindow().getAttributes().flags; in autoShow_notFocusedView_notRequestFocus()
328 int softInputMode = activity.getWindow().getAttributes().softInputMode; in verifyAutoShowBehavior_forwardWithKeyboardOff()
370 int windowFlags = activity.getWindow().getAttributes().flags; in verifyAutoShowBehavior_forwardWithKeyboardOn()
371 int softInputMode = activity.getWindow().getAttributes().softInputMode; in verifyAutoShowBehavior_forwardWithKeyboardOn()
435 int softInputMode = activity.getWindow().getAttributes().softInputMode; in verifyAutoShowBehavior_backwardWithKeyboardOff()
452 int softInputMode = activity.getWindow().getAttributes().softInputMode; in verifyAutoShowBehavior_backwardWithKeyboardOn()
465 int windowFlags = activity.getWindow().getAttributes().flags; in verifyClickBehavior()
/aosp14/frameworks/base/packages/PrintRecommendationService/src/com/android/printservice/recommendation/plugin/hp/
H A DHPRecommendationPlugin.java90 String pdls = MDnsUtils.getString(nsdServiceInfo.getAttributes().get(PDL_ATTRIBUTE)); in matchesCriteria()
91 …tils.equals(ATTRIBUTE_VALUE__TRUE, MDnsUtils.getString(nsdServiceInfo.getAttributes().get(MDNS_ATT… in matchesCriteria()
93 …sMobileSupport || isPrintSupported(MDnsUtils.getString(nsdServiceInfo.getAttributes().get(MDNS_ATT… in matchesCriteria()
H A DMDnsUtils.java39 Map<String,byte[]> attributes = networkDevice.getAttributes(); in isVendorPrinter()
51 Map<String,byte[]> attributes = networkDevice.getAttributes(); in getVendor()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DSystemUIDialog.java118 WindowManager.LayoutParams attrs = getWindow().getAttributes(); in SystemUIDialog()
312 dialog.getWindow().getAttributes().privateFlags |= in setShowForAllUsers()
315 dialog.getWindow().getAttributes().privateFlags &= in setShowForAllUsers()
327 window.getAttributes().setFitInsetsTypes( in setWindowOnTop()
328 window.getAttributes().getFitInsetsTypes() & ~Type.statusBars()); in setWindowOnTop()
337 window.getAttributes().setFitInsetsTypes( in applyFlags()
338 window.getAttributes().getFitInsetsTypes() & ~Type.statusBars()); in applyFlags()
/aosp14/frameworks/base/packages/PrintRecommendationService/src/com/android/printservice/recommendation/plugin/xerox/
H A DMDnsUtils.java36 Map<String, byte[]> attributes = networkDevice.getAttributes(); in isVendorPrinter()
51 Map<String, byte[]> attributes = networkDevice.getAttributes(); in getVendor()
63 String pdls = MDnsUtils.getString(networkDevice.getAttributes().get(PDL_ATTRIBUTE)); in checkPDLSupport()
/aosp14/frameworks/base/core/java/android/view/
H A DWindow.java1130 final WindowManager.LayoutParams attrs = getAttributes(); in setLayout()
1148 final WindowManager.LayoutParams attrs = getAttributes(); in setGravity()
1160 final WindowManager.LayoutParams attrs = getAttributes(); in setType()
1177 final WindowManager.LayoutParams attrs = getAttributes(); in setFormat()
1196 final WindowManager.LayoutParams attrs = getAttributes(); in setWindowAnimations()
1209 final WindowManager.LayoutParams attrs = getAttributes(); in setSoftInputMode()
1291 final WindowManager.LayoutParams attrs = getAttributes(); in setFlags()
1298 final WindowManager.LayoutParams attrs = getAttributes(); in setPrivateFlags()
1327 final WindowManager.LayoutParams attrs = getAttributes(); in setColorMode()
1384 return getAttributes().getColorMode(); in getColorMode()
[all …]
/aosp14/frameworks/base/core/java/android/inputmethodservice/
H A DInkWindow.java57 final LayoutParams attrs = getAttributes(); in InkWindow()
95 mWindowManager.addView(getDecorView(), getAttributes()); in show()
116 WindowManager.LayoutParams lp = getAttributes(); in setToken()
/aosp14/frameworks/base/tests/TaskOrganizerTest/src/com/android/test/taskembed/
H A DTaskOrganizerMultiWindowTest.java94 getWindow().getAttributes().layoutInDisplayCutoutMode = in onCreate()
171 getWindow().getAttributes().layoutInDisplayCutoutMode = in onCreate()
187 getWindow().getAttributes().layoutInDisplayCutoutMode = in onCreate()
/aosp14/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/core/lifecycle/
H A DHideNonSystemOverlayMixinTest.java57 final WindowManager.LayoutParams attrs = activity.getWindow().getAttributes(); in startActivity_shouldHideNonSystemOverlay()
67 final WindowManager.LayoutParams attrs = activity.getWindow().getAttributes(); in stopActivity_shouldUnhideNonSystemOverlay()
/aosp14/frameworks/base/media/java/android/media/
H A DMediaCodecList.java113 getCodecName(index), getCanonicalName(index), getAttributes(index), caps); in getNewCodecInfoAt()
120 /* package private */ static native final int getAttributes(int index); in getAttributes() method in MediaCodecList
/aosp14/frameworks/base/packages/PrintRecommendationService/src/com/android/printservice/recommendation/plugin/google/
H A DCloudPrintPlugin.java84 new ArrayMap<>(nsdServiceInfo.getAttributes().size()); in CloudPrintPlugin()
85 for (Map.Entry<String, byte[]> entry : nsdServiceInfo.getAttributes() in CloudPrintPlugin()
/aosp14/frameworks/base/services/usb/java/com/android/server/usb/descriptors/
H A DUsbEndpointDescriptor.java93 public int getAttributes() { in getAttributes() method in UsbEndpointDescriptor
161 int attributes = getAttributes(); in report()
/aosp14/frameworks/base/tests/FlickerTests/test-apps/flickerapp/src/com/android/server/wm/flicker/testapp/
H A DPortraitOnlyActivity.java27 WindowManager.LayoutParams p = getWindow().getAttributes(); in onCreate()
H A DShowWhenLockedActivity.java27 WindowManager.LayoutParams p = getWindow().getAttributes(); in onCreate()
H A DSimpleActivity.java27 WindowManager.LayoutParams p = getWindow().getAttributes(); in onCreate()
H A DImeActivity.java28 WindowManager.LayoutParams p = getWindow().getAttributes(); in onCreate()
H A DLaunchNewActivity.java29 WindowManager.LayoutParams p = getWindow().getAttributes(); in onCreate()
H A DLaunchNewTaskActivity.java31 WindowManager.LayoutParams p = getWindow().getAttributes(); in onCreate()
H A DImeEditorPopupDialogActivity.java32 WindowManager.LayoutParams p = getWindow().getAttributes(); in onCreate()
/aosp14/frameworks/base/tests/TouchLatency/app/src/main/java/com/prefabulated/touchlatency/
H A DTouchLatencyActivity.java70 WindowManager.LayoutParams w = getWindow().getAttributes();
168 WindowManager.LayoutParams params = w.getAttributes(); in changeDisplayMode()
/aosp14/frameworks/base/services/core/java/com/android/server/wm/
H A DFactoryErrorDialog.java36 WindowManager.LayoutParams attrs = getWindow().getAttributes(); in FactoryErrorDialog()
/aosp14/frameworks/base/packages/PrintRecommendationService/src/com/android/printservice/recommendation/plugin/samsung/
H A DPrinterFilterMopria.java48 String pdls = MDNSUtils.getString(nsdServiceInfo.getAttributes().get(PDL_ATTRIBUTE)); in matchesCriteria()

12345