Searched refs:getValue (Results 1 - 25 of 271) sorted by relevance

1234567891011

/packages/services/Car/tests/android_car_api_test/src/com/android/car/apitest/
H A DCarPropertyValueTest.java34 assertEquals(10f, valueRead.getValue());
45 assertEquals(30, pointValueRead.getValue().x);
46 assertEquals(40, pointValueRead.getValue().y);
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/controller/
H A DParameterInteger.java28 int getValue(); method in interface:ParameterInteger
H A DParameterBrightness.java37 mHSVO[3] = getValue() / (float) getMaximum();
H A DParameterHue.java37 mHSVO[3] = getValue() / (float) getMaximum();
H A DParameterOpacity.java36 mHSVO[3] = getValue() / (float) getMaximum();
H A DParameterSaturation.java37 mHSVO[3] = getValue() / (float) getMaximum();
/packages/apps/UnifiedEmail/src/com/android/mail/preferences/
H A DBackupSharedPreference.java28 Object getValue(); method in interface:BackupSharedPreference
/packages/apps/QuickSearchBox/tests/src/com/android/quicksearchbox/util/
H A DCachedLaterTest.java46 assertNull(mTrap.getValue());
48 assertEquals("foo", mTrap.getValue());
55 assertEquals("foo", mTrap2.getValue());
62 assertEquals("foo", mTrap.getValue());
63 assertEquals("foo", mTrap2.getValue());
72 assertEquals("bar", mTrap2.getValue());
89 assertNull(mTrap2.getValue());
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/filters/
H A DFilterColorBorderRepresentation.java109 if (border.mParamColor.getValue() == mParamColor.getValue()
110 && border.mParamRadius.getValue() == mParamRadius.getValue()
111 && border.mParamSize.getValue() == mParamSize.getValue()) {
136 return mParamColor.getValue();
144 return mParamSize.getValue();
152 return mParamRadius.getValue();
177 writer.value(mParamSize.getValue());
[all...]
H A DFilterVignetteRepresentation.java78 mParamVignette.setValue(rep.mParamVignette.getValue());
79 mParamExposure.setValue(rep.mParamExposure.getValue());
80 mParamSaturation.setValue(rep.mParamSaturation.getValue());
81 mParamContrast.setValue(rep.mParamContrast.getValue());
82 mParamFalloff.setValue(rep.mParamFalloff.getValue());
85 public int getValue(int mode) { method in class:FilterVignetteRepresentation
86 return mAllParam[mode].getValue();
170 if (mAllParam[i].getValue() != rep.mAllParam[i].getValue())
198 writer.value(mParamVignette.getValue());
[all...]
H A DFilterChanSatRepresentation.java115 if (rep.getValue(i) != getValue(i))
123 public int getValue(int mode) { method in class:FilterChanSatRepresentation
124 return mAllParam[mode].getValue();
148 return getValue(mParameterMode);
171 writer.value(getValue(MODE_MASTER));
172 writer.value(getValue(MODE_RED));
173 writer.value(getValue(MODE_YELLOW));
174 writer.value(getValue(MODE_GREEN));
175 writer.value(getValue(MODE_CYA
[all...]
/packages/services/Telephony/src/com/android/phone/vvm/omtp/
H A DVisualVoicemailPreferences.java97 return getValue(key, defValue);
102 return getValue(key, defValue);
106 return getValue(key, defValue);
111 return getValue(key, defValue);
115 return getValue(key, defValue);
120 return getValue(key, null);
125 return getValue(key, defValue);
132 private <T> T getValue(String key, T defValue) { method in class:VisualVoicemailPreferences
H A DOmtpVvmCarrierConfigHelper.java160 return (String) getValue(KEY_VVM_TYPE_STRING);
173 return (String) getValue(key);
228 return (boolean) getValue(KEY_VVM_CELLULAR_DATA_REQUIRED_BOOL, false);
232 return (boolean) getValue(KEY_VVM_PREFETCH_BOOL, true);
237 return (int) getValue(KEY_VVM_PORT_NUMBER_INT, 0);
242 return (String) getValue(KEY_VVM_DESTINATION_NUMBER_STRING);
253 return (int) getValue(KEY_VVM_SSL_PORT_NUMBER_INT, 0);
290 String prefix = (String) getValue(KEY_VVM_CLIENT_PREFIX_STRING);
309 return (boolean) getValue(KEY_VVM_LEGACY_MODE_ENABLED_BOOL, false);
423 private Object getValue(Strin method in class:OmtpVvmCarrierConfigHelper
428 private Object getValue(String key, Object defaultValue) { method in class:OmtpVvmCarrierConfigHelper
[all...]
/packages/apps/QuickSearchBox/tests/src/com/android/quicksearchbox/
H A DConsumerTrap.java35 public A getValue() { method in class:ConsumerTrap
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/util/
H A DTransitionUtils.java36 res.getValue(R.dimen.alpha_activity_in_bkg_start, startAlpha, true);
39 res.getValue(R.dimen.alpha_activity_in_bkg_end, endAlpha, true);
56 res.getValue(R.dimen.alpha_activity_out_bkg_start, startAlpha, true);
59 res.getValue(R.dimen.alpha_activity_out_bkg_end, endAlpha, true);
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
H A DDialogDetailsView.java141 double[] latlng = (double[]) detail.getValue();
148 context, (Long) detail.getValue());
152 value = "1".equals(detail.getValue())
159 (MediaDetails.FlashState) detail.getValue();
170 value = (String) detail.getValue();
188 if (detail.getValue().toString().equalsIgnoreCase("0")) {
192 value = toLocalInteger(detail.getValue());
197 if (detail.getValue().toString().equalsIgnoreCase("0")) {
201 value = toLocalInteger(detail.getValue());
211 value = "\n" + detail.getValue()
[all...]
/packages/apps/Camera2/src/com/android/camera/ui/
H A DDetailsDialog.java98 context, (Long) detail.getValue());
102 value = "1".equals(detail.getValue())
109 (MediaDetails.FlashState) detail.getValue();
120 value = (String) detail.getValue();
138 if (detail.getValue().toString().equalsIgnoreCase("0")) {
142 value = toLocalInteger(detail.getValue());
147 if (detail.getValue().toString().equalsIgnoreCase("0")) {
151 value = toLocalInteger(detail.getValue());
161 value = "\n" + detail.getValue().toString();
162 path = detail.getValue()
[all...]
/packages/apps/CellBroadcastReceiver/tests/unit/src/com/android/cellbroadcastreceiver/
H A DCellBroadcastConfigServiceTest.java113 assertEquals(10, captorStart.getValue().intValue());
114 assertEquals(20, captorEnd.getValue().intValue());
115 assertEquals(0, captorType.getValue().intValue());
132 assertEquals(10, captorStart.getValue().intValue());
133 assertEquals(20, captorEnd.getValue().intValue());
134 assertEquals(0, captorType.getValue().intValue());
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
H A DSystemStateProviderTest.java92 assertEquals(2, intentFilter.getValue().countActions());
93 assertEquals(UiModeManager.ACTION_ENTER_CAR_MODE, intentFilter.getValue().getAction(0));
94 assertEquals(UiModeManager.ACTION_EXIT_CAR_MODE, intentFilter.getValue().getAction(1));
106 receiver.getValue().onReceive(mContext, mIntentEnter);
110 receiver.getValue().onReceive(mContext, mIntentExit);
113 receiver.getValue().onReceive(mContext, new Intent("invalid action"));
H A DCallerInfoLookupHelperTest.java123 queryListenerCaptor.getValue().onQueryComplete(
124 0, logSessionCaptor.getValue(), mCallerInfo1);
134 imageListenerCaptor.getValue().onImageLoadComplete(0, mDrawable1, mBitmap,
135 logSessionCaptor.getValue());
161 queryListenerCaptor.getValue().onQueryComplete(
162 0, logSessionCaptor.getValue(), mCallerInfo1);
172 imageListenerCaptor.getValue().onImageLoadComplete(0, mDrawable1, mBitmap,
173 logSessionCaptor.getValue());
199 queryListenerCaptor.getValue().onQueryComplete(
200 0, logSessionCaptor.getValue(), mCallerInfo
[all...]
/packages/apps/Dialer/src/com/android/dialer/util/
H A DExpirableCache.java98 public V getValue(); method in interface:ExpirableCache.CachedValue
132 public V getValue() { method in class:ExpirableCache.GenerationalCachedValue
191 return cachedValue == null ? null : cachedValue.getValue();
206 return cachedValue == null || cachedValue.isExpired() ? null : cachedValue.getValue();
/packages/apps/TV/common/src/com/android/tv/common/feature/
H A DPropertyFeature.java50 return mProperty.getValue();
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/field/
H A DUnstructuredField.java39 public String getValue() { method in class:UnstructuredField
/packages/providers/CalendarProvider/tests/src/com/android/providers/calendar/
H A DRecurrenceSetTest.java115 assertEquals("19700101T000000Z", list.get(0).getValue());
119 assertEquals(RRULE_LESS_THAN_75_CHARS,list.get(0).getValue());
132 assertEquals(RRULE_MORE_THAN_75_CHARS_FOLDED, list.get(0).getValue());
145 assertEquals(STRING_WITH_160_CHARS_FOLDED, list.get(0).getValue());
/packages/services/Telephony/src/org/apache/james/mime4j/field/
H A DUnstructuredField.java39 public String getValue() { method in class:UnstructuredField

Completed in 5043 milliseconds

1234567891011