Searched refs:aspectRatio (Results 1 – 7 of 7) sorted by relevance
/packages/apps/VideoEditor/src/com/android/videoeditor/ |
D | ExportOptionsDialog.java | 58 DialogInterface.OnCancelListener cancelListener, final int aspectRatio) { in create() argument 72 prepareContent(myView, aspectRatio); in create() 82 sizeSpinner.getSelectedItemPosition(), aspectRatio); in create() 108 private static void prepareContent(View view, int aspectRatio) { in prepareContent() argument 115 MediaProperties.getSupportedResolutions(aspectRatio); in prepareContent() 145 private static int indexToMovieHeight(int sizeIndex, int aspectRatio) { in indexToMovieHeight() argument 147 MediaProperties.getSupportedResolutions(aspectRatio); in indexToMovieHeight()
|
D | VideoEditorActivity.java | 614 final int aspectRatio = aspectRatiosList.get(i); in onOptionsItemSelected() local 615 if (aspectRatio == currentAspectRatio) { in onOptionsItemSelected() 684 int aspectRatio = aspectRatios.get(i); in onCreateDialog() local 685 switch (aspectRatio) { in onCreateDialog() 722 final int aspectRatio = aspectRatios.get(which); in onCreateDialog() 724 aspectRatio); in onCreateDialog() 1388 protected void setAspectRatio(final int aspectRatio) { 1392 switch (aspectRatio) { 1423 logd("setAspectRatio: " + aspectRatio + ", size: " + lp.width + "x" + lp.height);
|
D | VideoEditorBaseActivity.java | 140 public void onVideoEditorAspectRatioSet(String projectPath, int aspectRatio, in onVideoEditorAspectRatioSet() argument 156 setAspectRatio(aspectRatio); in onVideoEditorAspectRatioSet() 934 protected abstract void setAspectRatio(int aspectRatio); in setAspectRatio() argument
|
/packages/apps/VideoEditor/src/com/android/videoeditor/service/ |
D | VideoEditorProject.java | 265 void setAspectRatio(int aspectRatio) { in setAspectRatio() argument 266 mAspectRatio = aspectRatio; in setAspectRatio() 699 int aspectRatio = MediaProperties.ASPECT_RATIO_UNDEFINED; in hasMultipleAspectRatios() local 701 if (aspectRatio == MediaProperties.ASPECT_RATIO_UNDEFINED) { in hasMultipleAspectRatios() 702 aspectRatio = mediaItem.getAspectRatio(); in hasMultipleAspectRatios() 703 } else if (mediaItem.getAspectRatio() != aspectRatio) { in hasMultipleAspectRatios() 717 int aspectRatio = mediaItem.getAspectRatio(); in getUniqueAspectRatiosList() local 718 if (!aspectRatiosList.contains(aspectRatio)) { in getUniqueAspectRatiosList() 719 aspectRatiosList.add(aspectRatio); in getUniqueAspectRatiosList()
|
D | ApiServiceListener.java | 81 …public void onVideoEditorAspectRatioSet(String projectPath, int aspectRatio, Exception exception) … in onVideoEditorAspectRatioSet() argument 169 Integer aspectRatio, Exception exception) {} in onMediaItemAdded() argument
|
D | ApiService.java | 413 public static void setAspectRatio(Context context, String projectPath, int aspectRatio) { in setAspectRatio() argument 417 intent.putExtra(PARAM_ASPECT_RATIO, aspectRatio); in setAspectRatio() 1812 final Integer aspectRatio; in processIntent() local 1815 aspectRatio = videoEditor.getAspectRatio(); in processIntent() 1817 aspectRatio = null; in processIntent() 1827 aspectRatio, false); in processIntent() 1881 final Integer aspectRatio; in processIntent() local 1884 aspectRatio = videoEditor.getAspectRatio(); in processIntent() 1886 aspectRatio = null; in processIntent() 1896 aspectRatio, false); in processIntent() [all …]
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
D | Workspace.java | 820 float aspectRatio = width / (float) height; in wallpaperTravelToScreenWidthRatio() local 841 return x * aspectRatio + y; in wallpaperTravelToScreenWidthRatio()
|