Home
last modified time | relevance | path

Searched refs:supported (Results 1 – 25 of 35) sorted by relevance

12

/packages/apps/Gallery2/src/com/android/photos/
DSelectionManager.java142 int supported = 0; in getSupportedOperations() local
145 supported |= MediaObject.SUPPORT_CROP; in getSupportedOperations()
148 supported |= MediaObject.SUPPORT_EDIT; in getSupportedOperations()
151 supported |= MediaObject.SUPPORT_SETAS; in getSupportedOperations()
154 supported |= MediaObject.SUPPORT_TRIM; in getSupportedOperations()
157 supported |= MediaObject.SUPPORT_MUTE; in getSupportedOperations()
161 supported |= MediaObject.SUPPORT_DELETE; in getSupportedOperations()
164 supported |= MediaObject.SUPPORT_SHARE; in getSupportedOperations()
166 return supported; in getSupportedOperations()
DMultiChoiceManager.java114 int supported = mDelegate.getItemSupportedOperations(item); in onItemCheckedStateChanged() local
116 if ((supported & MediaObject.SUPPORT_SHARE) > 0) { in onItemCheckedStateChanged()
127 supported, in onItemCheckedStateChanged()
/packages/apps/Camera2/src/com/android/camera/one/v2/common/
DPictureSizeCalculator.java111 private Size getSmallestSupportedSizeContainingTarget(List<Size> supported, Size target) { in getSmallestSupportedSizeContainingTarget() argument
112 Preconditions.checkState(!supported.isEmpty()); in getSmallestSupportedSizeContainingTarget()
115 for (Size candidate : supported) { in getSmallestSupportedSizeContainingTarget()
128 best = getLargestSupportedSize(supported); in getSmallestSupportedSizeContainingTarget()
159 private Size getLargestSupportedSize(List<Size> supported) { in getLargestSupportedSize() argument
160 Preconditions.checkState(!supported.isEmpty()); in getLargestSupportedSize()
161 Size largestSize = supported.get(0); in getLargestSupportedSize()
163 for (Size candidate : supported) { in getLargestSupportedSize()
/packages/apps/LegacyCamera/src/com/android/camera/
DCameraSettings.java100 List<Size> supported = parameters.getSupportedPictureSizes(); in initialCameraPictureSize() local
101 if (supported == null) return; in initialCameraPictureSize()
104 if (setCameraPictureSize(candidate, supported, parameters)) { in initialCameraPictureSize()
121 String candidate, List<Size> supported, Parameters parameters) { in setCameraPictureSize() argument
126 for (Size size : supported) { in setCameraPictureSize()
253 ListPreference pref, List<String> supported) { in filterUnsupportedOptions() argument
257 if (supported == null || supported.size() <= 1) { in filterUnsupportedOptions()
262 pref.filterUnsupported(supported); in filterUnsupportedOptions()
456 ArrayList<String> supported = new ArrayList<String>(); in getSupportedVideoQuality() local
459 supported.add(Integer.toString(CamcorderProfile.QUALITY_1080P)); in getSupportedVideoQuality()
[all …]
DIconListPreference.java88 public void filterUnsupported(List<String> supported) { in filterUnsupported() argument
95 if (supported.indexOf(entryValues[i].toString()) >= 0) { in filterUnsupported()
106 super.filterUnsupported(supported); in filterUnsupported()
DListPreference.java147 public void filterUnsupported(List<String> supported) { in filterUnsupported() argument
151 if (supported.indexOf(mEntryValues[i].toString()) >= 0) { in filterUnsupported()
DFocusManager.java483 private static boolean isSupported(String value, List<String> supported) { in isSupported() argument
484 return supported == null ? false : supported.indexOf(value) >= 0; in isSupported()
DCamera.java1903 private static boolean isSupported(String value, List<String> supported) { in isSupported() argument
1904 return supported == null ? false : supported.indexOf(value) >= 0; in isSupported()
1957 List<Size> supported = mParameters.getSupportedPictureSizes(); in updateCameraParametersPreference() local
1959 pictureSize, supported, mParameters); in updateCameraParametersPreference()
DVideoCamera.java1875 private static boolean isSupported(String value, List<String> supported) { in isSupported() argument
1876 return supported == null ? false : supported.indexOf(value) >= 0; in isSupported()
1938 List<Size> supported = mParameters.getSupportedPictureSizes(); in setCameraParameters() local
1939 Size optimalSize = Util.getOptimalVideoSnapshotPictureSize(supported, in setCameraParameters()
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
DMenuExecutor.java168 public static void updateMenuOperation(Menu menu, int supported) { in updateMenuOperation() argument
169 boolean supportDelete = (supported & MediaObject.SUPPORT_DELETE) != 0; in updateMenuOperation()
170 boolean supportRotate = (supported & MediaObject.SUPPORT_ROTATE) != 0; in updateMenuOperation()
171 boolean supportCrop = (supported & MediaObject.SUPPORT_CROP) != 0; in updateMenuOperation()
172 boolean supportTrim = (supported & MediaObject.SUPPORT_TRIM) != 0; in updateMenuOperation()
173 boolean supportMute = (supported & MediaObject.SUPPORT_MUTE) != 0; in updateMenuOperation()
174 boolean supportShare = (supported & MediaObject.SUPPORT_SHARE) != 0; in updateMenuOperation()
175 boolean supportSetAs = (supported & MediaObject.SUPPORT_SETAS) != 0; in updateMenuOperation()
176 boolean supportShowOnMap = (supported & MediaObject.SUPPORT_SHOW_ON_MAP) != 0; in updateMenuOperation()
177 boolean supportCache = (supported & MediaObject.SUPPORT_CACHE) != 0; in updateMenuOperation()
[all …]
DPhotoView.java996 int supported = 0; in onSingleTapUp() local
997 if (item != null) supported = item.getSupportedOperations(); in onSingleTapUp()
998 if ((supported & MediaItem.SUPPORT_ACTION) == 0) { in onSingleTapUp()
/packages/apps/Camera2/src/com/android/camera/settings/
DSettingsUtil.java160 public static Size getPhotoSize(String sizeSetting, List<Size> supported, int cameraId) { in getPhotoSize() argument
164 Size selectedSize = getCameraPictureSize(sizeSetting, supported, cameraId); in getPhotoSize()
180 private static Size getCameraPictureSize(String sizeSetting, List<Size> supported, in getCameraPictureSize() argument
182 return getSelectedCameraPictureSizes(supported, cameraId).getFromSetting(sizeSetting, in getCameraPictureSize()
183 supported); in getCameraPictureSize()
194 static SelectedPictureSizes getSelectedCameraPictureSizes(List<Size> supported, int cameraId) { in getSelectedCameraPictureSizes() argument
195 List<Size> supportedCopy = new LinkedList<Size>(supported); in getSelectedCameraPictureSizes()
DAppUpgrader.java333 List<Size> supported = CameraPictureSizesCacher.getSizesForCamera(camera, context); in upgradeCameraSizeSetting() local
334 if (supported != null) { in upgradeCameraSizeSetting()
335 Size size = SettingsUtil.getPhotoSize(pictureSize, supported, camera); in upgradeCameraSizeSetting()
/packages/apps/TV/src/com/android/tv/receiver/
DAudioCapabilitiesReceiver.java87 boolean supported = false; in onReceive()
92 supported = true; in onReceive()
98 mListener.onAc3PassthroughCapabilityChange(supported); in onReceive()
101 reportAudioCapabilities(supported); in onReceive()
/packages/services/Car/service/src/com/android/car/hal/
DInputHalService.java77 List<VehiclePropConfig> supported = new LinkedList<VehiclePropConfig>(); in takeSupportedProperties() local
80 supported.add(p); in takeSupportedProperties()
86 return supported; in takeSupportedProperties()
DInfoHalService.java54 List<VehiclePropConfig> supported = new LinkedList<VehiclePropConfig>(); in takeSupportedProperties() local
58 supported.add(p); in takeSupportedProperties()
62 return supported; in takeSupportedProperties()
DRadioHalService.java70 List<VehiclePropConfig> supported = new LinkedList<VehiclePropConfig>(); in takeSupportedProperties() local
73 supported.add(p); in takeSupportedProperties()
76 return supported; in takeSupportedProperties()
/packages/apps/Gallery2/src/com/android/gallery3d/data/
DUriImage.java214 int supported = SUPPORT_PRINT | SUPPORT_SETAS; in getSupportedOperations() local
215 if (isSharable()) supported |= SUPPORT_SHARE; in getSupportedOperations()
217 supported |= SUPPORT_EDIT | SUPPORT_FULL_IMAGE; in getSupportedOperations()
219 return supported; in getSupportedOperations()
DLocalMergeAlbum.java74 int supported = mSources.length == 0 ? 0 : MediaItem.SUPPORT_ALL; in updateData() local
78 supported &= mSources[i].getSupportedOperations(); in updateData()
80 mSupportedOperation = supported; in updateData()
/packages/apps/Bluetooth/src/com/android/bluetooth/btservice/
DConfig.java98 boolean supported = resources.getBoolean(PROFILE_SERVICES_FLAG[i]); in init()
99 if (supported && !isProfileDisabled(ctx, PROFILE_SERVICES[i])) { in init()
/packages/apps/Messaging/src/com/android/messaging/ui/mediapicker/camerafocus/
DFocusOverlayManager.java546 public static boolean isSupported(String value, List<String> supported) { in isSupported() argument
547 return supported != null && supported.indexOf(value) >= 0; in isSupported()
/packages/apps/Browser2/
DREADME2 The old Browser is no longer supported. To build a full-fledged browser for
/packages/apps/Gallery2/src/com/android/gallery3d/app/
DPhotoPage.java1140 int supported = item.getSupportedOperations(); in onSingleTapUp() local
1141 boolean playVideo = ((supported & MediaItem.SUPPORT_PLAY) != 0); in onSingleTapUp()
1142 boolean unlock = ((supported & MediaItem.SUPPORT_UNLOCK) != 0); in onSingleTapUp()
1143 boolean goBack = ((supported & MediaItem.SUPPORT_BACK) != 0); in onSingleTapUp()
1144 boolean launchCamera = ((supported & MediaItem.SUPPORT_CAMERA_SHORTCUT) != 0); in onSingleTapUp()
/packages/inputmethods/LatinIME/tools/dicttool/
DAndroid.mk22 $(warning dicttool_aosp is not supported on $(LATINIME_HOST_OSNAME))
/packages/apps/Camera2/src/com/android/camera/
DVideoModule.java1649 private static boolean isSupported(String value, List<String> supported) { in isSupported() argument
1650 return supported == null ? false : supported.indexOf(value) >= 0; in isSupported()
1693 List<Size> supported = Size.convert(mCameraCapabilities.getSupportedPhotoSizes()); in setCameraParameters() local
1694 Size optimalSize = CameraUtil.getOptimalVideoSnapshotPictureSize(supported, in setCameraParameters()

12