Home
last modified time | relevance | path

Searched refs:dm (Results 1 – 8 of 8) sorted by relevance

/cts/tests/tests/util/src/android/util/cts/
DTypedValueTest.java38 DisplayMetrics dm = new DisplayMetrics(); in testComplexToDimension() local
39 dm.density = 1.1f; in testComplexToDimension()
40 dm.heightPixels = 100; in testComplexToDimension()
41 dm.scaledDensity = 2.1f; in testComplexToDimension()
42 dm.xdpi = 200f; in testComplexToDimension()
43 dm.ydpi = 300f; in testComplexToDimension()
45 & TypedValue.COMPLEX_UNIT_MASK, TypedValue.complexToFloat(10), dm); in testComplexToDimension()
47 assertEquals(EXPECTED, TypedValue.complexToDimension(10, dm)); in testComplexToDimension()
48 assertEquals((int)EXPECTED, TypedValue.complexToDimensionPixelOffset(10, dm)); in testComplexToDimension()
80 DisplayMetrics dm = new DisplayMetrics(); in testComplexToDimensionPixelSize() local
[all …]
/cts/hostsidetests/appsecurity/test-apps/ExternalStorageApp/src/com/android/cts/externalstorageapp/
DExternalStorageTest.java105 final DownloadManager dm = getContext().getSystemService(DownloadManager.class); in testDownloadManager() local
110 dm.enqueue(new Request(source).setDestinationUri(Uri.fromFile(target))); in testDownloadManager()
120 final DownloadManager dm = getContext().getSystemService(DownloadManager.class); in testDownloadManagerPackage() local
130 final long id = dm.enqueue(new Request(source).setDestinationUri(Uri.fromFile(target))); in testDownloadManagerPackage()
185 final DownloadManager dm = getContext().getSystemService(DownloadManager.class); in assertSuccessfulDownload() local
189 cursor = dm.query(new Query().setFilterById(id)); in assertSuccessfulDownload()
/cts/tests/tests/content/src/android/content/res/cts/
DResourcesTest.java68 final DisplayMetrics dm = new DisplayMetrics(); in testResources() local
69 dm.setToDefaults(); in testResources()
71 final Resources r = new Resources(am, dm, cfg); in testResources()
221 final DisplayMetrics dm = new DisplayMetrics(); in createNewResources() local
222 dm.setToDefaults(); in createNewResources()
225 return new Resources(new AssetManager(), dm, cfg); in createNewResources()
/cts/tests/tests/view/src/android/view/cts/
DWindowTest.java292 DisplayMetrics dm = new DisplayMetrics(); in checkDecorView() local
293 mActivity.getWindowManager().getDefaultDisplay().getMetrics(dm); in checkDecorView()
294 int screenWidth = dm.widthPixels; in checkDecorView()
295 int screenHeight = dm.heightPixels; in checkDecorView()
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/
DNinePatchDrawableTest.java486 DisplayMetrics dm = new DisplayMetrics(); in testSetTargetDensity_DisplayMetrics()
487 dm.densityDpi = density; in testSetTargetDensity_DisplayMetrics()
488 dr.setTargetDensity(dm); in testSetTargetDensity_DisplayMetrics()
/cts/tests/tests/text/src/android/text/method/cts/
DScrollingMovementMethodTest.java743 DisplayMetrics dm = getActivity().getResources().getDisplayMetrics(); in testHorizontalMovement()
744 int width = (int) (LITTLE_SPACE * dm.scaledDensity); in testHorizontalMovement()
/cts/tests/tests/media/assets/
Dsegment000001.ts2752 ��%H���G��b���@77`����D�*�J5:T�����n068�������N��+8>7�`�g�� dm0?hxL-��^]C��l^�������@…
/cts/tests/tests/media/res/raw/
Dfootball_qvga.yuv22 …:983.-A�jgmnootxwwurokmprrolggjmpnjheegilljijkljklkgjjiq}������������ܴyMJ]dm�����wx}��~xrpojhikn…
25 …hklmnmlhgd^][j{�����������ǿ��}i`aYRNFGIILNNVl�������������ç�iZ[`ehkjfdb^^b`dm}�������[6u���]$069CM…
26 …������ŭ��kD1%8WbUHGFIMLIOSOONMNNPQT\]NLPJ@766566658987:<:;9<j����UO�ucmdc�dm���������������������…
55 …�������Ŀ��������������������������������������X#U|bUROKCA<8734566568879?6;dm]TTU]gcU\omkigihlprro…
76 …+#""!"$%$#$!&#3p�zru{������������������������������������������������������dm{xyztpmligjjfillq�{F&…
113 …",6Oo�qV@38@CEHGJLLMLMOQPLUcfcdgihimonopoopeWG6)').//06+H��������zWEMT]a[[dm}��whn}��ʿ��abmlgj|�{…
137 …T@JS^��xGp����Ԡ\���aix|vnfUH@<:99::;:99758CLOF7-,>U`fbWLFAFKQo���pL719CR`dm{�iPJJLJFECMz��������…
152 …chjmqtvvvtqnmptzwpkhmrogXC/ +BW`cdfiopohg�������}~}|z|~}|~~���|zwv{o[dm[OMF92Jy��~obYSTTTVVV…
189 …^JGXe���������ub^bgmnmnmmmmnoosvuvtuxxxyxxuqnmifefhloqtsma��й�[VMI@,$'!(H`dm�������������˷���{rmf…
239 …dfl{��qC#%('%%'%""%"!!#!!<B8�p((+,++-10-0113458;<;8=KB;ESY`hp|��}}���dm����������}s{�pmnnmnp…
[all …]