Searched defs:replace (Results 1 - 17 of 17) sorted by relevance

/frameworks/base/core/java/android/text/
H A DEditable.java48 public Editable replace(int st, int en, CharSequence source, int start, int end); method in interface:Editable
51 * Convenience for replace(st, en, text, 0, text.length())
52 * @see #replace(int, int, CharSequence, int, int)
54 public Editable replace(int st, int en, CharSequence text); method in interface:Editable
57 * Convenience for replace(where, where, text, start, end)
58 * @see #replace(int, int, CharSequence, int, int)
63 * Convenience for replace(where, where, text, 0, text.length());
64 * @see #replace(int, int, CharSequence, int, int)
69 * Convenience for replace(st, en, "", 0, 0)
70 * @see #replace(in
[all...]
H A DSpannableStringBuilder.java206 return replace(where, where, tb, start, end);
211 return replace(where, where, tb, 0, tb.length());
216 SpannableStringBuilder ret = replace(start, end, "", 0, 0);
226 replace(0, length(), "", 0, 0);
251 return replace(length, length, text, 0, text.length());
257 return replace(length, length, text, start, end);
271 checkRange("replace", start, end);
419 public SpannableStringBuilder replace(int start, int end, CharSequence tb) { method in class:SpannableStringBuilder
420 return replace(start, end, tb, 0, tb.length());
424 public SpannableStringBuilder replace(fina method in class:SpannableStringBuilder
[all...]
H A DTextUtils.java799 public static CharSequence replace(CharSequence template, method in class:TextUtils
817 tb.replace(start, end, destinations[i]);
873 ssb.replace(i, i+2, values[which]);
/frameworks/base/core/java/com/android/internal/widget/multiwaveview/
H A DTweener.java106 replace(props, object); // Cancel all animators for given object
161 private static void replace(ArrayList<PropertyValuesHolder> props, Object... args) { method in class:Tweener
/frameworks/base/core/java/android/app/
H A DFragmentTransaction.java41 * Calls {@link #replace(int, Fragment, String)} with a null tag.
43 public abstract FragmentTransaction replace(int containerViewId, Fragment fragment); method in class:FragmentTransaction
61 public abstract FragmentTransaction replace(int containerViewId, Fragment fragment, String tag); method in class:FragmentTransaction
H A DBackStackRecord.java373 public FragmentTransaction replace(int containerViewId, Fragment fragment) { method in class:BackStackRecord
374 return replace(containerViewId, fragment, null);
377 public FragmentTransaction replace(int containerViewId, Fragment fragment, String tag) { method in class:BackStackRecord
/frameworks/base/core/java/android/text/method/
H A DCharacterPickerDialog.java93 private void replaceCharacterAndClose(CharSequence replace) { argument
96 mText.insert(selEnd, replace);
98 mText.replace(selEnd - 1, selEnd, replace);
/frameworks/base/core/java/com/android/internal/widget/
H A DDrawableHolder.java68 * @param replace if true, replace the current animation with this one.
71 String property, float toValue, boolean replace) {
73 if (replace) removeAnimationFor(property);
79 this.addAnimation(anim, replace);
70 addAnimTo(long duration, long delay, String property, float toValue, boolean replace) argument
/frameworks/support/v4/java/android/support/v4/app/
H A DFragmentTransaction.java55 * Calls {@link #replace(int, Fragment, String)} with a null tag.
57 public abstract FragmentTransaction replace(int containerViewId, Fragment fragment); method in class:FragmentTransaction
75 public abstract FragmentTransaction replace(int containerViewId, Fragment fragment, String tag); method in class:FragmentTransaction
H A DBackStackRecord.java373 public FragmentTransaction replace(int containerViewId, Fragment fragment) { method in class:BackStackRecord
374 return replace(containerViewId, fragment, null);
377 public FragmentTransaction replace(int containerViewId, Fragment fragment, String tag) { method in class:BackStackRecord
/frameworks/base/core/tests/hosttests/src/android/content/pm/
H A DPackageManagerHostTestUtils.java219 public void installFile(final String localFilePath, final boolean replace) throws IOException, argument
221 String result = mDevice.installPackage(localFilePath, replace);
233 public String installFileFail(final String localFilePath, final boolean replace) argument
235 String result = mDevice.installPackage(localFilePath, replace);
252 public String installFileForwardLocked(final String localFilePath, final boolean replace) argument
257 String cmd = String.format(replace ? "pm install -r -l \"%1$s\"" :
/frameworks/base/core/java/android/database/
H A DDatabaseUtils.java1185 * Execute the previously prepared insert or replace using the bound values
1189 * way to use this class is to call insert() or replace().
1200 if (LOCAL_LOGV) Log.v(TAG, "--- doing insert or replace in table " + mTableName);
1228 * Prepare the InsertHelper for a replace. The pattern for this is:
1254 public long replace(ContentValues values) { method in class:DatabaseUtils.InsertHelper
/frameworks/base/core/java/android/database/sqlite/
H A DSQLiteDatabase.java1623 * @param table the table in which to replace the row
1635 public long replace(String table, String nullColumnHack, ContentValues initialValues) { method in class:SQLiteDatabase
1648 * @param table the table in which to replace the row
/frameworks/base/tools/aapt/
H A DResourceTable.cpp1700 bool replace, bool isId)
1751 if (overlay && replace) {
1766 bool replace, bool isId, const int32_t format)
1784 sp<Entry> e = getEntry(package, type, name, sourcePos, replace, params);
1795 status_t err = e->addToBag(sourcePos, bagKey, value, style, replace, isId, format);
3018 bool replace, bool isId, int32_t format)
3032 if (!replace) {
1693 startBag(const SourcePos& sourcePos, const String16& package, const String16& type, const String16& name, const String16& bagParent, const ResTable_config* params, bool overlay, bool replace, bool isId) argument
1757 addBag(const SourcePos& sourcePos, const String16& package, const String16& type, const String16& name, const String16& bagParent, const String16& bagKey, const String16& value, const Vector<StringPool::entry_style_span>* style, const ResTable_config* params, bool replace, bool isId, const int32_t format) argument
3015 addToBag(const SourcePos& sourcePos, const String16& key, const String16& value, const Vector<StringPool::entry_style_span>* style, bool replace, bool isId, int32_t format) argument
/frameworks/base/core/java/android/webkit/
H A DWebViewCore.java565 int oldStart, int oldEnd, String replace, int newStart, int newEnd,
564 nativeReplaceTextfieldText( int oldStart, int oldEnd, String replace, int newStart, int newEnd, int textGeneration) argument
H A DWebView.java3994 * requests. This will replace the current handler.
4014 * the rendering engine, and should be downloaded instead. This will replace
4026 * This will replace the current handler.
7796 String replace, int newStart, int newEnd) {
7798 arg.mReplace = replace;
9004 // of date) state does not replace the new, valid state.
7795 replaceTextfieldText(int oldStart, int oldEnd, String replace, int newStart, int newEnd) argument
/frameworks/base/services/java/com/android/server/pm/
H A DPackageManagerService.java3336 + " renamed to replace old package " + pkgSetting.name;
4109 boolean replace, boolean replaceAll) {
4174 // replace the granted permissions of the system packages.
4184 grantPermissionsLPw(pkgInfo, replace);
4188 private void grantPermissionsLPw(PackageParser.Package pkg, boolean replace) { argument
4196 if (replace) {
4325 if ((changedPermission || replace) && !ps.permissionsFixed &&
6601 boolean replace = false;
6668 replace = true;
6671 // on the device; we should replace i
4107 updatePermissionsLPw(String changingPkg, PackageParser.Package pkgInfo, boolean grantPermissions, boolean replace, boolean replaceAll) argument
[all...]

Completed in 698 milliseconds