Searched refs:uiMode (Results 1 – 21 of 21) sorted by relevance
46 config.uiMode = proto.uiMode; in extract()
68 int uiMode = getResources().getConfiguration().uiMode; in onCreate() local69 mOnTv = (uiMode & Configuration.UI_MODE_TYPE_MASK) == Configuration.UI_MODE_TYPE_TELEVISION; in onCreate()
98 return (context.getResources().getConfiguration().uiMode in isVrHeadset()
67 if ((getResources().getConfiguration().uiMode & Configuration.UI_MODE_TYPE_MASK) in onCreate()
41 return mConfig.isScreenRound() && (mConfig.uiMode & Configuration.UI_MODE_TYPE_WATCH) in isRoundWatch()
102 if ((config.uiMode & Configuration.UI_MODE_TYPE_WATCH) != 0) { in testSystemIntents()
102 return (getInstrumentation().getContext().getResources().getConfiguration().uiMode in isWatch()
83 return (config.uiMode & Configuration.UI_MODE_TYPE_MASK) in isRunningInVr()
53 return (getContext().getResources().getConfiguration().uiMode in isWatch()
283 config.uiMode, resConfig.configuration.uiMode); in checkResourceConfig()
180 return ((context.getResources().getConfiguration().uiMode & in isRunningInVR()
253 if ((context.getResources().getConfiguration().uiMode & Configuration.UI_MODE_TYPE_MASK) in isRunningInVR()
211 return (context.getResources().getConfiguration().uiMode & in isRunningInVR()
276 config.uiMode = 1; in testDiff()357 assertEquals(Configuration.UI_MODE_TYPE_UNDEFINED, config.uiMode); in testSetToDefaults()384 assertEquals(Configuration.UI_MODE_TYPE_UNDEFINED, config.uiMode); in testUnset()
315 return (mActivity.getResources().getConfiguration().uiMode in isWatch()
360 return (mActivity.getResources().getConfiguration().uiMode in isWatch()
150 return (mContext.getResources().getConfiguration().uiMode in isWatch()
7721 return (mActivity.getResources().getConfiguration().uiMode in isWatch()
346 if ((getActivity().getResources().getConfiguration().uiMode in testTypeNotificationStateChangedAccessibilityEvent()
1075 int mode = mContext.getResources().getConfiguration().uiMode in supportsCantSaveState()