/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/text/ |
H A D | PackedIntVector.java | 290 private final void moveValueGapTo(int column, int where) { argument 295 if (where == valuegap[column]) { 297 } else if (where > valuegap[column]) { 298 for (int i = valuegap[column]; i < where; i++) { 301 } else /* where < valuegap[column] */ { 302 for (int i = where; i < valuegap[column]; i++) { 307 valuegap[column] = where; 313 private final void moveRowGapTo(int where) { argument 314 if (where == mRowGapStart) { 316 } else if (where > mRowGapStar [all...] |
H A D | PackedObjectVector.java | 127 moveRowGapTo(int where) argument 129 if (where == mRowGapStart) 132 if (where > mRowGapStart) 134 int moving = where + mRowGapLength - (mRowGapStart + mRowGapLength); 148 else /* where < mRowGapStart */ 150 int moving = mRowGapStart - where; 152 for (int i = where + moving - 1; i >= where; i--) 154 int destrow = i - where + mRowGapStart + mRowGapLength - moving; 165 mRowGapStart = where; [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 | DynamicLayout.java | 188 private void reflow(CharSequence s, int where, int before, int after) { argument 197 int find = TextUtils.lastIndexOf(text, '\n', where - 1); 204 int diff = where - find; 207 where -= diff; 212 int look = TextUtils.indexOf(text, '\n', where + after); 218 int change = look - (where + after); 231 Object[] force = sp.getSpans(where, where + after, 238 if (st < where) { 241 int diff = where 617 reflow(CharSequence s, int where, int before, int after) argument 626 beforeTextChanged(CharSequence s, int where, int before, int after) argument 630 onTextChanged(CharSequence s, int where, int before, int after) argument [all...] |
H A D | SpannableStringBuilder.java | 109 public char charAt(int where) { argument 111 if (where < 0) { 112 throw new IndexOutOfBoundsException("charAt: " + where + " < 0"); 113 } else if (where >= len) { 114 throw new IndexOutOfBoundsException("charAt: " + where + " >= length " + len); 117 if (where >= mGapStart) 118 return mText[where + mGapLength]; 120 return mText[where]; 152 private void moveGapTo(int where) { argument 153 if (where 201 insert(int where, CharSequence tb, int start, int end) argument 206 insert(int where, CharSequence tb) argument [all...] |
H A D | Selection.java | 24 * A cursor is a selection where the start and end are at the same offset. 339 int where = findEdge(text, layout, -1); 340 extendSelection(text, where); 345 int where = findEdge(text, layout, 1); 346 extendSelection(text, where); 351 int where = findEdge(text, layout, -1); 352 setSelection(text, where); 357 int where = findEdge(text, layout, 1); 358 setSelection(text, where);
|
H A D | Html.java | 612 int where = text.getSpanStart(obj); 616 if (where != len) { 617 text.setSpan(repl, where, len, Spannable.SPAN_EXCLUSIVE_EXCLUSIVE); 657 int where = text.getSpanStart(obj); 661 if (where != len) { 672 where, len, 679 where, len, 686 text.setSpan(new TypefaceSpan(f.mFace), where, len, 702 int where = text.getSpanStart(obj); 706 if (where ! [all...] |
/frameworks/native/libs/utils/ |
H A D | VectorImpl.cpp | 123 void* where = _grow(index, length); local 124 if (where) { 125 _do_copy(where, array, length); 127 return where ? index : (ssize_t)NO_MEMORY; 144 void* where = _grow(index, numItems); local 145 if (where) { 147 _do_splat(where, item, numItems); 149 _do_construct(where, numItems); 152 return where ? index : (ssize_t)NO_MEMORY; 357 void* VectorImpl::_grow(size_t where, size_ [all...] |
/frameworks/base/core/tests/coretests/src/android/database/ |
H A D | DatabasePerformanceTests.java | 268 private String[] where = new String[SIZE]; field in class:DatabasePerformanceTests.Perf3Test 287 where[i] = "b >= " + lower + " AND b < " + upper; 295 .query("t1", COLUMNS, where[i], null, null, null, null); 308 private String[] where = new String[SIZE]; field in class:DatabasePerformanceTests.Perf4Test 325 where[i] = "c LIKE '" + numberName(i) + "'"; 333 .query("t1", COLUMNS, where[i], null, null, null, null); 346 private String[] where = new String[SIZE]; field in class:DatabasePerformanceTests.Perf5Test 366 where[i] = "b >= " + lower + " AND b < " + upper; 374 .query("t1", COLUMNS, where[i], null, null, null, null); 505 private String[] where field in class:DatabasePerformanceTests.Perf9Test 557 private String[] where = new String[SIZE]; field in class:DatabasePerformanceTests.Perf10Test 596 private String[] where = new String[SIZE]; field in class:DatabasePerformanceTests.Perf11Test 630 private String[] where = new String[SIZE]; field in class:DatabasePerformanceTests.Perf12Test 729 private String[] where = new String[SIZE]; field in class:DatabasePerformanceTests.Perf15Test 834 private String[] where = new String[SIZE]; field in class:DatabasePerformanceTests.Perf18Test 871 private String[] where = new String[SIZE]; field in class:DatabasePerformanceTests.Perf19Test 909 private String[] where = new String[SIZE]; field in class:DatabasePerformanceTests.Perf20Test 953 private String[] where = new String[SIZE]; field in class:DatabasePerformanceTests.Perf21Test 1127 private String[] where = new String[SIZE]; field in class:DatabasePerformanceTests.Perf26Test 1165 private String[] where = new String[SIZE]; field in class:DatabasePerformanceTests.Perf27Test 1204 private String[] where = new String[SIZE]; field in class:DatabasePerformanceTests.Perf28Test 1238 private String[] where = new String[SIZE]; field in class:DatabasePerformanceTests.Perf29Test 1276 private String[] where = new String[SIZE]; field in class:DatabasePerformanceTests.Perf30Test 1313 private String[] where = new String[SIZE]; field in class:DatabasePerformanceTests.Perf31Test [all...] |
H A D | NewDatabasePerformanceTests.java | 175 private String[] where = new String[SIZE]; field in class:NewDatabasePerformanceTests.Select100 194 where[i] = "b >= " + lower + " AND b < " + upper; 201 .query("t1", COLUMNS, where[i], null, null, null, null); 214 private String[] where = new String[SIZE]; field in class:NewDatabasePerformanceTests.SelectStringComparison100 231 where[i] = "c LIKE '" + numberName(i) + "'"; 238 .query("t1", COLUMNS, where[i], null, null, null, null); 251 private String[] where = new String[SIZE]; field in class:NewDatabasePerformanceTests.SelectIndex100 271 where[i] = "b >= " + lower + " AND b < " + upper; 278 .query("t1", COLUMNS, where[i], null, null, null, null); 406 private String[] where field in class:NewDatabasePerformanceTests.SelectSubQIndex100 457 private String[] where = new String[SIZE]; field in class:NewDatabasePerformanceTests.SelectIndexStringComparison100 620 private String[] where = new String[SIZE]; field in class:NewDatabasePerformanceTests.SelectStringStartsWith100 720 private String[] where = new String[SIZE]; field in class:NewDatabasePerformanceTests.DeleteWhere1000 756 private String[] where = new String[SIZE]; field in class:NewDatabasePerformanceTests.DeleteIndexWhere1000 793 private String[] where = new String[SIZE]; field in class:NewDatabasePerformanceTests.UpdateIndexWhere1000 836 private String[] where = new String[SIZE]; field in class:NewDatabasePerformanceTests.UpdateWhere1000 1005 private String[] where = new String[SIZE]; field in class:NewDatabasePerformanceTests.SelectStringStartsWith10000 1043 private String[] where = new String[SIZE]; field in class:NewDatabasePerformanceTests.SelectStringIndexedStartsWith10000 1081 private String[] where = new String[SIZE]; field in class:NewDatabasePerformanceTests.SelectInteger10000 1114 private String[] where = new String[SIZE]; field in class:NewDatabasePerformanceTests.SelectIntegerIndexed10000 1151 private String[] where = new String[SIZE]; field in class:NewDatabasePerformanceTests.SelectStringContains10000 1188 private String[] where = new String[SIZE]; field in class:NewDatabasePerformanceTests.SelectStringIndexedContains10000 [all...] |
/frameworks/base/core/tests/coretests/src/android/app/activity/ |
H A D | ActivityTestsBase.java | 87 public void activityFinished(int resultCode, Intent data, RuntimeException where) { argument 88 finishWithResult(resultCode, data, where); 113 RuntimeException where = new RuntimeException("Original error was here"); 114 where.fillInStackTrace(); 115 finishWithResult(resultCode, data, where); 118 public void finishWithResult(int resultCode, Intent data, RuntimeException where) { argument 123 mResultStack = where;
|
/frameworks/base/core/java/android/database/sqlite/ |
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
|
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...] |
/frameworks/base/core/java/android/webkit/ |
H A D | WebIconDatabase.java | 45 * @param path The directory path where the icon database will be stored. 77 public void bulkRequestIconForPageUrl(ContentResolver cr, String where, argument
|
H A D | WebIconDatabaseClassic.java | 145 String where = (String) map.get("where"); 152 where, null, null); 217 public void bulkRequestIconForPageUrl(ContentResolver cr, String where, argument 231 map.put("where", where);
|
/frameworks/opt/mms/src/java/com/google/android/mms/util/ |
H A D | SqliteWrapper.java | 89 ContentValues values, String where, String[] selectionArgs) { 91 return resolver.update(uri, values, where, selectionArgs); 100 String where, String[] selectionArgs) { 102 return resolver.delete(uri, where, selectionArgs); 88 update(Context context, ContentResolver resolver, Uri uri, ContentValues values, String where, String[] selectionArgs) argument 99 delete(Context context, ContentResolver resolver, Uri uri, String where, String[] selectionArgs) argument
|
/frameworks/base/cmds/content/src/com/android/commands/content/ |
H A D | Content.java | 45 * the where clause).</br> 47 * --where "name=\'new_setting\'" 51 * adb shell content delete --uri content://settings/secure --where "name=\'new_setting\'" 54 * # Query \"name\" and \"value\" columns from secure settings where \"name\" is equal to" 57 * --where "name=\'new_setting\'" --sort \"name ASC\" 71 + " <COLUMN_NAME>:<TYPE>:<COLUMN_VALUE> where:\n" 80 + "usage: adb shell content update --uri <URI> [--user <USER_ID>] [--where <WHERE>]\n" 81 + " <WHERE> is a SQL style where clause in quotes (You have to escape single quotes" 86 + " value:s:newer_value --where \"name=\\'new_setting\\'\"\n" 89 + " [--bind <BINDING>...] [--where <WHER 368 DeleteCommand(Uri uri, int userId, String where) argument 383 QueryCommand( Uri uri, int userId, String[] projection, String where, String sortOrder) argument 447 UpdateCommand(Uri uri, int userId, ContentValues contentValues, String where) argument [all...] |
/frameworks/base/libs/hwui/utils/ |
H A D | SortedListImpl.h | 56 ssize_t insertAt(size_t where, size_t numItems = 1); 57 ssize_t insertAt(const void* item, size_t where, size_t numItems = 1);
|
/frameworks/compile/libbcc/runtime/BlocksRuntime/ |
H A D | runtime.c | 104 static unsigned long int latching_incr_long(unsigned long int *where) { 106 unsigned long int old_value = *(volatile unsigned long int *)where; 110 if (OSAtomicCompareAndSwapLong(old_value, old_value+1, (volatile long int *)where)) { 117 static int latching_incr_int(int *where) { argument 119 int old_value = *(volatile int *)where; 123 if (OSAtomicCompareAndSwapInt(old_value, old_value+1, (volatile int *)where)) { 130 static int latching_decr_long(unsigned long int *where) { 132 unsigned long int old_value = *(volatile int *)where; 139 if (OSAtomicCompareAndSwapLong(old_value, old_value-1, (volatile long int *)where)) { 146 static int latching_decr_int(int *where) { argument [all...] |
/frameworks/base/core/tests/coretests/src/android/app/ |
H A D | SuggestionProvider.java | 97 public int update(Uri url, ContentValues values, String where, String[] whereArgs) { argument 107 public int delete(Uri url, String where, String[] whereArgs) { argument
|
/frameworks/native/include/utils/ |
H A D | VectorImpl.h | 75 ssize_t insertAt(size_t where, size_t numItems = 1); 76 ssize_t insertAt(const void* item, size_t where, size_t numItems = 1); 119 void* _grow(size_t where, size_t amount); 120 void _shrink(size_t where, size_t amount); 152 //! finds where this item should be inserted 191 ssize_t insertAt(size_t where, size_t numItems = 1); 192 ssize_t insertAt(const void* item, size_t where, size_t numItems = 1);
|
/frameworks/base/media/java/android/mtp/ |
H A D | MtpPropertyGroup.java | 292 String where; 297 where = null; 302 where = PARENT_WHERE; 304 where = ID_WHERE; 310 where = FORMAT_WHERE; 315 where = PARENT_FORMAT_WHERE; 317 where = ID_FORMAT_WHERE; 326 c = mProvider.query(mUri, mColumns, where, whereArgs, null, null);
|
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/ |
H A D | SettingsProvider.java | 132 public final String where; field in class:SettingsProvider.SqlArguments 136 SqlArguments(Uri url, String where, String[] args) { argument 138 // of the form content://settings/secure, arbitrary where clause 143 this.where = where; 147 } else if (!TextUtils.isEmpty(where)) { 150 // of the form content://settings/secure/element_name, no where clause 157 this.where = Settings.NameValueTable.NAME + "=?"; 168 this.where = "_id=" + ContentUris.parseId(url); 174 /** Insert new rows (no where claus 656 query(Uri url, String[] select, String where, String[] whereArgs, String sort) argument 660 queryForUser(Uri url, String[] select, String where, String[] whereArgs, String sort, int forUser) argument 897 delete(Uri url, String where, String[] whereArgs) argument 926 update(Uri url, ContentValues initialValues, String where, String[] whereArgs) argument [all...] |
/frameworks/compile/libbcc/runtime/make/ |
H A D | lib_info.mk | 14 # AvailableIn.<function> - The list of subdir keys where 'function' is 41 # Compute lists of where each function is available.
|