Home
last modified time | relevance | path

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

123

/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowWindowTest.java29 Window window = activity.getWindow(); in getFlag_shouldReturnWindowFlags()
41 Window window = activity.getWindow(); in getTitle_shouldReturnWindowTitle()
49 Window window = activity.getWindow(); in getBackgroundDrawable_returnsSetDrawable()
61 Window window = activity.getWindow(); in getSoftInputMode_returnsSoftInputMode()
73 ProgressBar progress = shadowOf(activity.getWindow()).getProgressBar(); in getProgressBar_returnsTheProgressBar()
89 ProgressBar indeterminate = shadowOf(activity.getWindow()).getIndeterminateProgressBar(); in getIndeterminateProgressBar_returnsTheIndeterminateProgressBar()
119 getWindow().requestFeature(requestFeature); in onCreate()
DShadowPhoneWindowTest.java24 window = activity.getWindow(); in setUp()
/external/setupcompat/main/java/com/google/android/setupcompat/
DPartnerCustomizationLayout.java102 StatusBarMixin.class, new StatusBarMixin(this, activity.getWindow(), attrs, defStyleAttr)); in init()
103 registerMixin(SystemNavBarMixin.class, new SystemNavBarMixin(this, activity.getWindow())); in init()
112 activity.getWindow().addFlags(WindowManager.LayoutParams.FLAG_DRAWS_SYSTEM_BAR_BACKGROUNDS); in init()
113 activity.getWindow().clearFlags(WindowManager.LayoutParams.FLAG_TRANSLUCENT_STATUS); in init()
114 activity.getWindow().clearFlags(WindowManager.LayoutParams.FLAG_TRANSLUCENT_NAVIGATION); in init()
/external/skqp/platform_tools/android/apps/skar_java/src/main/java/com/google/skar/examples/helloskar/helpers/
DFullScreenHelper.java39 .getWindow() in setFullScreenOnWindowFocusChanged()
48 activity.getWindow().addFlags(WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON); in setFullScreenOnWindowFocusChanged()
/external/skia/platform_tools/android/apps/skar_java/src/main/java/com/google/skar/examples/helloskar/helpers/
DFullScreenHelper.java39 .getWindow() in setFullScreenOnWindowFocusChanged()
48 activity.getWindow().addFlags(WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON); in setFullScreenOnWindowFocusChanged()
/external/sl4a/InterpreterForAndroid/src/com/googlecode/android_scripting/activity/
DMain.java76 getWindow().setFeatureInt(Window.FEATURE_INDETERMINATE_PROGRESS,
169 getWindow().setFeatureInt(Window.FEATURE_INDETERMINATE_PROGRESS, Window.PROGRESS_VISIBILITY_ON); in install()
185 getWindow().setFeatureInt(Window.FEATURE_INDETERMINATE_PROGRESS, Window.PROGRESS_VISIBILITY_ON); in uninstall()
/external/icu/icu4c/source/common/
Ducnvscsu.cpp885 getWindow(const uint32_t offsets[8], uint32_t c) { in getWindow() function
1142 } else if((window=getWindow(scsu->fromUDynamicOffsets, c))>=0) { in _SCSUFromUnicodeWithOffsets()
1184 if((window=getWindow(scsu->fromUDynamicOffsets, c))>=0) { in _SCSUFromUnicodeWithOffsets()
1200 } else if((window=getWindow(staticOffsets, c))>=0) { in _SCSUFromUnicodeWithOffsets()
1276 } else if((window=getWindow(scsu->fromUDynamicOffsets, c))>=0) { in _SCSUFromUnicodeWithOffsets()
1332 if( (window=getWindow(scsu->fromUDynamicOffsets, c))>=0 && in _SCSUFromUnicodeWithOffsets()
1628 } else if((window=getWindow(scsu->fromUDynamicOffsets, c))>=0) { in _SCSUFromUnicode()
1667 if((window=getWindow(scsu->fromUDynamicOffsets, c))>=0) { in _SCSUFromUnicode()
1683 } else if((window=getWindow(staticOffsets, c))>=0) { in _SCSUFromUnicode()
1753 } else if((window=getWindow(scsu->fromUDynamicOffsets, c))>=0) { in _SCSUFromUnicode()
[all …]
/external/opencensus-java/exporters/stats/signalfx/src/test/java/io/opencensus/exporter/stats/signalfx/
DSignalFxSessionAdaptorTest.java157 Mockito.when(view.getWindow()).thenReturn(AggregationWindow.Cumulative.create()); in unsupportedAggregationYieldsNoDatapoints()
165 Mockito.when(view.getWindow()).thenReturn(AggregationWindow.Cumulative.create()); in noAggregationDataYieldsNoDatapoints()
248 Mockito.when(view.getWindow()).thenReturn(AggregationWindow.Cumulative.create()); in adaptViewIntoDatapoints()
289 Mockito.when(view.getWindow()).thenReturn(AggregationWindow.Cumulative.create()); in adaptViewWithEmptyTagValueIntoDatapoints()
/external/skia/platform_tools/android/apps/arcore/src/main/java/org/skia/arcore/
DHelloArActivity.java108 getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN, in onCreate()
295 getWindow() in onWindowFocusChanged()
304 getWindow().addFlags(WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON); in onWindowFocusChanged()
/external/skqp/platform_tools/android/apps/arcore/src/main/java/org/skia/arcore/
DHelloArActivity.java108 getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN, in onCreate()
295 getWindow() in onWindowFocusChanged()
304 getWindow().addFlags(WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON); in onWindowFocusChanged()
/external/opencensus-java/api/src/main/java/io/opencensus/stats/
DNoopStats.java185 view.getWindow() in getView()
213 if (view.getWindow() instanceof View.AggregationWindow.Interval) { in filterExportedViews()
DViewData.java125 checkWindow(view.getWindow(), windowData); in create()
146 Duration duration = ((View.AggregationWindow.Interval) view.getWindow()).getDuration(); in create()
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/android/controller/
DActivityControllerTest.java129 controller.get().getWindow().getDecorView().getParent().getClass()).isEqualTo( in visible_addsTheDecorViewToTheWindowManager()
203 assertThat(controller.get().getWindow().getDecorView().getParent().getClass()).isEqualTo( in setup_callsLifecycleMethodsAndMakesVisible()
211 assertThat(controller.get().getWindow().getDecorView().getParent().getClass()).isEqualTo( in setupWithBundle_callsLifecycleMethodsAndMakesVisible()
342 getWindow().requestFeature(Window.FEATURE_ACTION_BAR); in onCreate()
/external/icu/icu4j/main/classes/charset/src/com/ibm/icu/charset/
DCharsetSCSU.java689 private byte getWindow(int[] offsets){ in getWindow() method in CharsetSCSU.CharsetEncoderSCSU
845 } else if((window=getWindow(data.fromUDynamicOffsets))>=0){ in loop()
895 if((window=getWindow(data.fromUDynamicOffsets))>=0){ in loop()
914 } else if((window = getWindow(staticOffsets))>=0){ in loop()
1001 } else if((window=getWindow(data.fromUDynamicOffsets))>=0){ in loop()
1114 if((window=getWindow(data.fromUDynamicOffsets))>=0 && in getTrailUnicode()
/external/opencensus-java/exporters/stats/stackdriver/src/main/java/io/opencensus/exporter/stats/stackdriver/
DStackdriverExportUtils.java207 if (!(view.getWindow() instanceof View.AggregationWindow.Cumulative)) { in createMetricDescriptor()
232 builder.setMetricKind(createMetricKind(view.getWindow(), view.getAggregation())); in createMetricDescriptor()
308 if (!(view.getWindow() instanceof View.AggregationWindow.Cumulative)) { in createTimeSeriesList()
315 shared.setMetricKind(createMetricKind(view.getWindow(), view.getAggregation())); in createTimeSeriesList()
/external/opencensus-java/api/src/test/java/io/opencensus/stats/
DViewTest.java71 assertThat(view.getWindow()).isEqualTo(Cumulative.create()); in testDistributionView()
82 assertThat(view.getWindow()).isEqualTo(Interval.create(MINUTE)); in testIntervalView()
/external/deqp/framework/platform/lnx/wayland/
DtcuLnxWayland.hpp92 void* getWindow (void) { return m_window; } in getWindow() function in tcu::lnx::wayland::Window
/external/androidplot/Examples/DemoApp/src/com/androidplot/demos/
DSimpleXYPlotActivity.java41 getWindow().setFlags(WindowManager.LayoutParams.FLAG_SECURE, in onCreate()
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowActivity.java322 return getWindow().findViewById(id); in findViewById()
384 protected Window getWindow() { in getWindow() method in ShadowActivity
385 Window window = directlyOn(realActivity, Activity.class).getWindow(); in getWindow()
435 return ((ViewGroup) getWindow().findViewById(R.id.content)).getChildAt(0); in getContentView()
/external/sl4a/Common/src/com/googlecode/android_scripting/future/
DFutureActivityTask.java48 mActivity.getWindow().requestFeature(Window.FEATURE_NO_TITLE); in onCreate()
/external/opencensus-java/exporters/stats/prometheus/src/main/java/io/opencensus/exporter/stats/prometheus/
DPrometheusExportUtils.java104 Type type = getType(view.getAggregation(), view.getWindow()); in createMetricFamilySamples()
119 Type type = getType(view.getAggregation(), view.getWindow()); in createDescribableMetricFamilySamples()
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/android/controller/
DActivityController.java131 ReflectionHelpers.setField(component, "mDecor", component.getWindow().getDecorView()); in visible()
146 return component.getWindow().getDecorView().getViewRootImpl(); in getViewRoot()
/external/walt/android/WALT/app/src/main/java/org/chromium/latency/walt/
DScreenResponseFragment.java564 final WindowManager.LayoutParams layoutParams = getActivity().getWindow().getAttributes(); in increaseScreenBrightness()
566 getActivity().getWindow().setAttributes(layoutParams); in increaseScreenBrightness()
583 … if (activity != null) activity.getWindow().getDecorView().setSystemUiVisibility(newVisibility); in setFullScreen()
/external/droiddriver/src/io/appium/droiddriver/instrumentation/
DInstrumentationDriver.java58 return runningActivity.getWindow().getDecorView();
/external/opencensus-java/impl_core/src/main/java/io/opencensus/implcore/stats/
DMetricUtils.java44 if (view.getWindow() instanceof View.AggregationWindow.Interval) { in viewToMetricDescriptor()

123