Home
last modified time | relevance | path

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

12345678910>>...12

/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 …]
/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/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 …]
/packages/apps/Car/libs/car-arch-common/tests/robotests/src/com/android/car/arch/common/
DLiveDataFunctionsTest.java117 source.setValue(1); in testDistinct()
122 source.setValue(1); in testDistinct()
125 source.setValue(2); in testDistinct()
144 source.setValue(1); in testFreezable()
150 isFrozen.setValue(true); in testFreezable()
151 source.setValue(2); in testFreezable()
155 isFrozen.setValue(false); in testFreezable()
161 isFrozen.setValue(true); in testFreezable()
162 isFrozen.setValue(false); in testFreezable()
202 source.setValue(true); in testAnd_changeValue()
[all …]
DLoadingSwitchMapTest.java66 mTrigger.setValue(new Object()); in testIsLoading_initializedTrigger()
79 mTrigger.setValue(new Object()); in testIsLoading_alreadyLoaded()
80 mOutput.setValue(1); in testIsLoading_alreadyLoaded()
97 mTrigger.setValue(new Object()); in testIsLoading_normalFlow()
102 mOutput.setValue(1); in testIsLoading_normalFlow()
110 mTrigger.setValue(new Object()); in testIsLoading_secondLoad()
111 mOutput.setValue(1); in testIsLoading_secondLoad()
117 mTrigger.setValue(new Object()); in testIsLoading_secondLoad()
123 mOutput.setValue(2); in testIsLoading_secondLoad()
/packages/apps/Car/Dialer/tests/unittests/src/com/android/car/dialer/ui/warning/
DBluetoothErrorStringLiveDataTest.java81 mBluetoothStateLiveData.setValue(BluetoothState.DISABLED); in testDialerAppState_bluetoothNotEnabled_bluetoothError()
93 mBluetoothStateLiveData.setValue(BluetoothState.ENABLED); in testDialerAppState_noPairedDevices_bluetoothError()
94 mPairedListLiveData.setValue(Collections.emptySet()); in testDialerAppState_noPairedDevices_bluetoothError()
106 mBluetoothStateLiveData.setValue(BluetoothState.ENABLED); in testDialerAppState_hfpNoConnected_bluetoothError()
108 mPairedListLiveData.setValue(Collections.singleton(mockBluetoothDevice)); in testDialerAppState_hfpNoConnected_bluetoothError()
109 mHfpDeviceListLiveData.setValue(Collections.emptyList()); in testDialerAppState_hfpNoConnected_bluetoothError()
121 mBluetoothStateLiveData.setValue(BluetoothState.ENABLED); in testDialerAppState_bluetoothAllSet_dialerAppNoError()
123 mPairedListLiveData.setValue(Collections.singleton(mockBluetoothDevice)); in testDialerAppState_bluetoothAllSet_dialerAppNoError()
124 mHfpDeviceListLiveData.setValue(Collections.singletonList(mockBluetoothDevice)); in testDialerAppState_bluetoothAllSet_dialerAppNoError()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/filters/
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/Car/Dialer/src/com/android/car/dialer/ui/activecall/
DInCallViewModel.java93 mHasOngoingCallChangedLiveData.setValue(true);
99 mHasOngoingCallChangedLiveData.setValue(true);
105 mHasOngoingCallChangedLiveData.setValue(true);
180 mDialpadIsOpen.setValue(false); in InCallViewModel()
339 mOngoingCallListLiveData.setValue(Collections.emptyList()); in recalculateOngoingCallList()
340 mConferenceCallListLiveData.setValue(Collections.emptyList()); in recalculateOngoingCallList()
359 mConferenceCallListLiveData.setValue(conferenceList); in recalculateOngoingCallList()
360 mOngoingCallListLiveData.setValue(ongoingCallList); in recalculateOngoingCallList()
418 setValue(false); in ShowOnholdCallLiveData()
429 setValue(true); in update()
[all …]
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/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/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/Launcher3/src/com/android/launcher3/
DLauncherAnimUtils.java48 public void setValue(Drawable drawable, int alpha) {
61 public void setValue(View view, float scale) {
80 public void setValue(LayoutParams lp, int width) {
93 public void setValue(LayoutParams lp, int height) {
102 public void setValue(View view, float v) {
116 public void setValue(View view, float v) {
130 public void setValue(View view, float v) {
143 public void setValue(View view, int color) {
/packages/apps/Car/Dialer/src/com/android/car/dialer/ui/warning/
DBluetoothErrorStringLiveData.java66 setValue(mContext.getString(R.string.bluetooth_unavailable)); in BluetoothErrorStringLiveData()
68 setValue(NO_BT_ERROR); in BluetoothErrorStringLiveData()
104 setValue(NO_BT_ERROR); in update()
107 setValue(mContext.getString(R.string.bluetooth_disabled)); in update()
109 setValue(mContext.getString(R.string.bluetooth_unpaired)); in update()
111 setValue(mContext.getString(R.string.no_hfp)); in update()
/packages/apps/Car/Dialer/src/com/android/car/dialer/ui/common/
DContactResultsLiveData.java105 setValue(Collections.emptyList()); in onContactsChange()
115 setValue(Collections.emptyList()); in onSearchQueryChanged()
122 setValue(getValue()); in onSortOrderChanged()
127 setValue(Collections.emptyList()); in onQueryFinished()
154 setValue(contactResults); in onQueryFinished()
162 public void setValue(List<ContactResultListItem> contactResults) { in setValue() method in ContactResultsLiveData
168 super.setValue(contactResults == null ? Collections.EMPTY_LIST : contactResults); in setValue()
/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/modules/NetworkStack/common/netlinkclient/src/android/net/netlink/
DStructNlAttr.java125 setValue(new byte[1]); in StructNlAttr()
135 setValue(new byte[Short.BYTES]); in StructNlAttr()
152 setValue(new byte[Integer.BYTES]); in StructNlAttr()
165 setValue(ip.getAddress()); in StructNlAttr()
174 setValue(new byte[payloadLength]); in StructNlAttr()
271 private void setValue(byte[] value) { in setValue() method in StructNlAttr
/packages/apps/Car/Dialer/src/com/android/car/dialer/ui/
DToolbarTitleLiveData.java81 setValue(null); in updateToolbarTitle()
88 setValue(mContext.getString(R.string.phone_app_name)); in updateToolbarTitle()
99 setValue(mContext.getString(R.string.phone_app_name)); in updateDeviceName()
103 setValue(currentHfpDevice.getName()); in updateDeviceName()
/packages/apps/Car/DebuggingRestrictionController/app/src/main/java/com/android/car/debuggingrestrictioncontroller/ui/login/
DLoginViewModel.java48 loginFormState.setValue( in login()
73 loginFormState.setValue(new LoginFormState(R.string.invalid_username, null)); in loginDataChanged()
75 loginFormState.setValue(new LoginFormState(null, R.string.invalid_password)); in loginDataChanged()
77 loginFormState.setValue(new LoginFormState(true)); in loginDataChanged()
/packages/apps/Car/libs/car-media-common/src/com/android/car/media/common/playback/
DPlaybackViewModel.java279 mPlaybackControls.setValue(new PlaybackController(mediaController)); in setMediaController()
284 mColors.setValue(mColorsFactory.extractColors(mediaController.getPackageName())); in setMediaController()
292 mColors.setValue(null); in setMediaController()
323 mMetadata.setValue(item); in onMetadataChanged()
329 mQueueTitle.setValue(title); in onQueueTitleChanged()
342 mSanitizedQueue.setValue(filtered); in onQueueChanged()
343 mHasQueue.setValue(filtered.size() > 1); in onQueueChanged()
354 mPlaybackStateWrapper.setValue( in updatePlaybackStatus()
357 mPlaybackStateWrapper.setValue(null); in updatePlaybackStatus()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/hotspot2/soap/command/
DPpsMoDataTest.java63 propertyInfo.setValue(soapPrimitive); in verifyGetPpsMo()
78 propertyInfo.setValue(null); in verifyMissingPpsMoReturnNull()
93 propertyInfo.setValue(soapPrimitive); in verifyMissingTreeURIAttributeReturnNull()
108 propertyInfo.setValue(soapPrimitive); in verifyMissingMoUrnAttributeReturnNull()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/hal/
DHalClientUnitTest.java68 () -> mClient.setValue(mProp)); in testSet_remoteExceptionThenFail()
80 mClient.setValue(mProp); in testSet_remoteExceptionThenOk()
88 () -> mClient.setValue(mProp)); in testSet_invalidArgument()
99 () -> mClient.setValue(mProp)); in testSet_otherError()
/packages/apps/Car/libs/car-arch-common/src/com/android/car/arch/common/
DLiveDataFunctions.java87 data.setValue(value); in dataOf()
128 setValue(value); in distinct()
153 setValue(source.getValue()); in freezable()
161 setValue(source.getValue()); in freezable()
221 addSource(trigger, data -> setValue(new FutureData<>(true, null)));
223 setValue(new FutureData<>(false, output.getValue())));
632 setValue(result);
/packages/apps/Settings/tests/robotests/src/com/android/settings/development/
DSecondaryDisplayPreferenceControllerTest.java105 verify(mPreference).setValue(mListValues[1]); in updateState_set480p_shouldSetPreferenceTo480p()
116 verify(mPreference).setValue(mListValues[3]); in updateState_set720p_shouldSetPreferenceTo720p()
124 verify(mPreference).setValue(mListValues[0]); in updateState_nothingSet_shouldSetDefaultToNone()
136 verify(mPreference).setValue(mListValues[0]); in onDeveloperOptionsSwitchDisabled_shouldDisablePreferenceAndSetToNone()
/packages/apps/Settings/tests/robotests/src/com/android/settings/development/graphicsdriver/
DGraphicsDriverEnableForAllAppsPreferenceControllerTest.java120 verify(mPreference).setValue(mPreferenceDefault); in displayPreference_shouldAddListPreference()
147 verify(mPreference).setValue(mPreferenceDefault); in updateState_availableAndDefault_visibleAndDefault()
159 verify(mPreference).setValue(mPreferenceProductionDriver); in updateState_availableAndProductionDriver_visibleAndProductionDriver()
171 verify(mPreference).setValue(mPreferencePrereleaseDriver); in updateState_availableAndPrereleaseDriver_visibleAndPrereleaseDriver()
182 verify(mPreference).setValue(mPreferenceDefault); in updateState_updatableDriverOff_notVisibleAndSystemDriver()

12345678910>>...12