/packages/apps/Camera2/src/com/android/camera/settings/ |
D | ResolutionUtil.java | 86 public List<Size> sizes = new LinkedList<Size>(); field in ResolutionUtil.ResolutionBucket 104 sizes.add(size); in add() 105 Collections.sort(sizes, new Comparator<Size>() { in add() 113 maxPixels = sizes.get(0).width() * sizes.get(0).height(); in add() 130 …public static List<Size> getDisplayableSizesFromSupported(List<Size> sizes, boolean isBackCamera) { in getDisplayableSizesFromSupported() argument 131 List<ResolutionBucket> buckets = parseAvailableSizes(sizes, isBackCamera); in getDisplayableSizesFromSupported() 148 List<Size> result = new ArrayList<Size>(sizes.size()); in getDisplayableSizesFromSupported() 153 result.addAll(pickUpToThree(bucket.sizes)); in getDisplayableSizesFromSupported() 182 private static List<Size> pickUpToThree(List<Size> sizes) { in pickUpToThree() argument 184 Size largest = sizes.get(0); in pickUpToThree() [all …]
|
D | PictureSizeLoader.java | 122 List<Size> sizes; in computeSizesForCamera() local 126 sizes = CameraPictureSizesCacher.getCachedSizesForCamera(cameraId, mContext) in computeSizesForCamera() 129 sizes = CameraPictureSizesCacher.getSizesForCamera(cameraId, mContext); in computeSizesForCamera() 132 if (sizes != null) { in computeSizesForCamera() 133 sizes = ResolutionUtil in computeSizesForCamera() 134 .getDisplayableSizesFromSupported(sizes, in computeSizesForCamera() 138 sizes = ResolutionUtil.filterBlackListedSizes(sizes, blacklisted); in computeSizesForCamera() 139 return sizes; in computeSizesForCamera()
|
D | CameraPictureSizesCacher.java | 44 public static void updateSizesForCamera(Context context, int cameraId, List<Size> sizes) { in updateSizesForCamera() argument 53 editor.putString(key_sizes, Size.listToString(sizes)); in updateSizesForCamera() 88 List<Size> sizes = Size.buildListFromCameraSizes(thisCamera.getParameters() in getSizesForCamera() local 93 editor.putString(key_sizes, Size.listToString(sizes)); in getSizesForCamera() 95 return sizes; in getSizesForCamera()
|
D | ListPreferenceFiller.java | 29 public void fill(List<Size> sizes, ListPreference preference); in fill() argument
|
D | CameraSettingsActivity.java | 197 public void fill(List<Size> sizes, ListPreference preference) { in onResume() 198 setEntriesForSelection(sizes, preference); in onResume()
|
/packages/apps/DevCamera/src/com/android/devcamera/ |
D | CameraDeviceReport.java | 168 Size[] sizes = map.getOutputSizes(formats[i]); in printCameraInfo() local 169 if (sizes != null) { in printCameraInfo() 171 for (int j = 0; j < sizes.length; j++) { in printCameraInfo() 173 sizes[j].toString(), in printCameraInfo() 174 map.getOutputStallDuration(formats[i], sizes[j]) / 1000000, in printCameraInfo() 175 map.getOutputMinFrameDuration(formats[i], sizes[j]) / 1000000 in printCameraInfo() 186 Size[] sizes = map.getInputSizes(formats[i]); in printCameraInfo() local 188 + getFormatName(formats[i]) + " are: " + sizesToString(sizes)); in printCameraInfo() 193 Size[] sizes = map.getOutputSizes(SurfaceHolder.class); in printCameraInfo() local 194 Log.v(TAG, "output sizes for SurfaceHolder.class are: " + sizesToString(sizes)); in printCameraInfo() [all …]
|
D | CameraInfoCache.java | 210 private Size returnLargestSize(Size[] sizes) { in returnLargestSize() argument 213 for (int j = 0; j < sizes.length; j++) { in returnLargestSize() 214 if (sizes[j].getHeight() * sizes[j].getWidth() > area) { in returnLargestSize() 215 area = sizes[j].getHeight() * sizes[j].getWidth(); in returnLargestSize() 216 largestSize = sizes[j]; in returnLargestSize()
|
/packages/apps/Camera2/src/com/android/camera/util/ |
D | Size.java | 151 public static Size[] convert(android.util.Size[] sizes) { in convert() argument 152 Size[] converted = new Size[sizes.length]; in convert() 153 for (int i = 0; i < sizes.length; ++i) { in convert() 154 converted[i] = new Size(sizes[i].getWidth(), sizes[i].getHeight()); in convert() 159 public static List<Size> convert(List<com.android.ex.camera2.portability.Size> sizes) { in convert() argument 160 ArrayList<Size> converted = new ArrayList<>(sizes.size()); in convert() 161 for (com.android.ex.camera2.portability.Size size : sizes) { in convert() 173 public static String listToString(List<Size> sizes) { in listToString() argument 175 for (Size s : sizes) { in listToString()
|
D | CameraUtil.java | 477 public static Size getOptimalPreviewSize(List<Size> sizes, double targetRatio) { in getOptimalPreviewSize() argument 478 int optimalPickIndex = getOptimalPreviewSizeIndex(sizes, targetRatio); in getOptimalPreviewSize() 482 return sizes.get(optimalPickIndex); in getOptimalPreviewSize() 500 public static int getOptimalPreviewSizeIndex(List<Size> sizes, double targetRatio) { in getOptimalPreviewSizeIndex() argument 506 return getOptimalPreviewSizeIndex(sizes, targetRatio, aspectRatioTolerance); in getOptimalPreviewSizeIndex() 593 List<Size> sizes, int targetWidth, in getOptimalVideoSnapshotPictureSize() argument 598 if (sizes == null) { in getOptimalVideoSnapshotPictureSize() 607 for (Size size : sizes) { in getOptimalVideoSnapshotPictureSize() 615 for (Size size : sizes) { in getOptimalVideoSnapshotPictureSize() 629 for (Size size : sizes) { in getOptimalVideoSnapshotPictureSize()
|
/packages/apps/Camera2/src/com/android/camera/ |
D | CaptureModuleUtil.java | 55 public static Size getOptimalPreviewSize(Size[] sizes,double targetRatio) { in getOptimalPreviewSize() argument 56 return getOptimalPreviewSize(sizes, targetRatio, null); in getOptimalPreviewSize() 65 public static Size getOptimalPreviewSize(Size[] sizes, in getOptimalPreviewSize() argument 72 for (Size s : sizes) { in getOptimalPreviewSize() 80 for (Size s : sizes) { in getOptimalPreviewSize() 95 for (Size s : sizes) { in getOptimalPreviewSize()
|
D | VideoModule.java | 818 List<Size> sizes = Size.convert(capabilities.getSupportedPreviewSizes()); in getDesiredPreviewSize() local 826 Iterator<Size> it = sizes.iterator(); in getDesiredPreviewSize() 838 for (Size size : sizes) { in getDesiredPreviewSize() 847 Size optimalSize = CameraUtil.getOptimalPreviewSize(sizes, in getDesiredPreviewSize()
|
D | PhotoModule.java | 1999 List<Size> sizes = Size.convert(mCameraCapabilities.getSupportedPreviewSizes()); in updateParametersPictureSize() local 2000 Size optimalSize = CameraUtil.getOptimalPreviewSize(sizes, in updateParametersPictureSize()
|
/packages/apps/LegacyCamera/src/com/android/camera/ |
D | Util.java | 375 List<Size> sizes, double targetRatio) { in getOptimalPreviewSize() argument 378 if (sizes == null) return null; in getOptimalPreviewSize() 398 for (Size size : sizes) { in getOptimalPreviewSize() 412 for (Size size : sizes) { in getOptimalPreviewSize() 424 List<Size> sizes, double targetRatio) { in getOptimalVideoSnapshotPictureSize() argument 427 if (sizes == null) return null; in getOptimalVideoSnapshotPictureSize() 432 for (Size size : sizes) { in getOptimalVideoSnapshotPictureSize() 444 for (Size size : sizes) { in getOptimalVideoSnapshotPictureSize()
|
D | CameraSettings.java | 279 private static List<String> sizeListToStringList(List<Size> sizes) { in sizeListToStringList() argument 281 for (Size size : sizes) { in sizeListToStringList()
|
D | VideoCamera.java | 797 List<Size> sizes = mParameters.getSupportedPreviewSizes(); in getDesiredPreviewSize() local 800 Iterator it = sizes.iterator(); in getDesiredPreviewSize() 808 Size optimalSize = Util.getOptimalPreviewSize(this, sizes, in getDesiredPreviewSize()
|
D | Camera.java | 1971 List<Size> sizes = mParameters.getSupportedPreviewSizes(); in updateCameraParametersPreference() local 1973 sizes, (double) size.width / size.height); in updateCameraParametersPreference()
|
/packages/apps/Messaging/src/com/android/messaging/ui/mediapicker/ |
D | CameraManager.java | 997 final List<Camera.Size> sizes = new ArrayList<Camera.Size>( in chooseBestPictureSize() local 1002 Collections.sort(sizes, new SizeComparator(maxWidth, maxHeight, aspectRatio, maxPixels)); in chooseBestPictureSize() 1004 return sizes.get(0); in chooseBestPictureSize() 1012 final List<Camera.Size> sizes = new ArrayList<Camera.Size>( in chooseBestPreviewSize() local 1018 Collections.sort(sizes, new SizeComparator(Integer.MAX_VALUE, Integer.MAX_VALUE, in chooseBestPreviewSize() 1021 return sizes.get(0); in chooseBestPreviewSize()
|
/packages/experimental/CameraPreviewTest/src/com/example/android/videochatcameratest/ |
D | VideoChatTestActivity.java | 91 List<Camera.Size> sizes = params.getSupportedPreviewSizes(); in dumpCameraCaps() local 95 for (Size size : sizes) { in dumpCameraCaps()
|
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
D | PositionController.java | 1017 boolean constrained, Size[] sizes) { in moveBox() argument 1070 initBox(i, sizes[i + BOX_MAX]); in moveBox()
|
/packages/apps/Browser2/test/webexposed/ |
D | global-interface-listing-expected.txt | 1734 getter sizes 1753 setter sizes 1913 getter sizes 1926 setter sizes 2224 getter sizes 2230 setter sizes
|
/packages/apps/TV/usbtuner/libs/ |
D | exoplayer_1.5.6.jar | META-INF/
META-INF/MANIFEST.MF
com/
com/google/
com/ ... |
/packages/apps/Messaging/build/gcheckstyle/ |
D | google-style-checker_deploy.jar | META-INF/
META-INF/MANIFEST.MF
build-data.properties
com/
com ... |
/packages/services/Car/bluetooth/bt-map-service/ |
D | bt_hci_startup_issues.txt | 13604 <6>[ 6.716278] e2fsck: Pass 1: Checking inodes, blocks, and sizes
|
/packages/inputmethods/LatinIME/dictionaries/ |
D | en_US_wordlist.combined.gz |
|