Home
last modified time | relevance | path

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

/packages/providers/DownloadProvider/ui/src/com/android/providers/downloads/ui/
DTrampolineActivity.java57 final DownloadManager dm = (DownloadManager) getSystemService(Context.DOWNLOAD_SERVICE); in onCreate() local
58 dm.setAccessAllDownloads(true); in onCreate()
63 final Cursor cursor = dm.query(new Query().setFilterById(id)); in onCreate()
128 final DownloadManager dm = (DownloadManager) context.getSystemService( in onCreateDialog() local
130 dm.setAccessAllDownloads(true); in onCreateDialog()
145 dm.remove(id); in onCreateDialog()
173 final DownloadManager dm = (DownloadManager) context.getSystemService( in onCreateDialog() local
175 dm.setAccessAllDownloads(true); in onCreateDialog()
206 dm.remove(id); in onCreateDialog()
214 dm.restartDownload(id); in onCreateDialog()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/
DResourceUtils.java185 final DisplayMetrics dm = res.getDisplayMetrics(); in getDefaultKeyboardWidth() local
186 return dm.widthPixels; in getDefaultKeyboardWidth()
190 final DisplayMetrics dm = res.getDisplayMetrics(); in getDefaultKeyboardHeight() local
197 keyboardHeight = Float.parseFloat(keyboardHeightInDp) * dm.density; in getDefaultKeyboardHeight()
200 R.fraction.config_max_keyboard_height, dm.heightPixels, dm.heightPixels); in getDefaultKeyboardHeight()
202 R.fraction.config_min_keyboard_height, dm.heightPixels, dm.heightPixels); in getDefaultKeyboardHeight()
207 R.fraction.config_min_keyboard_height, dm.widthPixels, dm.widthPixels); in getDefaultKeyboardHeight()
/packages/apps/Launcher3/src/com/android/launcher3/
DDeviceProfile.java167 DisplayMetrics dm = res.getDisplayMetrics(); in DeviceProfile() local
229 allAppsIconSizePx = DynamicGrid.pxFromDp(iconSize, dm); in DeviceProfile()
240 allAppsIconTextSizePx = DynamicGrid.pxFromDp(iconTextSize, dm); in DeviceProfile()
251 applyPartnerDeviceProfileOverrides(context, dm); in DeviceProfile()
264 private void applyPartnerDeviceProfileOverrides(Context ctx, DisplayMetrics dm) { in applyPartnerDeviceProfileOverrides() argument
267 DeviceProfile partnerDp = p.getDeviceProfileOverride(dm); in applyPartnerDeviceProfileOverrides()
280 allAppsIconSizePx = DynamicGrid.pxFromDp(iconSize, dm); in applyPartnerDeviceProfileOverrides()
309 DisplayMetrics dm = resources.getDisplayMetrics(); in getDeviceOrientation() local
329 DisplayMetrics dm = resources.getDisplayMetrics(); in updateAvailableDimensions() local
354 updateIconSize(1f, drawablePadding, resources, dm); in updateAvailableDimensions()
[all …]
DDynamicGrid.java56 DisplayMetrics dm = resources.getDisplayMetrics(); in DynamicGrid() local
60 DEFAULT_ICON_SIZE_PX = pxFromDp(DEFAULT_ICON_SIZE_DP, dm); in DynamicGrid()
98 mMinWidth = dpiFromPx(minWidthPx, dm); in DynamicGrid()
99 mMinHeight = dpiFromPx(minHeightPx, dm); in DynamicGrid()
DPartner.java119 public DeviceProfile getDeviceProfileOverride(DisplayMetrics dm) { in getDeviceProfileOverride() argument
164 dp.iconSize = DynamicGrid.dpiFromPx(px, dm); in getDeviceProfileOverride()
DPagedView.java817 DisplayMetrics dm = getResources().getDisplayMetrics(); in onMeasure() local
818 int maxSize = Math.max(dm.widthPixels + mInsets.left + mInsets.right, in onMeasure()
819 dm.heightPixels + mInsets.top + mInsets.bottom); in onMeasure()
DLauncher.java422 DisplayMetrics dm = new DisplayMetrics(); in onCreate() local
423 display.getMetrics(dm); in onCreate()
430 dm.widthPixels, dm.heightPixels); in onCreate()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/task/
DDownloadPackageTask.java84 DownloadManager dm = (DownloadManager) mContext in run() local
91 mDownloadId = dm.enqueue(request); in run()
101 DownloadManager dm = (DownloadManager) mContext in createDownloadReceiver() local
103 Cursor c = dm.query(q); in createDownloadReceiver()
214 DownloadManager dm = (DownloadManager) mContext
216 boolean removeSuccess = dm.remove(mDownloadId) == 1;
/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/Email/emailcommon/src/com/android/emailcommon/utility/
DAttachmentUtilities.java437 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/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/
DKeyboard.java534 DisplayMetrics dm = context.getResources().getDisplayMetrics(); in Keyboard() local
535 mDisplayWidth = dm.widthPixels; in Keyboard()
536 mDisplayHeight = dm.heightPixels; in Keyboard()
/packages/apps/Camera2/src/com/android/camera/ui/
DSwitch.java116 DisplayMetrics dm = res.getDisplayMetrics(); in Switch() local
117 mTextPaint.density = dm.density; in Switch()
/packages/apps/Camera/src/com/android/camera/ui/
DSwitch.java123 DisplayMetrics dm = res.getDisplayMetrics(); in Switch() local
124 mTextPaint.density = dm.density; in Switch()
/packages/inputmethods/LatinIME/dictionaries/
Dsv_wordlist.combined.gz1dictionary=main:sv,locale=sv,description=Svenska,date=1393228154, ...
Dpl_wordlist.combined.gz1dictionary=main:pl,locale=pl,description=Polski,date=1393228143, ...
Dda_wordlist.combined.gz1dictionary=main:da,locale=da,description=Dansk,date=1393228134, ...
Dcs_wordlist.combined.gz
Dlv_wordlist.combined.gz
Dde_wordlist.combined.gz1dictionary=main:de,locale=de,description=Deutsch,date=1393228134, ...
Dlt_wordlist.combined.gz
Des_wordlist.combined.gz
Dro_wordlist.combined.gz