Home
last modified time | relevance | path

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

123

/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()
/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.java112 private Size getSmallestSupportedSizeContainingTarget(List<Size> supported, Size target) { in getSmallestSupportedSizeContainingTarget() argument
113 Preconditions.checkState(!supported.isEmpty()); in getSmallestSupportedSizeContainingTarget()
116 for (Size candidate : supported) { in getSmallestSupportedSizeContainingTarget()
129 best = getLargestSupportedSize(supported); in getSmallestSupportedSizeContainingTarget()
160 private Size getLargestSupportedSize(List<Size> supported) { in getLargestSupportedSize() argument
161 Preconditions.checkState(!supported.isEmpty()); in getLargestSupportedSize()
162 Size largestSize = supported.get(0); in getLargestSupportedSize()
164 for (Size candidate : supported) { in getLargestSupportedSize()
/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 …]
/packages/services/Car/service/proto/
Dble_version_exchange.proto9 // Minimum supported protobuf version.
12 // Maximum supported protobuf version.
15 // Minimum supported version of the encryption engine.
18 // Maximum supported version of the encryption engine.
/packages/apps/Settings/tests/robotests/src/com/android/settings/testutils/shadow/
DShadowConnectivityManager.java33 public void setNetworkSupported(int networkType, boolean supported) { in setNetworkSupported() argument
34 mSupportedNetworkTypes.put(networkType, supported); in setNetworkSupported()
42 public void setTetheringSupported(boolean supported) { in setTetheringSupported() argument
43 mTetheringSupported = supported; in setTetheringSupported()
DShadowRotationPolicy.java47 public static void setRotationSupported(boolean supported) { in setRotationSupported() argument
48 rotationSupported = supported; in setRotationSupported()
/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()
/packages/apps/Car/libs/connected-device-lib/proto/
Dble_version_exchange.proto25 // Minimum supported protobuf version.
28 // Maximum supported protobuf version.
31 // Minimum supported version of the encryption engine.
34 // Maximum supported version of the encryption engine.
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/testutils/
DShadowCarWifiManager.java151 public static void setIsDualModeSupported(boolean supported) { in setIsDualModeSupported() argument
152 sIsDualModeSupported = supported; in setIsDualModeSupported()
155 public static void setIsDualBandSupported(boolean supported) { in setIsDualBandSupported() argument
156 sIsDualBandSupported = supported; in setIsDualBandSupported()
/packages/apps/TV/src/com/android/tv/receiver/
DAudioCapabilitiesReceiver.java84 boolean supported = false; in onReceive()
89 supported = true; in onReceive()
95 mListener.onAc3PassthroughCapabilityChange(supported); in onReceive()
98 reportAudioCapabilities(supported); in onReceive()
/packages/apps/Car/Radio/src/com/android/car/radio/bands/
DRegionConfig.java79 List<ProgramType> supported = new ArrayList<>(); in createSupportedProgramTypes() local
80 if (!mAmConfig.isEmpty()) supported.add(ProgramType.AM); in createSupportedProgramTypes()
81 if (!mFmConfig.isEmpty()) supported.add(ProgramType.FM); in createSupportedProgramTypes()
82 return supported; in createSupportedProgramTypes()
/packages/apps/Car/Media/src/com/android/car/media/widgets/
DAppBarView.java204 public void setSearchSupported(boolean supported) { in setSearchSupported() argument
205 mSearchSupported = supported; in setSearchSupported()
222 public void setAppLauncherSupported(boolean supported) { in setAppLauncherSupported() argument
223 mAppSelector.setVisible(supported); in setAppLauncherSupported()
/packages/apps/Car/Radio/src/com/android/car/radio/
DRadioActivity.java148 public void setProgramListSupported(boolean supported) { in setProgramListSupported() argument
149 if (supported && mRadioPagerAdapter.addBrowseTab()) { in setProgramListSupported()
157 public void setSupportedProgramTypes(@NonNull List<ProgramType> supported) { in setSupportedProgramTypes() argument
158 mBandController.setSupportedProgramTypes(supported); in setSupportedProgramTypes()
DBandController.java40 public void setSupportedProgramTypes(@NonNull List<ProgramType> supported) { in setSupportedProgramTypes() argument
42 mSupportedBands = Objects.requireNonNull(supported); in setSupportedProgramTypes()
/packages/apps/Bluetooth/src/com/android/bluetooth/btservice/
DConfig.java119 boolean supported = resources.getBoolean(config.mSupported); in init()
121 …if (!supported && (config.mClass == HearingAidService.class) && isHearingAidSettingsEnabled(ctx)) { in init()
123 supported = true; in init()
126 if (supported && !isProfileDisabled(ctx, config.mMask)) { in init()
/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/services/Car/service/src/com/android/car/hal/
DInputHalService.java111 List<VehiclePropConfig> supported = new LinkedList<>(); in takeSupportedProperties() local
114 supported.add(p); in takeSupportedProperties()
120 return supported; in takeSupportedProperties()
/packages/apps/Launcher3/res/raw/
Ddowngrade_schema.json2 // Note: Comments are not supported in JSON schema, but android parser is lenient.
4 // Maximum DB version supported by this schema
/packages/apps/Car/Radio/src/com/android/car/radio/widget/
DBandSelectorFlat.java81 public void setSupportedProgramTypes(@NonNull List<ProgramType> supported) { in setSupportedProgramTypes() argument
87 for (ProgramType pt : supported) { in setSupportedProgramTypes()
/packages/apps/Dialer/java/com/android/dialer/callcomposer/camera/camerafocus/
DFocusOverlayManager.java448 private boolean isSupported(String value, List<String> supported) { in isSupported() argument
449 return supported != null && supported.indexOf(value) >= 0; in isSupported()
/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()

123