Home
last modified time | relevance | path

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

12

/packages/apps/Launcher3/src/com/android/launcher3/
DDeviceProfile.java161 DisplayMetrics dm = res.getDisplayMetrics(); in DeviceProfile() local
215 hotseatBarSizePx = ResourceUtils.pxFromDp(inv.iconSize, dm) + (isVerticalBarLayout() in DeviceProfile()
221 updateAvailableDimensions(dm, res); in DeviceProfile()
235 updateAvailableDimensions(dm, res); in DeviceProfile()
320 private void updateAvailableDimensions(DisplayMetrics dm, Resources res) { in updateAvailableDimensions() argument
321 updateIconSize(1f, res, dm); in updateAvailableDimensions()
328 updateIconSize(scale, res, dm); in updateAvailableDimensions()
330 updateAvailableFolderCellDimensions(dm, res); in updateAvailableDimensions()
338 private void updateIconSize(float scale, Resources res, DisplayMetrics dm) { in updateIconSize() argument
342 iconSizePx = Math.max(1, (int) (ResourceUtils.pxFromDp(invIconSizeDp, dm) * scale)); in updateIconSize()
[all …]
DPartner.java119 … public void applyInvariantDeviceProfileOverrides(InvariantDeviceProfile inv, DisplayMetrics dm) { in applyInvariantDeviceProfileOverrides() argument
141 iconSize = Utilities.dpiFromPx(px, dm); in applyInvariantDeviceProfileOverrides()
DInvariantDeviceProfile.java463 private void applyPartnerDeviceProfileOverrides(Context context, DisplayMetrics dm) { in applyPartnerDeviceProfileOverrides() argument
466 p.applyInvariantDeviceProfileOverrides(this, dm); in applyPartnerDeviceProfileOverrides()
/packages/providers/DownloadProvider/ui/src/com/android/providers/downloads/ui/
DTrampolineActivity.java83 final DownloadManager dm = (DownloadManager) getSystemService(Context.DOWNLOAD_SERVICE); in onCreate() local
84 dm.setAccessAllDownloads(true); in onCreate()
90 final Cursor cursor = dm.query(new Query().setFilterById(id)); in onCreate()
158 final DownloadManager dm = (DownloadManager) context.getSystemService( in onCreateDialog() local
160 dm.setAccessAllDownloads(true); in onCreateDialog()
180 dm.forceDownload(id); in onCreateDialog()
189 dm.remove(id); in onCreateDialog()
220 final DownloadManager dm = (DownloadManager) context.getSystemService( in onCreateDialog() local
222 dm.setAccessAllDownloads(true); in onCreateDialog()
252 dm.remove(id); in onCreateDialog()
[all …]
/packages/apps/DeskClock/tests/src/com/android/deskclock/timer/
DExpiredTimersActivityTest.java53 final DataModel dm = DataModel.getDataModel(); in configurationChanges_DoNotResetFiringTimer()
54 Timer timer = dm.addTimer(60000L, "", false); in configurationChanges_DoNotResetFiringTimer()
55 dm.startTimer(timer); in configurationChanges_DoNotResetFiringTimer()
56 dm.expireTimer(null, dm.getTimer(timer.getId())); in configurationChanges_DoNotResetFiringTimer()
57 timer = dm.getTimer(timer.getId()); in configurationChanges_DoNotResetFiringTimer()
66 assertSame(timer, dm.getTimer(timer.getId())); in configurationChanges_DoNotResetFiringTimer()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/
DResourceUtils.java186 final DisplayMetrics dm = res.getDisplayMetrics(); in getDefaultKeyboardWidth() local
187 return dm.widthPixels; in getDefaultKeyboardWidth()
200 final DisplayMetrics dm = res.getDisplayMetrics(); in getDefaultKeyboardHeight() local
207 keyboardHeight = Float.parseFloat(keyboardHeightInDp) * dm.density; in getDefaultKeyboardHeight()
210 R.fraction.config_max_keyboard_height, dm.heightPixels, dm.heightPixels); in getDefaultKeyboardHeight()
212 R.fraction.config_min_keyboard_height, dm.heightPixels, dm.heightPixels); in getDefaultKeyboardHeight()
217 R.fraction.config_min_keyboard_height, dm.widthPixels, dm.widthPixels); in getDefaultKeyboardHeight()
/packages/apps/ThemePicker/src/com/android/customization/widget/
DPreviewPager.java93 DisplayMetrics dm = res.getDisplayMetrics(); in PreviewPager() local
94 mScreenAspectRatio = dm.heightPixels > dm.widthPixels in PreviewPager()
95 ? (float) dm.heightPixels / dm.widthPixels in PreviewPager()
96 : (float) dm.widthPixels / dm.heightPixels; in PreviewPager()
/packages/apps/DocumentsUI/tests/functional/com/android/documentsui/
DIntegratedDownloadsUiTest.java44 DownloadManager dm = (DownloadManager) context.getSystemService( in testDownload_Queued() local
48 dm.enqueue(new Request(Uri.parse("http://hammychamp.toodles"))); in testDownload_Queued()
56 DownloadManager dm = (DownloadManager) context.getSystemService( in testDownload_RetryUnsuccessful() local
59 dm.enqueue(new Request(Uri.parse("http://www.google.com/hamfancy"))); in testDownload_RetryUnsuccessful()
/packages/apps/Gallery2/src/com/android/gallery3d/app/
DGalleryActivity.java163 DataManager dm = getDataManager(); in startViewAction() local
186 Path setPath = dm.findPathByUri(uri, null); in startViewAction()
189 mediaSet = (MediaSet) dm.getMediaObject(setPath); in startViewAction()
195 dm.getTopSetPath(DataManager.INCLUDE_ALL)); in startViewAction()
205 Path itemPath = dm.findPathByUri(uri, contentType); in startViewAction()
206 Path albumPath = dm.getDefaultSetOf(itemPath); in startViewAction()
DAlbumPage.java317 DataManager dm = mActivity.getDataManager(); in onGetContent() local
320 Uri uri = dm.getContentUri(item.getPath()); in onGetContent()
/packages/apps/DeskClock/src/com/android/alarmclock/
DDigitalAppWidgetProvider.java156 final DataModel dm = DataModel.getDataModel(); in onReceive() local
157 dm.updateWidgetCount(getClass(), widgetIds.length, R.string.category_digital_widget); in onReceive()
351 final DataModel dm = DataModel.getDataModel(); in updateDayChangeCallback() local
352 final List<City> selectedCities = dm.getSelectedCities(); in updateDayChangeCallback()
353 final boolean showHomeClock = dm.getShowHomeClock(); in updateDayChangeCallback()
364 zones.add(dm.getHomeCity().getTimeZone()); in updateDayChangeCallback()
DDigitalAppWidgetProvider.kt128 val dm = DataModel.dataModel in <lambda>() constant
129 dm.updateWidgetCount(javaClass, widgetIds.size, R.string.category_digital_widget) in <lambda>()
167 val dm = DataModel.dataModel in <lambda>() constant
168 val selectedCities = dm.selectedCities in <lambda>()
169 val showHomeClock = dm.showHomeClock in <lambda>()
180 zones.add(dm.homeCity.timeZone) in <lambda>()
DAnalogAppWidgetProvider.kt42 val dm = DataModel.dataModel in <lambda>() constant
43 dm.updateWidgetCount(javaClass, widgetCount, R.string.category_analog_widget) in <lambda>()
DAnalogAppWidgetProvider.java50 final DataModel dm = DataModel.getDataModel(); in onReceive() local
51 dm.updateWidgetCount(getClass(), widgetCount, R.string.category_analog_widget); in onReceive()
/packages/apps/Launcher3/src/com/android/launcher3/graphics/
DWorkspaceAndHotseatScrim.java266 DisplayMetrics dm = mLauncher.getResources().getDisplayMetrics(); in createDitheredAlphaMask() local
267 int width = ResourceUtils.pxFromDp(ALPHA_MASK_WIDTH_DP, dm); in createDitheredAlphaMask()
268 int gradientHeight = ResourceUtils.pxFromDp(ALPHA_MASK_HEIGHT_DP, dm); in createDitheredAlphaMask()
/packages/services/BuiltInPrintService/jni/plugins/genPCLm/src/
DgenJPEGStrips.cpp65 struct jpeg_destination_mgr dm = { in write_JPEG_Buff() local
71 cinfo.dest = &dm; in write_JPEG_Buff()
/packages/apps/ThemePicker/src/com/android/customization/picker/grid/
DGridFragment.java118 DisplayMetrics dm = res.getDisplayMetrics(); in onCreateView() local
119 mScreenAspectRatio = (float) dm.heightPixels / dm.widthPixels; in onCreateView()
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/ui/
DThemeUiTestBase.java73 final DisplayMetrics dm = context.getResources().getDisplayMetrics(); in getThemeByUiMode() local
78 context.getResources().updateConfiguration(nightConfig, dm, ci); in getThemeByUiMode()
/packages/apps/Car/Cluster/src/android/car/cluster/
DClusterRenderingService.java219 DisplayManager dm = (DisplayManager) getSystemService(DisplayManager.class); in getNavigationActivityIntent() local
220 Display display = dm.getDisplay(displayId); in getNavigationActivityIntent()
/packages/services/Car/tests/MultiDisplaySecondaryHomeTestLauncher/src/com/android/car/multidisplay/launcher/
DLauncherActivity.java241 final DisplayManager dm = getSystemService(DisplayManager.class); in refreshDisplayPicker() local
246 for (Display display : dm.getDisplays()) { in refreshDisplayPicker()
/packages/apps/DocumentsUI/tests/res/raw/
Dimages_tar301 �Gn*@u�dm��m��R���r�@�����dc�h6�9#�N$G�I�~��e�q�Ln|�:z�M�0����(l �ϭF_����ӎ*������2X6���…
660 i��ֶ����r�ybFO_|Ծ;�ª�F6�@�a��֢m�#CĚTz��5�ѡ��1RF:d�Ե)M�zM��iE�dm� q�mtVwqM�ǫ��hn�����\��…
1146 6�8�j6&�R�Ј�F����!/"��rdRs�����ɒiu'��,0>� �2������RZ�k���Z��y!s�"��ՙ4�m���ʬm��ҡ���&�dm�>A…
1215 …�O8���3��ܪG�J�*y��ޗB�o#K���Kk����U�H�����Yiv�L�!F�\�q����VX�P�l��(>dm��#�+dfh��é� ����l�=…
1419 …�T�*���}{R�v�JJ|_=�G�h|�NOjv����`�WE#�9�.�<�"y�>R�E ����JY^MynO�.dmޠ�����N.�l�R��`ޭ��…
1642 ���{Z&s�ܯr���0k���i����w���$ϭR�l�c(7|����%fC�G!$E'V8��ަ6�����a����wX�[y�q�4Y�dm��c�����…
1708 …e09率�'����u�:����M:-5�V2�a2*2n,8<�����|W�x}G�߳��YWv�����."#˵�Y�Ādm�.OC�)����Y9:��g65JrI…
3291 …�ǖ��D����v�ӳ.�-��H2���O@(�'g*�z���Xoh8xc�5�T%Ju(�O�sH�6�;7=���9�X2�dm���Q�a����a(c���…
3849 …�U�1 ?����@�Rł���MK�!�;NF 4ݭ�Y����jWa����8����"�ۅrX�W��s@i$NcP�R{T�dm�Br1�<�J�\�3��*�UQ…
5693 …v�1iT ��� "8aDb|�`�O����$|��G�I��m������M����c��!����U+Đ�hIh��r �B�dm�6���l��P8�͏!����4…
[all …]
/packages/apps/TV/tuner/tests/assets/
Dcapture_kqed.ts122 [F��h�ɶ�"(��W}_��4�e�A�}Wv*��B)Ҙ�ls`��ېh���'0�dm�<3q�l�[,�����A�E��x!�}4�n�5���,�= …
14140 ?��v��锗vyY�@/�%��h�!�&j��u�dm�p&�T�)�Re�U� ��p��_o/�]�8f�o�EA�Ӷ� @� �E��#K�{���H�M�{�Mf�…
18111 �9@��3���`N�)���P�[(������f%0��-���NB)� ���G�16�C�� -����r��V1��6�f�*�7���Mn�dm�a%��
18112 Ln�- -�1��C���?��ZEQ�@�Il����A%��z:}o�9��dm����&F����I-�{k��c�k�8m@r�4:F���B��9��G7����:��…
21444 ���*�������� �᎓����dm�p��Tk���Uim�.X�*D�l�k`F�0|�91�a �t;�^������^� E�]z!t����3Ih��Q���୦
32346 �Y�t� ��5k�F�/�7����-VU�� �=�� ��k��w��.��`���5�]��dm���̭��@U�5�U5�0��G�1�p)����<��W��N}z…
34046 Ɂ������ (��2��@��v���i �b`�"g��\��Ӣf�dm�"?ݠ���&�%��5��V%_��ZQْ��G�Q��(� ?�…
44848 …����Ǵd�PMpز�8�W��R@�u[���d�g�5��<@��6O�:��������i¤(:;FNs����PY� m�dm��Og�t�"G�1��������…
49239 �nš! Ď�e�tP��!�n�������C���F�FW�}E �1%�?��_�X�dm����_8S�����@�� �I�s��y�>��xG�…
52168 '�dm�+�?Ckȧt��,g�6�!�2�MÙ�)��Gi����{w���&�@0!D�(�e"je�]7���Pqv��:S`�Ku�\��=���|�l�Q<E�;sP…
[all …]
/packages/inputmethods/LatinIME/dictionaries/
Dsv_wordlist.combined.gz1dictionary=main:sv,locale=sv,description=Svenska,date=1414726264, ...
Dpl_wordlist.combined.gz
Dcs_wordlist.combined.gz1dictionary=main:cs,locale=cs,description=Čeština,date=1393228134, ...

12