/frameworks/base/cmds/content/src/com/android/commands/content/ |
H A D | Content.java | 54 * the where clause).</br> 56 * --where "name=\'new_setting\'" 60 * adb shell content delete --uri content://settings/secure --where "name=\'new_setting\'" 63 * # Query \"name\" and \"value\" columns from secure settings where \"name\" is equal to" 66 * --where "name=\'new_setting\'" --sort \"name ASC\" 80 + " <COLUMN_NAME>:<TYPE>:<COLUMN_VALUE> where:\n" 89 + "usage: adb shell content update --uri <URI> [--user <USER_ID>] [--where <WHERE>]\n" 90 + " <WHERE> is a SQL style where clause in quotes (You have to escape single quotes" 95 + " value:s:newer_value --where \"name=\'new_setting\'\"\n" 98 + " [--bind <BINDING>...] [--where <WHER 449 DeleteCommand(Uri uri, int userId, String where) argument 526 QueryCommand( Uri uri, int userId, String[] projection, String where, String sortOrder) argument 590 UpdateCommand(Uri uri, int userId, ContentValues contentValues, String where) argument [all...] |
/frameworks/base/core/java/android/content/ |
H A D | ContentResolver.java | 576 * it to its local non-canonical form. This can be useful in some cases where 1209 maybeLogUpdateToEventLog(durationMillis, url, "insert", null /* where */); 1270 maybeLogUpdateToEventLog(durationMillis, url, "bulkinsert", null /* where */); 1287 * @param where A filter to apply to rows before deleting, formatted as an SQL WHERE clause 1291 public final int delete(Uri url, String where, String[] selectionArgs) argument 1299 int rowsDeleted = provider.delete(mPackageName, url, where, selectionArgs); 1301 maybeLogUpdateToEventLog(durationMillis, url, "delete", where); 1320 * @param where A filter to apply to rows before updating, formatted as an SQL WHERE clause 1325 public final int update(Uri uri, ContentValues values, String where, argument 1333 int rowsUpdated = provider.update(mPackageName, uri, values, where, selectionArg [all...] |
/frameworks/base/core/java/android/database/sqlite/ |
H A D | SQLiteQueryBuilder.java | 183 * @param where A filter declaring which rows to return, formatted as an SQL 202 boolean distinct, String tables, String[] columns, String where, 225 appendClause(query, " WHERE ", where); 449 StringBuilder where = new StringBuilder(); 453 where.append(mWhereClause.toString()); 454 where.append(')'); 460 where.append(" AND "); 463 where.append('('); 464 where.append(selection); 465 where 201 buildQueryString( boolean distinct, String tables, String[] columns, String where, String groupBy, String having, String orderBy, String limit) argument [all...] |
H A D | SqliteWrapper.java | 77 ContentValues values, String where, String[] selectionArgs) { 79 return resolver.update(uri, values, where, selectionArgs); 88 String where, String[] selectionArgs) { 90 return resolver.delete(uri, where, selectionArgs); 76 update(Context context, ContentResolver resolver, Uri uri, ContentValues values, String where, String[] selectionArgs) argument 87 delete(Context context, ContentResolver resolver, Uri uri, String where, String[] selectionArgs) argument
|
/frameworks/base/core/java/android/provider/ |
H A D | Browser.java | 556 * @param where Clause to be used to limit the query from the database. 561 public static final void requestAllIcons(ContentResolver cr, String where, argument
|
H A D | MediaStore.java | 254 * The caller may pass an extra EXTRA_OUTPUT to control where this image will be written. 279 * The caller may pass an extra EXTRA_OUTPUT to control where this image will be written. 304 * where the video is written. If EXTRA_OUTPUT is not present the video will be 762 * The latitude where the image was captured. 768 * The longitude where the image was captured. 814 String where, String orderBy) { 815 return cr.query(uri, projection, where, 1979 * The latitude where the video was captured. 1985 * The longitude where the video was captured. 813 query(ContentResolver cr, Uri uri, String[] projection, String where, String orderBy) argument
|
/frameworks/base/core/java/android/text/ |
H A D | DynamicLayout.java | 189 private void reflow(CharSequence s, int where, int before, int after) { argument 198 int find = TextUtils.lastIndexOf(text, '\n', where - 1); 205 int diff = where - find; 208 where -= diff; 213 int look = TextUtils.indexOf(text, '\n', where + after); 219 int change = look - (where + after); 232 Object[] force = sp.getSpans(where, where + after, 239 if (st < where) { 242 int diff = where 635 reflow(CharSequence s, int where, int before, int after) argument 644 beforeTextChanged(CharSequence s, int where, int before, int after) argument 648 onTextChanged(CharSequence s, int where, int before, int after) argument [all...] |
H A D | Editable.java | 44 * position is preserved even when the entire range where it is 57 * Convenience for replace(where, where, text, start, end) 60 public Editable insert(int where, CharSequence text, int start, int end); argument 63 * Convenience for replace(where, where, text, 0, text.length()); 66 public Editable insert(int where, CharSequence text); argument
|
H A D | Html.java | 619 int where = text.getSpanStart(obj); 623 if (where != len) { 624 text.setSpan(repl, where, len, Spannable.SPAN_EXCLUSIVE_EXCLUSIVE); 662 int where = text.getSpanStart(obj); 666 if (where != len) { 677 where, len, 684 where, len, 691 text.setSpan(new TypefaceSpan(f.mFace), where, len, 707 int where = text.getSpanStart(obj); 711 if (where ! [all...] |
H A D | Layout.java | 792 * This is the location where a new character would be inserted in 811 * This is the location where a new character would be inserted in 1706 int where = ((TabStopSpan) tabs[i]).getTabStop(); 1708 if (where < nh && where > h) 1709 nh = where; 1724 * Returns the same as <code>text.getSpans()</code>, except where
|
H A D | PackedIntVector.java | 291 private final void moveValueGapTo(int column, int where) { argument 296 if (where == valuegap[column]) { 298 } else if (where > valuegap[column]) { 299 for (int i = valuegap[column]; i < where; i++) { 302 } else /* where < valuegap[column] */ { 303 for (int i = where; i < valuegap[column]; i++) { 308 valuegap[column] = where; 314 private final void moveRowGapTo(int where) { argument 315 if (where == mRowGapStart) { 317 } else if (where > mRowGapStar [all...] |
H A D | PackedObjectVector.java | 128 moveRowGapTo(int where) argument 130 if (where == mRowGapStart) 133 if (where > mRowGapStart) 135 int moving = where + mRowGapLength - (mRowGapStart + mRowGapLength); 149 else /* where < mRowGapStart */ 151 int moving = mRowGapStart - where; 153 for (int i = where + moving - 1; i >= where; i--) 155 int destrow = i - where + mRowGapStart + mRowGapLength - moving; 166 mRowGapStart = where; [all...] |
H A D | Selection.java | 24 * A cursor is a selection where the start and end are at the same offset. 348 int where = findEdge(text, layout, -1); 349 extendSelection(text, where); 354 int where = findEdge(text, layout, 1); 355 extendSelection(text, where); 360 int where = findEdge(text, layout, -1); 361 setSelection(text, where); 366 int where = findEdge(text, layout, 1); 367 setSelection(text, where);
|
H A D | SpannableStringBuilder.java | 111 public char charAt(int where) { argument 113 if (where < 0) { 114 throw new IndexOutOfBoundsException("charAt: " + where + " < 0"); 115 } else if (where >= len) { 116 throw new IndexOutOfBoundsException("charAt: " + where + " >= length " + len); 119 if (where >= mGapStart) 120 return mText[where + mGapLength]; 122 return mText[where]; 156 private void moveGapTo(int where) { argument 157 if (where 205 insert(int where, CharSequence tb, int start, int end) argument 210 insert(int where, CharSequence tb) argument [all...] |
H A D | StaticLayout.java | 254 // ok is a character offset located after a word separator (space, tab, number...) where 643 float avail, TextUtils.TruncateAt where, 654 (where == TextUtils.TruncateAt.END_SMALL) ? 661 if (where == TextUtils.TruncateAt.START) { 683 } else if (where == TextUtils.TruncateAt.END || where == TextUtils.TruncateAt.MARQUEE || 684 where == TextUtils.TruncateAt.END_SMALL) { 705 // where = TextUtils.TruncateAt.MIDDLE We only support middle ellipsis on a single line 641 calculateEllipsis(int lineStart, int lineEnd, float[] widths, int widthStart, float avail, TextUtils.TruncateAt where, int line, float textWidth, TextPaint paint, boolean forceEllipsis) argument
|
H A D | TextUtils.java | 635 // "if" instead of "else if" where there are interfaces 849 int where = indexOf(tb, sources[i]); 851 if (where >= 0) 852 tb.setSpan(sources[i], where, where + sources[i].length(), 1068 float avail, TruncateAt where) { 1069 return ellipsize(text, p, avail, where, false, null); 1086 float avail, TruncateAt where, 1089 return ellipsize(text, paint, avail, where, preserveLength, callback, 1091 (where 1066 ellipsize(CharSequence text, TextPaint p, float avail, TruncateAt where) argument 1084 ellipsize(CharSequence text, TextPaint paint, float avail, TruncateAt where, boolean preserveLength, EllipsizeCallback callback) argument 1107 ellipsize(CharSequence text, TextPaint paint, float avail, TruncateAt where, boolean preserveLength, EllipsizeCallback callback, TextDirectionHeuristic textDir, String ellipsis) argument [all...] |
/frameworks/base/core/java/android/text/format/ |
H A D | DateFormat.java | 48 * <p>In cases where the system does not provide a suitable pattern, 236 * where stand-alone months are necessary. Lengths are preserved where meaningful, 238 * {@code ja_JP} where there is only one length of month.
|
/frameworks/base/core/java/android/text/method/ |
H A D | QwertyKeyListener.java | 197 int where = content.getSpanEnd(TextKeyListener.CAPPED); 200 if (where == selStart && (((flags >> 16) & 0xFFFF) == i)) { 411 * @param content the Editable text where the replacement was made
|
/frameworks/base/core/java/android/text/style/ |
H A D | TabStopSpan.java | 41 * @param where the offset of the tab stop from the leading margin of 44 public Standard(int where) { argument 45 mTab = where;
|
/frameworks/base/core/java/android/view/ |
H A D | ViewGroup.java | 413 * Optical bounds describe where a widget appears to be. They sit inside the clip 2385 // If for some reason we ended up in an inconsistent state where it looks like we 2441 * views depending on where each pointer initially went down. This allows for user interactions 2620 * to give a finer grained hint about where focus is coming from. May be null 3615 final View[] where = mChildren; 3619 View v = where[i]; 3642 final View[] where = mChildren; 3646 View v = where[i]; 3669 final View[] where = mChildren; 3673 View v = where[ [all...] |
/frameworks/base/core/java/android/webkit/ |
H A D | WebIconDatabase.java | 54 * @param path The directory path where the icon database will be stored. 79 public abstract void bulkRequestIconForPageUrl(ContentResolver cr, String where, argument
|
/frameworks/base/core/java/android/widget/ |
H A D | GridView.java | 287 * @param nextTop The location where the top of the item associated with pos 360 final int where = flow ? -1 : pos - startPos; 361 child = makeAndAddView(pos, y, flow, nextLeft, selected, where); 387 * @param nextBottom The location where the bottom of the item associated 425 * @param nextTop The location where the top of the first item should be 699 * @param childrenBottom Last pixel where children can be drawn 871 * @param childrenBottom Last pixel where children can be drawn 936 * Keep selection where it was 1411 * @param childrenLeft Left edge where children should be positioned 1413 * @param where t 1416 makeAndAddView(int position, int y, boolean flow, int childrenLeft, boolean selected, int where) argument 1457 setupChild(View child, int position, int y, boolean flow, int childrenLeft, boolean selected, boolean recycled, int where) argument [all...] |
H A D | ListView.java | 332 private void removeFixedViewInfo(View v, ArrayList<FixedViewInfo> where) { argument 333 int len = where.size(); 335 FixedViewInfo info = where.get(i); 337 where.remove(i); 681 * @param nextTop The location where the top of the item associated with pos 716 * @param nextBottom The location where the bottom of the item associated 748 * @param nextTop The location where the top of the first item should be 826 * @param childrenBottom Last pixel where children can be drawn 950 * @param childrenBottom Last pixel where children can be drawn 981 * Try to keep the top of the previously selected item where i 3646 findViewInHeadersOrFooters(ArrayList<FixedViewInfo> where, int id) argument 3692 findViewWithTagInHeadersOrFooters(ArrayList<FixedViewInfo> where, Object tag) argument 3740 findViewByPredicateInHeadersOrFooters(ArrayList<FixedViewInfo> where, Predicate<View> predicate, View childToSkip) argument [all...] |
H A D | TextView.java | 254 * (Useful for devices where the fade can be expensive if overdone) 3044 * {@link URLSpan#getURL} on them to find where they link to 4798 * anti-aliased text where not all the characters are 4829 int where = getSelectionEnd(); 4831 invalidateCursor(where, where, where); 5671 * lines but where it doesn't make sense to insert newlines. 7007 // right where it is most likely to be annoying. 7403 public void setEllipsize(TextUtils.TruncateAt where) { argument [all...] |
/frameworks/base/core/java/com/android/internal/os/ |
H A D | Zygote.java | 110 private static void checkTime(long startTime, String where) { argument 114 Slog.w(TAG, "Slow operation: " + (now-startTime) + "ms so far, now at " + where);
|