android.app.Presentation Java Examples
The following examples show how to use
android.app.Presentation.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: PdfMainPresenter.java From Reader with Apache License 2.0 | 6 votes |
@Override public Presentation initPresentation() { DisplayManager displayManager = (DisplayManager) mContext.getSystemService(Context.DISPLAY_SERVICE); Display[] presentationDisplays = displayManager .getDisplays(DisplayManager.DISPLAY_CATEGORY_PRESENTATION); if (presentationDisplays.length > 0) { Display presentationDisplay = presentationDisplays[0]; mPresentation = new PdfPresentation(mContext, presentationDisplay); mPresentation.getWindow().setType( WindowManager.LayoutParams.TYPE_SYSTEM_ALERT); SystemPropertyUtils.setSystemProperty(mContext, "sys.eink.Appmode", "13"); mPresentation.show(); return mPresentation; } return null; }
Example #2
Source File: IBaseDocumentPresenter.java From Reader with Apache License 2.0 | 1 votes |
Presentation initPresentation();