Home
last modified time | relevance | path

Searched refs:setValue (Results 1 – 25 of 334) sorted by relevance

12345678910>>...14

/packages/apps/Camera2/src/com/android/camera/exif/
DExifTag.java236 public boolean setValue(int[] value) { in setValue() method in ExifTag
270 public boolean setValue(int value) { in setValue() method in ExifTag
271 return setValue(new int[] { in setValue()
286 public boolean setValue(long[] value) { in setValue() method in ExifTag
307 public boolean setValue(long value) { in setValue() method in ExifTag
308 return setValue(new long[] { in setValue()
327 public boolean setValue(String value) { in setValue() method in ExifTag
363 public boolean setValue(Rational[] value) { in setValue() method in ExifTag
394 public boolean setValue(Rational value) { in setValue() method in ExifTag
395 return setValue(new Rational[] { in setValue()
[all …]
DExifParser.java563 tag.setValue(buf); in readTag()
684 tag.setValue(buf); in readFullTagValue()
688 tag.setValue(readString(tag.getComponentCount())); in readFullTagValue()
695 tag.setValue(value); in readFullTagValue()
703 tag.setValue(value); in readFullTagValue()
711 tag.setValue(value); in readFullTagValue()
719 tag.setValue(value); in readFullTagValue()
727 tag.setValue(value); in readFullTagValue()
/packages/apps/Messaging/src/com/android/messaging/util/exif/
DExifTag.java236 public boolean setValue(int[] value) { in setValue() method in ExifTag
270 public boolean setValue(int value) { in setValue() method in ExifTag
271 return setValue(new int[] { in setValue()
286 public boolean setValue(long[] value) { in setValue() method in ExifTag
307 public boolean setValue(long value) { in setValue() method in ExifTag
308 return setValue(new long[] { in setValue()
327 public boolean setValue(String value) { in setValue() method in ExifTag
363 public boolean setValue(Rational[] value) { in setValue() method in ExifTag
394 public boolean setValue(Rational value) { in setValue() method in ExifTag
395 return setValue(new Rational[] { in setValue()
[all …]
DExifParser.java565 tag.setValue(buf); in readTag()
686 tag.setValue(buf); in readFullTagValue()
690 tag.setValue(readString(tag.getComponentCount())); in readFullTagValue()
697 tag.setValue(value); in readFullTagValue()
705 tag.setValue(value); in readFullTagValue()
713 tag.setValue(value); in readFullTagValue()
721 tag.setValue(value); in readFullTagValue()
729 tag.setValue(value); in readFullTagValue()
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/exif/
DExifTag.java236 public boolean setValue(int[] value) { in setValue() method in ExifTag
270 public boolean setValue(int value) { in setValue() method in ExifTag
271 return setValue(new int[] { in setValue()
286 public boolean setValue(long[] value) { in setValue() method in ExifTag
307 public boolean setValue(long value) { in setValue() method in ExifTag
308 return setValue(new long[] { in setValue()
327 public boolean setValue(String value) { in setValue() method in ExifTag
363 public boolean setValue(Rational[] value) { in setValue() method in ExifTag
394 public boolean setValue(Rational value) { in setValue() method in ExifTag
395 return setValue(new Rational[] { in setValue()
[all …]
DExifParser.java563 tag.setValue(buf); in readTag()
684 tag.setValue(buf); in readFullTagValue()
688 tag.setValue(readString(tag.getComponentCount())); in readFullTagValue()
695 tag.setValue(value); in readFullTagValue()
703 tag.setValue(value); in readFullTagValue()
711 tag.setValue(value); in readFullTagValue()
719 tag.setValue(value); in readFullTagValue()
727 tag.setValue(value); in readFullTagValue()
/packages/apps/Car/libs/car-arch-common/tests/robotests/src/com/android/car/arch/common/
DLiveDataFunctionsTest.java119 source.setValue(1); in testDistinct()
124 source.setValue(1); in testDistinct()
127 source.setValue(2); in testDistinct()
146 source.setValue(1); in testFreezable()
152 isFrozen.setValue(true); in testFreezable()
153 source.setValue(2); in testFreezable()
157 isFrozen.setValue(false); in testFreezable()
163 isFrozen.setValue(true); in testFreezable()
164 isFrozen.setValue(false); in testFreezable()
204 source.setValue(true); in testAnd_changeValue()
[all …]
DLoadingSwitchMapTest.java68 mTrigger.setValue(new Object()); in testIsLoading_initializedTrigger()
81 mTrigger.setValue(new Object()); in testIsLoading_alreadyLoaded()
82 mOutput.setValue(1); in testIsLoading_alreadyLoaded()
99 mTrigger.setValue(new Object()); in testIsLoading_normalFlow()
104 mOutput.setValue(1); in testIsLoading_normalFlow()
112 mTrigger.setValue(new Object()); in testIsLoading_secondLoad()
113 mOutput.setValue(1); in testIsLoading_secondLoad()
119 mTrigger.setValue(new Object()); in testIsLoading_secondLoad()
125 mOutput.setValue(2); in testIsLoading_secondLoad()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/filters/
DFilterVignetteRepresentation.java78 mParamVignette.setValue(rep.mParamVignette.getValue()); in useParametersFrom()
79 mParamExposure.setValue(rep.mParamExposure.getValue()); in useParametersFrom()
80 mParamSaturation.setValue(rep.mParamSaturation.getValue()); in useParametersFrom()
81 mParamContrast.setValue(rep.mParamContrast.getValue()); in useParametersFrom()
82 mParamFalloff.setValue(rep.mParamFalloff.getValue()); in useParametersFrom()
89 public void setValue(int mode, int value) { in setValue() method in FilterVignetteRepresentation
90 mAllParam[mode].setValue(value); in setValue()
229 mParamVignette.setValue(sreader.nextInt()); in deSerializeRepresentation()
231 mParamExposure.setValue(sreader.nextInt()); in deSerializeRepresentation()
233 mParamSaturation.setValue(sreader.nextInt()); in deSerializeRepresentation()
[all …]
DFilterChanSatRepresentation.java127 public void setValue(int mode, int value) { in setValue() method in FilterChanSatRepresentation
128 mAllParam[mode].setValue(value); in setValue()
152 setValue(mParameterMode, value); in setCurrentParameter()
191 setValue(MODE_MASTER, sreader.nextInt()); in deSerializeRepresentation()
193 setValue(MODE_RED, sreader.nextInt()); in deSerializeRepresentation()
195 setValue(MODE_YELLOW, sreader.nextInt()); in deSerializeRepresentation()
197 setValue(MODE_GREEN, sreader.nextInt()); in deSerializeRepresentation()
199 setValue(MODE_CYAN, sreader.nextInt()); in deSerializeRepresentation()
201 setValue(MODE_BLUE, sreader.nextInt()); in deSerializeRepresentation()
203 setValue(MODE_MAGENTA, sreader.nextInt()); in deSerializeRepresentation()
DFilterColorBorderRepresentation.java62 mParamColor.setValue(color); in FilterColorBorderRepresentation()
63 mParamSize.setValue(size); in FilterColorBorderRepresentation()
64 mParamRadius.setValue(radius); in FilterColorBorderRepresentation()
140 mParamColor.setValue(color); in setColor()
148 mParamSize.setValue(borderSize); in setBorderSize()
156 mParamRadius.setValue(borderRadius); in setBorderRadius()
191 mParamSize.setValue(reader.nextInt()); in deSerializeRepresentation()
193 mParamRadius.setValue(reader.nextInt()); in deSerializeRepresentation()
195 mParamColor.setValue(reader.nextInt()); in deSerializeRepresentation()
/packages/apps/Settings/src/com/android/settings/network/telephony/
DEnabledNetworkModePreferenceController.java220 preference.setValue(Integer.toString(networkMode)); in updatePreferenceValueAndSummary()
225 preference.setValue( in updatePreferenceValueAndSummary()
233 preference.setValue(Integer.toString(TelephonyManager.NETWORK_MODE_WCDMA_PREF)); in updatePreferenceValueAndSummary()
236 preference.setValue(Integer.toString(TelephonyManager in updatePreferenceValueAndSummary()
243 preference.setValue( in updatePreferenceValueAndSummary()
247 preference.setValue( in updatePreferenceValueAndSummary()
262 preference.setValue( in updatePreferenceValueAndSummary()
267 preference.setValue( in updatePreferenceValueAndSummary()
278 preference.setValue( in updatePreferenceValueAndSummary()
284 preference.setValue(Integer.toString(TelephonyManager in updatePreferenceValueAndSummary()
[all …]
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/network/telephony/
DEnabledNetworkModePreferenceController.java220 preference.setValue(Integer.toString(networkMode)); in updatePreferenceValueAndSummary()
225 preference.setValue( in updatePreferenceValueAndSummary()
233 preference.setValue(Integer.toString(TelephonyManager.NETWORK_MODE_WCDMA_PREF)); in updatePreferenceValueAndSummary()
236 preference.setValue(Integer.toString(TelephonyManager in updatePreferenceValueAndSummary()
243 preference.setValue( in updatePreferenceValueAndSummary()
247 preference.setValue( in updatePreferenceValueAndSummary()
262 preference.setValue( in updatePreferenceValueAndSummary()
267 preference.setValue( in updatePreferenceValueAndSummary()
278 preference.setValue( in updatePreferenceValueAndSummary()
284 preference.setValue(Integer.toString(TelephonyManager in updatePreferenceValueAndSummary()
[all …]
/packages/apps/Car/Dialer/src/com/android/car/dialer/ui/
DTelecomActivityViewModel.java72 bluetoothUnavailableLiveData.setValue( in TelecomActivityViewModel()
104 setValue(DialerAppState.DEFAULT); in DialerAppStateLiveData()
120 setValue(DialerAppState.BLUETOOTH_ERROR); in updateDialerAppState()
125 setValue(DialerAppState.DEFAULT); in updateDialerAppState()
129 public void setValue(@DialerAppState Integer newValue) { in setValue() method in TelecomActivityViewModel.DialerAppStateLiveData
132 super.setValue(newValue); in setValue()
152 setValue(NO_BT_ERROR); in ErrorStringLiveData()
183 setValue(mContext.getString(R.string.bluetooth_disabled)); in update()
185 setValue(mContext.getString(R.string.bluetooth_unpaired)); in update()
187 setValue(mContext.getString(R.string.no_hfp)); in update()
[all …]
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/system/development/
DCaptionCustomFragment.java185 mFontFamilyPref.setValue(getCaptionsFontFamily()); in refresh()
186 mTextColorPref.setValue(getCaptionsTextColor()); in refresh()
187 mTextOpacityPref.setValue(getCaptionsTextOpacity()); in refresh()
188 mEdgeTypePref.setValue(getCaptionsEdgeType()); in refresh()
189 mEdgeColorPref.setValue(getCaptionsEdgeColor()); in refresh()
191 mBackgroundColorPref.setValue(getCaptionsBackgroundColor()); in refresh()
192 mBackgroundOpacityPref.setValue(getCaptionsBackgroundOpacity()); in refresh()
194 mWindowColorPref.setValue(getCaptionsWindowColor()); in refresh()
195 mWindowOpacityPref.setValue(getCaptionsWindowOpacity()); in refresh()
272 mBackgroundColorPref.setValue(Integer.toHexString(0)); in setCaptionsBackgroundVisible()
[all …]
/packages/apps/PermissionController/src/com/android/packageinstaller/role/ui/
DManageRoleHolderStateLiveData.java52 setValue(STATE_IDLE); in ManageRoleHolderStateLiveData()
81 setValue(STATE_WORKING); in setRoleHolderAsUser()
91 setValue(STATE_SUCCESS); in setRoleHolderAsUser()
98 setValue(STATE_FAILURE); in setRoleHolderAsUser()
131 setValue(STATE_WORKING); in clearRoleHoldersAsUser()
140 setValue(STATE_SUCCESS); in clearRoleHoldersAsUser()
145 setValue(STATE_FAILURE); in clearRoleHoldersAsUser()
183 setValue(STATE_IDLE); in resetState()
/packages/apps/Car/libs/car-media-common/src/com/android/car/media/common/source/
DMediaSourceViewModel.java148 mConnectedMediaBrowser.setValue(browser); in MediaSourceViewModel()
153 mMediaController.setValue(null); in MediaSourceViewModel()
155 mMediaController.setValue(mInputFactory.getControllerForSession( in MediaSourceViewModel()
159 mMediaController.setValue(null); in MediaSourceViewModel()
226 mMediaController.setValue(null); in updateModelState()
227 mConnectedMediaBrowser.setValue(null); in updateModelState()
231 mPrimaryMediaSource.setValue(newMediaSource); in updateModelState()
/packages/apps/Dialer/java/com/android/dialer/callcomposer/camera/exif/
DExifTag.java222 boolean setValue(int[] value) { in setValue() method in ExifTag
256 boolean setValue(long[] value) { in setValue() method in ExifTag
282 boolean setValue(String value) { in setValue() method in ExifTag
319 boolean setValue(Rational[] value) { in setValue() method in ExifTag
347 private boolean setValue(byte[] value, int offset, int length) { in setValue() method in ExifTag
361 boolean setValue(byte[] value) { in setValue() method in ExifTag
362 return setValue(value, 0, value.length); in setValue()
DExifParser.java522 tag.setValue(buf); in readTag()
647 tag.setValue(buf); in readFullTagValue()
651 tag.setValue(readString(tag.getComponentCount())); in readFullTagValue()
659 tag.setValue(value); in readFullTagValue()
668 tag.setValue(value); in readFullTagValue()
677 tag.setValue(value); in readFullTagValue()
686 tag.setValue(value); in readFullTagValue()
695 tag.setValue(value); in readFullTagValue()
/packages/apps/Car/libs/car-media-common/src/com/android/car/media/common/playback/
DPlaybackViewModel.java241 mPlaybackControls.setValue(new PlaybackController(controller)); in onMediaControllerChanged()
246 mColors.setValue(mColorsFactory.extractColors(controller.getPackageName())); in onMediaControllerChanged()
254 mColors.setValue(null); in onMediaControllerChanged()
283 mMetadata.setValue(item); in onMetadataChanged()
289 mQueueTitle.setValue(title); in onQueueTitleChanged()
301 mSanitizedQueue.setValue(filtered); in onQueueChanged()
302 mHasQueue.setValue(!filtered.isEmpty()); in onQueueChanged()
313 mPlaybackStateWrapper.setValue( in updatePlaybackStatus()
316 mPlaybackStateWrapper.setValue(null); in updatePlaybackStatus()
/packages/apps/Settings/src/com/android/settings/accessibility/
DCaptionPropertiesFragment.java314 mPreset.setValue(preset); in updateAllPreferences()
317 mFontSize.setValue(Float.toString(fontSize)); in updateAllPreferences()
321 mEdgeType.setValue(attrs.edgeType); in updateAllPreferences()
322 mEdgeColor.setValue(attrs.edgeColor); in updateAllPreferences()
337 mTypeface.setValue(rawTypeface == null ? "" : rawTypeface); in updateAllPreferences()
340 mLocale.setValue(rawLocale == null ? "" : rawLocale); in updateAllPreferences()
368 opacity.setValue(opacityValue | 0xFFFFFF); in parseColorOpacity()
369 color.setValue(colorValue); in parseColorOpacity()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/accessibility/
DCaptionPropertiesFragment.java341 mPreset.setValue(preset); in updateAllPreferences()
344 mFontSize.setValue(Float.toString(fontSize)); in updateAllPreferences()
348 mEdgeType.setValue(attrs.edgeType); in updateAllPreferences()
349 mEdgeColor.setValue(attrs.edgeColor); in updateAllPreferences()
364 mTypeface.setValue(rawTypeface == null ? "" : rawTypeface); in updateAllPreferences()
367 mLocale.setValue(rawLocale == null ? "" : rawLocale); in updateAllPreferences()
395 opacity.setValue(opacityValue | 0xFFFFFF); in parseColorOpacity()
396 color.setValue(colorValue); in parseColorOpacity()
/packages/apps/Car/libs/car-arch-common/src/com/android/car/arch/common/
DLiveDataFunctions.java88 data.setValue(value); in dataOf()
129 setValue(value); in distinct()
154 setValue(source.getValue()); in freezable()
162 setValue(source.getValue()); in freezable()
222 addSource(trigger, data -> setValue(new FutureData<>(true, null)));
224 setValue(new FutureData<>(false, output.getValue())));
633 setValue(result);
/packages/services/Telephony/src/com/android/phone/
DMobileNetworkSettings.java531 mButtonPreferredNetworkMode.setValue(Integer.toString(settingsNetworkMode)); in onPreferenceTreeClick()
555 mButtonEnabledNetworks.setValue(Integer.toString(settingsNetworkMode)); in onPreferenceTreeClick()
1161 mButtonEnabledNetworks.setValue(Integer.toString(settingsNetworkMode)); in updateBodyAdvancedFields()
1162 mButtonPreferredNetworkMode.setValue(Integer.toString(settingsNetworkMode)); in updateBodyAdvancedFields()
1391 mButtonPreferredNetworkMode.setValue((String) objValue); in onPreferenceChange()
1446 mButtonEnabledNetworks.setValue((String) objValue); in onPreferenceChange()
1631 mButtonPreferredNetworkMode.setValue(Integer.toString(settingsNetworkMode)); in updatePreferredNetworkUIFromDb()
1755 mButtonEnabledNetworks.setValue( in UpdateEnabledNetworksValueAndSummary()
1763 mButtonEnabledNetworks.setValue( in UpdateEnabledNetworksValueAndSummary()
1767 mButtonEnabledNetworks.setValue( in UpdateEnabledNetworksValueAndSummary()
[all …]
/packages/apps/Settings/tests/robotests/src/com/android/settings/development/gamedriver/
DGameDriverEnableForAllAppsPreferenceControllerTest.java117 verify(mPreference).setValue(mPreferenceDefault); in displayPreference_shouldAddListPreference()
144 verify(mPreference).setValue(mPreferenceDefault); in updateState_availableAndDefault_visibleAndDefault()
155 verify(mPreference).setValue(mPreferenceGameDriver); in updateState_availableAndGameDriver_visibleAndGameDriver()
166 verify(mPreference).setValue(mPreferencePrereleaseDriver); in updateState_availableAndPrereleaseDriver_visibleAndPrereleaseDriver()
176 verify(mPreference).setValue(mPreferenceDefault); in updateState_gameDriverOff_notVisibleAndSystemDriver()

12345678910>>...14