Searched refs:value (Results 176 - 200 of 405) sorted by relevance

1234567891011>>

/packages/apps/Calendar/src/com/android/calendar/
H A DOtherPreferences.java144 String value = String.valueOf(objValue);
145 updateSkipRemindersSummary(value);
228 * @param value The corresponding value of which summary to set. If null, the default summary
229 * will be set, and the value will be set accordingly too.
231 private void updateSkipRemindersSummary(String value) { argument
239 if (values[value_i].equals(value)) {
245 if (value == null) {
246 // Value was not known ahead of time, so the default value will be set.
/packages/apps/Camera/src/com/android/camera/
H A DPhotoController.java91 // toggle hdr value
175 // Return true if the preference has the specified key but not the value.
176 private static boolean notSame(ListPreference pref, String key, String value) { argument
177 return (key.equals(pref.getKey()) && !value.equals(pref.getValue()));
180 private void setPreference(String key, String value) { argument
182 if (pref != null && !value.equals(pref.getValue())) {
183 pref.setValue(value);
H A DPieController.java82 protected PieItem makeItem(CharSequence value) { argument
83 TextDrawable drawable = new TextDrawable(mActivity.getResources(), value);
155 Log.e(TAG, "Fail to find override value=" + overrideValue);
181 String value = keyvalues[i + 1];
183 mOverrides.put(pref, value);
185 item.setEnabled(value == null);
/packages/apps/Gallery2/src/com/android/camera/
H A DPhotoMenu.java177 // Return true if the preference has the specified key but not the value.
178 private static boolean notSame(ListPreference pref, String key, String value) { argument
179 return (key.equals(pref.getKey()) && !value.equals(pref.getValue()));
182 private void setPreference(String key, String value) { argument
184 if (pref != null && !value.equals(pref.getValue())) {
185 pref.setValue(value);
/packages/apps/Camera/src/com/android/camera/ui/
H A DListPrefSettingPopup.java63 public void setViewImage(ImageView v, String value) { argument
64 if ("".equals(value)) {
68 super.setViewImage(v, value);
105 // The value of the preference may have changed. Update the UI.
112 Log.e(TAG, "Invalid preference value.");
/packages/apps/CertInstaller/src/com/android/certinstaller/
H A DCertInstallerMain.java140 private void installByType(String type, byte[] value) { argument
143 intent.putExtra(KeyChain.EXTRA_PKCS12, value);
146 intent.putExtra(KeyChain.EXTRA_CERTIFICATE, value);
/packages/apps/Contacts/src/com/android/contacts/util/
H A DNameConverter.java161 private static void appendQueryParameter(Builder builder, String field, String value) { argument
162 if (!TextUtils.isEmpty(value)) {
163 builder.appendQueryParameter(field, value);
/packages/apps/Gallery2/jni/filters/
H A Dtinyplanet.cc87 inline float wrap(float value, float dimension) { argument
88 return value - (dimension * floor(value/dimension));
/packages/apps/Gallery2/src/com/android/camera/ui/
H A DListPrefSettingPopup.java63 public void setViewImage(ImageView v, String value) { argument
64 if ("".equals(value)) {
68 super.setViewImage(v, value);
105 // The value of the preference may have changed. Update the UI.
112 Log.e(TAG, "Invalid preference value.");
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/util/
H A DJavaNetHttpHelper.java135 String value = e.getValue();
136 if (DBG) Log.d(TAG, " " + name + ": " + value);
137 c.addRequestProperty(name, value);
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/
H A DSymbolList.java119 * Get a attribute value from a XML resource.
124 * @return The value of the attribute
151 String value = getXmlAttribute(xrp, "value");
152 if (value != null) {
153 list.add(value);
/packages/apps/Email/src/com/android/email/activity/
H A DThreePaneLayout.java432 private void setViewWidth(View v, int value) { argument
433 v.getLayoutParams().width = value;
440 public void setMailboxListLeftAnim(int value) { argument
441 ((ViewGroup.MarginLayoutParams) mLeftPane.getLayoutParams()).leftMargin = value;
445 public void setMessageListWidthAnim(int value) { argument
446 setViewWidth(mMiddlePane, value);
/packages/apps/Browser/src/com/android/browser/
H A DDeviceAccountLogin.java83 public void run(AccountManagerFuture<Bundle> value) { argument
85 String result = value.getResult().getString(
/packages/apps/Contacts/src/com/android/contacts/editor/
H A DBaseRawContactEditorView.java123 /* package */ void setExpanded(boolean value) { argument
129 newValue = value;
/packages/apps/Dialer/src/com/android/dialer/calllog/
H A DExtendedCursor.java27 * Wraps a cursor to add an additional column with the same value for all rows.
37 /** The value to be assigned to the additional column. */
41 * Creates a new cursor which extends the given cursor by adding a column with a constant value.
45 * @param value the value to be assigned to the additional column
47 public ExtendedCursor(Cursor cursor, String columnName, Object value) { argument
50 mValue = value;
/packages/apps/Email/emailcommon/src/com/android/emailcommon/mail/
H A DMessage.java90 public abstract void addHeader(String name, String value) throws MessagingException; argument
92 public abstract void setHeader(String name, String value) throws MessagingException; argument
/packages/apps/Email/src/com/android/email/view/
H A DCertificateSelector.java46 /** The value of the cert selected, if any. Null, otherwise. */
135 SavedState(Parcelable superState, String value) { argument
137 mValue = value;
/packages/apps/Email/tests/src/com/android/email/activity/setup/
H A DAccountSettingsTests.java139 * Test the frequency values list for a particular value
141 private boolean frequencySpinnerHasValue(int value) { argument
144 if (listValue != null && Integer.parseInt(listValue.toString()) == value) {
/packages/apps/Email/tests/src/com/android/emailcommon/mail/
H A DMessageTestUtils.java73 * @param contentId content-id header value (optional - null for no header)
244 * Modifier method to add tag with specified attribute and value.
248 * @param value attribute value
251 public TextBuilder addTag(String tag, String attribute, String value) { argument
252 return addText(String.format("<%s %s=\"%s\">", tag, attribute, value));
/packages/apps/Gallery/src/com/android/camera/
H A DMenuHelper.java322 String value = exif.getAttribute(ExifInterface.TAG_MAKE);
323 if (value != null) {
324 setDetailsValue(d, value, R.id.details_make_value);
329 value = exif.getAttribute(ExifInterface.TAG_MODEL);
330 if (value != null) {
331 setDetailsValue(d, value, R.id.details_model_value);
336 value = getWhiteBalanceString(exif);
337 if (value != null && !value.equals(EMPTY_STRING)) {
338 setDetailsValue(d, value,
[all...]
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/category/
H A DCategoryPanel.java38 public void setAdapter(int value) { argument
39 mCurrentAdapter = value;
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/editors/
H A DBasicEditor.java105 public void setValue(int value) { argument
110 rep.setValue(value);
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/filters/
H A DImageFilterVignette.java78 float value = rep.getValue() / 100.0f;
95 nativeApplyFilter(bitmap, w, h, (int) cx, (int) cy, rx, ry, value);
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/
H A DImageStraighten.java93 public void onNewValue(int value) { argument
94 setLocalStraighten(GeometryMath.clamp(value, MIN_STRAIGHTEN_ANGLE, MAX_STRAIGHTEN_ANGLE));
/packages/apps/Launcher2/src/com/android/launcher2/
H A DInstallShortcutReceiver.java69 SharedPreferences.Editor editor, String key, String value) {
76 strings.add(value);
86 .key(DATA_INTENT_KEY).value(info.data.toUri(0))
87 .key(LAUNCH_INTENT_KEY).value(info.launchIntent.toUri(0))
88 .key(NAME_KEY).value(info.name);
91 json = json.key(ICON_KEY).value(
96 json = json.key(ICON_RESOURCE_NAME_KEY).value(info.iconResource.resourceName);
98 .value(info.iconResource.packageName);
68 addToStringSet(SharedPreferences sharedPrefs, SharedPreferences.Editor editor, String key, String value) argument

Completed in 1849 milliseconds

1234567891011>>