/packages/apps/Launcher3/src/com/android/launcher3/ |
D | DeviceProfile.java | 154 DisplayMetrics dm = res.getDisplayMetrics(); in DeviceProfile() local 208 hotseatBarSizePx = ResourceUtils.pxFromDp(inv.iconSize, dm) + (isVerticalBarLayout() in DeviceProfile() 214 updateAvailableDimensions(dm, res); in DeviceProfile() 228 updateAvailableDimensions(dm, res); in DeviceProfile() 297 private void updateAvailableDimensions(DisplayMetrics dm, Resources res) { in updateAvailableDimensions() argument 298 updateIconSize(1f, res, dm); in updateAvailableDimensions() 305 updateIconSize(scale, res, dm); in updateAvailableDimensions() 307 updateAvailableFolderCellDimensions(dm, res); in updateAvailableDimensions() 310 private void updateIconSize(float scale, Resources res, DisplayMetrics dm) { in updateIconSize() argument 314 iconSizePx = Math.max(1, (int) (ResourceUtils.pxFromDp(invIconSizePx, dm) * scale)); in updateIconSize() [all …]
|
D | InvariantDeviceProfile.java | 177 DisplayMetrics dm = new DisplayMetrics(); in initGrid() local 178 display.getMetrics(dm); in initGrid() 186 float minWidthDps = Utilities.dpiFromPx(Math.min(smallestSize.x, smallestSize.y), dm); in initGrid() 187 float minHeightDps = Utilities.dpiFromPx(Math.min(largestSize.x, largestSize.y), dm); in initGrid() 213 iconBitmapSize = ResourceUtils.pxFromDp(iconSize, dm); in initGrid() 219 applyPartnerDeviceProfileOverrides(context, dm); in initGrid() 403 private void applyPartnerDeviceProfileOverrides(Context context, DisplayMetrics dm) { in applyPartnerDeviceProfileOverrides() argument 406 p.applyInvariantDeviceProfileOverrides(this, dm); in applyPartnerDeviceProfileOverrides()
|
D | Partner.java | 117 … public void applyInvariantDeviceProfileOverrides(InvariantDeviceProfile inv, DisplayMetrics dm) { in applyInvariantDeviceProfileOverrides() argument 139 iconSize = Utilities.dpiFromPx(px, dm); in applyInvariantDeviceProfileOverrides()
|
/packages/providers/DownloadProvider/ui/src/com/android/providers/downloads/ui/ |
D | TrampolineActivity.java | 83 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/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/ |
D | ResourceUtils.java | 186 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/ |
D | PreviewPager.java | 93 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/ |
D | IntegratedDownloadsUiTest.java | 44 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/ |
D | GalleryActivity.java | 163 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()
|
D | AlbumPage.java | 317 DataManager dm = mActivity.getDataManager(); in onGetContent() local 320 Uri uri = dm.getContentUri(item.getPath()); in onGetContent()
|
/packages/apps/DeskClock/src/com/android/alarmclock/ |
D | DigitalAppWidgetProvider.java | 156 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()
|
D | AnalogAppWidgetProvider.java | 50 final DataModel dm = DataModel.getDataModel(); in onReceive() local 51 dm.updateWidgetCount(getClass(), widgetCount, R.string.category_analog_widget); in onReceive()
|
/packages/apps/ThemePicker/src/com/android/customization/picker/grid/ |
D | GridFragment.java | 118 DisplayMetrics dm = res.getDisplayMetrics(); in onCreateView() local 119 mScreenAspectRatio = (float) dm.heightPixels / dm.widthPixels; in onCreateView()
|
/packages/apps/Launcher3/src/com/android/launcher3/graphics/ |
D | WorkspaceAndHotseatScrim.java | 299 DisplayMetrics dm = mLauncher.getResources().getDisplayMetrics(); in createDitheredAlphaMask() local 300 int width = ResourceUtils.pxFromDp(ALPHA_MASK_WIDTH_DP, dm); in createDitheredAlphaMask() 301 int gradientHeight = ResourceUtils.pxFromDp(ALPHA_MASK_HEIGHT_DP, dm); in createDitheredAlphaMask()
|
/packages/services/BuiltInPrintService/jni/plugins/genPCLm/src/ |
D | genJPEGStrips.cpp | 64 struct jpeg_destination_mgr dm = { in write_JPEG_Buff() local 69 cinfo.dest = &dm; in write_JPEG_Buff()
|
/packages/apps/Email/emailcommon/src/com/android/emailcommon/utility/ |
D | AttachmentUtilities.java | 437 DownloadManager dm = in saveAttachment() local 439 long id = dm.addCompletedDownload(attachment.mFileName, attachment.mFileName, in saveAttachment() 443 contentUri = dm.getUriForDownloadedFile(id).toString(); in saveAttachment()
|
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/ui/ |
D | ThemeUiTestBase.java | 73 final DisplayMetrics dm = context.getResources().getDisplayMetrics(); in getThemeByUiMode() local 78 context.getResources().updateConfiguration(nightConfig, dm, ci); in getThemeByUiMode()
|
/packages/services/Car/tests/MultiDisplaySecondaryHomeTestLauncher/src/com/android/car/multidisplay/launcher/ |
D | LauncherActivity.java | 241 final DisplayManager dm = getSystemService(DisplayManager.class); in refreshDisplayPicker() local 246 for (Display display : dm.getDisplays()) { in refreshDisplayPicker()
|
/packages/apps/DocumentsUI/tests/res/raw/ |
D | images_tar | 301 �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 68�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/inputmethods/LatinIME/dictionaries/ |
D | sv_wordlist.combined.gz | 1dictionary=main:sv,locale=sv,description=Svenska,date=1414726264, ... |
D | pl_wordlist.combined.gz | 1dictionary=main:pl,locale=pl,description=Polski,date=1414726264, ... |
D | da_wordlist.combined.gz | 1dictionary=main:da,locale=da,description=Dansk,date=1393228134, ... |
D | cs_wordlist.combined.gz | 1dictionary=main:cs,locale=cs,description=Čeština,date=1393228134, ... |
D | lv_wordlist.combined.gz |
|
D | lt_wordlist.combined.gz | 1dictionary=main:lt,locale=lt,description=Lietuvių,date=1393228136, ... |
D | de_wordlist.combined.gz | 1dictionary=main:de,locale=de,description=Deutsch,date=1414726263, ... |