Home
last modified time | relevance | path

Searched refs:mConfig (Results 1 – 10 of 10) sorted by relevance

/cts/tests/tests/theme/src/android/theme/cts/
DWatchPercentageScreenDimenTest.java38 private Configuration mConfig; field in WatchPercentageScreenDimenTest
43 return mConfig.isScreenRound() && (mConfig.uiMode & Configuration.UI_MODE_TYPE_WATCH) in isRoundWatch()
50 mConfig = mContext.getResources().getConfiguration(); in setUp()
/cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/
DColorFilterAlphaTest.java100 private final XfermodeTest.Config mConfig; field in ColorFilterAlphaTest
103 mConfig = config; in ColorFilterAlphaTest()
146 mPaint.setColorFilter(new PorterDuffColorFilter(FILTER_COLOR, mConfig.mode));
154 .addCanvasClient(mCanvasClient, mConfig.hardwareAccelerated) in test()
155 .runWithVerifier(new SamplePointVerifier(TEST_POINTS, mConfig.expectedColors)); in test()
DXfermodeTest.java142 private final Config mConfig; field in XfermodeTest
145 mConfig = config; in XfermodeTest()
172 mPaint.setXfermode(new PorterDuffXfermode(mConfig.mode));
200 .addCanvasClient(mCanvasClient, mConfig.hardwareAccelerated) in test()
201 .runWithVerifier(new SamplePointVerifier(TEST_POINTS, mConfig.expectedColors)); in test()
/cts/tests/tests/security/testeffect/
DCTSTestEffect.cpp37 effect_config_t mConfig; member
123 memcpy(&pContext->mConfig, pCmdData, cmdSize); in CTSEffects_command()
131 memcpy(pReplyData, &pContext->mConfig, *replySize); in CTSEffects_command()
/cts/tests/tests/dpi/src/android/dpi/cts/
DConfigurationScreenLayoutTest.java72 Configuration mConfig = activity.getResources().getConfiguration(); in testScreenLayout() local
73 int actualSize = mConfig.screenLayout & Configuration.SCREENLAYOUT_SIZE_MASK; in testScreenLayout()
74 int actualLong = mConfig.screenLayout & Configuration.SCREENLAYOUT_LONG_MASK; in testScreenLayout()
/cts/tests/tests/content/src/android/content/res/cts/
DConfigurationTest.java31 private Configuration mConfig; field in ConfigurationTest
42 mConfig = new Configuration(); in makeConfiguration()
43 mConfig.fontScale = 2; in makeConfiguration()
44 mConfig.mcc = mConfig.mnc = 1; in makeConfiguration()
45 mConfig.setLocale(Locale.getDefault()); in makeConfiguration()
46 mConfig.touchscreen = Configuration.TOUCHSCREEN_NOTOUCH; in makeConfiguration()
47 mConfig.keyboard = Configuration.KEYBOARD_NOKEYS; in makeConfiguration()
48 mConfig.keyboardHidden = Configuration.KEYBOARDHIDDEN_NO; in makeConfiguration()
49 mConfig.navigation = Configuration.NAVIGATION_NONAV; in makeConfiguration()
50 mConfig.orientation = Configuration.ORIENTATION_PORTRAIT; in makeConfiguration()
[all …]
DConfigTest.java109 final Configuration mConfig; field in ConfigTest.TotalConfig
113 mConfig = new Configuration(); in TotalConfig()
115 mConfig.locale = Locale.ROOT; in TotalConfig()
121 mConfig.mcc = value; in setProperty()
124 mConfig.mnc = value; in setProperty()
127 mConfig.touchscreen = value; in setProperty()
130 mConfig.keyboard = value; in setProperty()
133 mConfig.keyboardHidden = value; in setProperty()
136 mConfig.navigation = value; in setProperty()
139 mConfig.orientation = value; in setProperty()
[all …]
/cts/tests/tests/drm/src/android/drm/cts/
DDRMTest.java312 private Config mConfig; field in DRMTest.OnEventListenerImpl
314 mConfig = config; in OnEventListenerImpl()
330 mDrmRights, mConfig.getRightsPath(), mConfig.getContentPath())); in onEvent()
/cts/tests/framework/base/windowmanager/src/android/server/wm/
DKeyguardTests.java76 private AmbientDisplayConfiguration mConfig; field in KeyguardTests.AodSession
82 mConfig = new AmbientDisplayConfiguration(mContext); in AodSession()
86 return mConfig.alwaysOnAvailable(); in isAodAvailable()
/cts/tests/tests/view/src/android/view/cts/
DTextureViewTest.java429 private Bitmap.Config mConfig; field in TextureViewTest.SRGBCompare
432 mConfig = config; in SRGBCompare()
436 return mConfig; in getConfig()