Searched defs:value (Results 201 - 225 of 335) sorted by relevance

1234567891011>>

/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/
H A DInputTestsBase.java132 protected boolean setBooleanPreference(final String key, final boolean value, argument
137 editor.putBoolean(key, value);
142 // returns the previous setting value
143 protected boolean setDebugMode(final boolean value) { argument
144 return setBooleanPreference(PREF_DEBUG_MODE, value, false);
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/makedict/
H A DBinaryDictIOUtilsTests.java76 private String generateWord(final int value) { argument
79 long lvalue = Math.abs((long)value);
/packages/providers/CalendarProvider/src/com/android/providers/calendar/
H A DCalendarCache.java29 * Class for managing a persistent Cache of (key, value) pairs. The persistent storage used is
49 public static final String COLUMN_NAME_VALUE = "value";
141 * Write a (key, value) pair in the Cache.
144 * @param value the value (can be null)
147 public void writeData(String key, String value) throws CacheException { argument
151 writeDataLocked(db, key, value);
154 Log.i(TAG, "Wrote (key, value) = [ " + key + ", " + value + "] ");
162 * Write a (key, value) pai
170 writeDataLocked(SQLiteDatabase db, String key, String value) argument
[all...]
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
H A DCallLogProviderTest.java261 private void assertParamThrowsIllegalArgumentException(String key, String value) { argument
263 .appendQueryParameter(key, value)
269 assertTrue("Error does not contain value in question.",
270 e.toString().contains(value));
/packages/apps/Bluetooth/src/com/android/bluetooth/pan/
H A DPanService.java267 public void setBluetoothTethering(boolean value) { argument
270 Log.d(TAG, "setBluetoothTethering: " + value +", mTetherOn: " + service.mTetherOn);
271 service.setBluetoothTethering(value);
326 void setBluetoothTethering(boolean value) { argument
327 if(DBG) Log.d(TAG, "setBluetoothTethering: " + value +", mTetherOn: " + mTetherOn);
329 if(mTetherOn != value) {
331 mTetherOn = value;
/packages/apps/Calculator/src/com/android/calculator2/
H A DLogic.java240 double value = mSymbols.eval(input);
244 result = tryFormattingWithPrecision(value, precision);
278 private String tryFormattingWithPrecision(double value, int precision) { argument
281 String result = String.format(Locale.US, "%" + mLineLength + "." + precision + "g", value);
/packages/apps/Camera2/src/com/android/camera/crop/
H A DUtils.java98 // Returns the input value x clamped to the range [min, max].
105 // Returns the input value x clamped to the range [min, max].
112 // Returns the input value x clamped to the range [min, max].
133 * @return a 64-bit crc value
186 public static int ceilLog2(float value) { argument
189 if ((1 << i) >= value) break;
194 public static int floorLog2(float value) { argument
197 if ((1 << i) > value) break;
236 public static String ensureNotNull(String value) { argument
237 return value
[all...]
/packages/apps/Contacts/src/com/android/contacts/detail/
H A DContactLoaderFragment.java176 public void setListener(ContactLoaderFragmentListener value) { argument
177 mListener = value;
/packages/apps/Contacts/src/com/android/contacts/quickcontact/
H A DQuickContactActivity.java342 private void setHeaderNameText(int id, CharSequence value) { argument
345 if (!TextUtils.isEmpty(value)) {
346 ((TextView)view).setText(value);
/packages/apps/ContactsCommon/tests/src/com/android/contacts/common/
H A DRawContactDeltaListTests.java150 static ContentValues buildPhone(long phoneId, String value) { argument
154 values.put(Phone.NUMBER, value);
/packages/apps/Exchange/src/com/android/exchange/provider/
H A DExchangeDirectoryProvider.java146 void put(String columnName, Object value) { argument
149 row[integer] = value;
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/
H A DUtils.java98 // Returns the input value x clamped to the range [min, max].
105 // Returns the input value x clamped to the range [min, max].
112 // Returns the input value x clamped to the range [min, max].
133 * @return a 64-bit crc value
186 public static int ceilLog2(float value) { argument
189 if ((1 << i) >= value) break;
194 public static int floorLog2(float value) { argument
197 if ((1 << i) > value) break;
236 public static String ensureNotNull(String value) { argument
237 return value
[all...]
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/editors/
H A DEditorGrad.java105 int value = progress + min;
106 rep.setParameter(mSliderMode, value);
205 int value = rep.getParameter(mMode);
206 mTextView.setText(Integer.toString(value));
207 mSlider.setProgress(value - mMin);
213 int value = progress + mMin;
214 rep.setParameter(mMode, value);
220 mTextView.setText(Integer.toString(value));
363 public void setValue(int value) { argument
368 rep.setParameter(mSliderMode, value);
[all...]
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/filters/
H A DFilterGradRepresentation.java384 public void setParameter(int type, int value) { argument
388 mCurrentBand.brightness = value;
391 mCurrentBand.saturation = value;
394 mCurrentBand.contrast = value;
446 writer.value(point.xPos1);
447 writer.value(point.yPos1);
448 writer.value(point.xPos2);
449 writer.value(point.yPos2);
450 writer.value(point.brightness);
451 writer.value(poin
[all...]
H A DFilterRepresentation.java102 public void setIsBooleanFilter(boolean value) { argument
103 mIsBooleanFilter = value;
143 public void setSupportsPartialRendering(boolean value) { argument
144 mSupportsPartialRendering = value;
192 public void setOverlayOnly(boolean value) { argument
193 mOverlayOnly = value;
232 writer.value(rep[k][1]);
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/state/
H A DStateView.java103 public void setSelected(boolean value) { argument
104 super.setSelected(value);
105 if (!value) {
/packages/apps/InCallUI/src/com/android/incallui/
H A DCallButtonFragment.java213 public void setMute(boolean value) { argument
214 mMuteButton.setSelected(value);
223 public void setHold(boolean value) { argument
224 mHoldButton.setSelected(value);
507 public void displayDialpad(boolean value) { argument
508 mShowDialpadButton.setChecked(value);
510 ((InCallActivity) getActivity()).displayDialpad(value);
523 public void displayManageConferencePanel(boolean value) { argument
525 ((InCallActivity) getActivity()).displayManageConferencePanel(value);
/packages/apps/Launcher3/src/com/android/gallery3d/common/
H A DUtils.java98 // Returns the input value x clamped to the range [min, max].
105 // Returns the input value x clamped to the range [min, max].
112 // Returns the input value x clamped to the range [min, max].
133 * @return a 64-bit crc value
186 public static int ceilLog2(float value) { argument
189 if ((1 << i) >= value) break;
194 public static int floorLog2(float value) { argument
197 if ((1 << i) > value) break;
236 public static String ensureNotNull(String value) { argument
237 return value
[all...]
/packages/apps/Launcher3/src/com/android/launcher3/
H A DLauncherViewPropertyAnimator.java167 public void setInterpolator(TimeInterpolator value) { argument
169 mInterpolator = value;
235 public LauncherViewPropertyAnimator translationX(float value) { argument
237 mTranslationX = value;
241 public LauncherViewPropertyAnimator translationY(float value) { argument
243 mTranslationY = value;
247 public LauncherViewPropertyAnimator scaleX(float value) { argument
249 mScaleX = value;
253 public LauncherViewPropertyAnimator scaleY(float value) { argument
255 mScaleY = value;
259 rotationY(float value) argument
265 alpha(float value) argument
[all...]
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/
H A DSuggestionData.java331 private void appendField(StringBuilder builder, String name, String value) { argument
332 if (value != null) {
333 builder.append(",").append(name).append("=").append(value);
/packages/apps/Settings/src/com/android/settings/
H A DSecuritySettings.java434 // Update summary message with current value
601 // Setting the mBiometricWeakLiveliness checked value to false is handled when onResume
602 // is called by grabbing the value from lockPatternUtils. We can't set it here
610 public boolean onPreferenceChange(Preference preference, Object value) { argument
612 int timeout = Integer.parseInt((String) value);
H A DTetherSettings.java425 public boolean onPreferenceChange(Preference preference, Object value) { argument
426 boolean enable = (Boolean) value;
/packages/apps/Settings/src/com/android/settings/inputmethod/
H A DInputMethodAndLanguageSettings.java186 private void updateInputMethodSelectorSummary(int value) { argument
189 if (inputMethodSelectorTitles.length > value) {
190 mShowInputMethodSelectorPref.setSummary(inputMethodSelectorTitles[value]);
191 mShowInputMethodSelectorPref.setValue(String.valueOf(value));
377 private void saveInputMethodSelectorVisibility(String value) { argument
379 int intValue = Integer.valueOf(value);
394 public boolean onPreferenceChange(Preference preference, Object value) { argument
397 if (value instanceof String) {
398 saveInputMethodSelectorVisibility((String)value);
437 // CAVEAT: The preference class here does not know about the default value
[all...]
/packages/apps/UnifiedEmail/src/com/android/emailcommon/mail/
H A DFolder.java155 public abstract void setFlags(Message[] messages, Flag[] flags, boolean value) argument
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/makedict/
H A DBinaryDictEncoderUtils.java207 static int writeUIntToBuffer(final byte[] buffer, int position, final int value, argument
211 buffer[position++] = (byte) ((value >> 24) & 0xFF);
214 buffer[position++] = (byte) ((value >> 16) & 0xFF);
217 buffer[position++] = (byte) ((value >> 8) & 0xFF);
220 buffer[position++] = (byte) (value & 0xFF);
228 static void writeUIntToStream(final OutputStream stream, final int value, final int size) argument
232 stream.write((value >> 24) & 0xFF);
235 stream.write((value >> 16) & 0xFF);
238 stream.write((value >> 8) & 0xFF);
241 stream.write(value
[all...]

Completed in 1201 milliseconds

1234567891011>>