Searched refs:where (Results 1 - 25 of 60) sorted by relevance

123

/frameworks/base/core/java/android/text/style/
H A DTabStopSpan.java41 * @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 DPackedIntVector.java295 private final void moveValueGapTo(int column, int where) { argument
300 if (where == valuegap[column]) {
302 } else if (where > valuegap[column]) {
303 for (int i = valuegap[column]; i < where; i++) {
306 } else /* where < valuegap[column] */ {
307 for (int i = where; i < valuegap[column]; i++) {
312 valuegap[column] = where;
318 private final void moveRowGapTo(int where) { argument
319 if (where == mRowGapStart) {
321 } else if (where > mRowGapStar
[all...]
H A DPackedObjectVector.java128 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 DEditable.java46 * cursor position is preserved even when the entire range where it is located
61 * Convenience for replace(where, where, text, start, end)
64 public Editable insert(int where, CharSequence text, int start, int end); argument
67 * Convenience for replace(where, where, text, 0, text.length());
70 public Editable insert(int where, CharSequence text); argument
H A DDynamicLayout.java199 private void reflow(CharSequence s, int where, int before, int after) { argument
208 int find = TextUtils.lastIndexOf(text, '\n', where - 1);
215 int diff = where - find;
218 where -= diff;
223 int look = TextUtils.indexOf(text, '\n', where + after);
229 int change = look - (where + after);
242 Object[] force = sp.getSpans(where, where + after,
249 if (st < where) {
252 int diff = where
746 reflow(CharSequence s, int where, int before, int after) argument
755 beforeTextChanged(CharSequence s, int where, int before, int after) argument
759 onTextChanged(CharSequence s, int where, int before, int after) argument
[all...]
H A DSelection.java24 * 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 DSpannableStringBuilder.java118 public char charAt(int where) { argument
120 if (where < 0) {
121 throw new IndexOutOfBoundsException("charAt: " + where + " < 0");
122 } else if (where >= len) {
123 throw new IndexOutOfBoundsException("charAt: " + where + " >= length " + len);
126 if (where >= mGapStart)
127 return mText[where + mGapLength];
129 return mText[where];
166 private void moveGapTo(int where) { argument
167 if (where
218 insert(int where, CharSequence tb, int start, int end) argument
223 insert(int where, CharSequence tb) argument
[all...]
/frameworks/base/core/tests/coretests/src/android/database/
H A DDatabasePerformanceTests.java268 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 DNewDatabasePerformanceTests.java175 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 DActivityTestsBase.java87 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;
H A DLocalProvider.java154 public int update(Uri url, ContentValues values, String where, String[] whereArgs) { argument
183 public int delete(Uri url, String where, String[] whereArgs) { argument
/frameworks/base/core/java/android/database/sqlite/
H A DSqliteWrapper.java77 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 DSQLiteQueryBuilder.java183 * @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);
438 StringBuilder where = new StringBuilder();
442 where.append(mWhereClause.toString());
443 where.append(')');
449 where.append(" AND ");
452 where.append('(');
453 where.append(selection);
454 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 DWebIconDatabase.java54 * @param path The directory path where the icon database will be stored.
79 public abstract void bulkRequestIconForPageUrl(ContentResolver cr, String where, argument
/frameworks/opt/telephony/src/java/com/google/android/mms/util/
H A DSqliteWrapper.java89 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/core/tests/coretests/src/android/app/
H A DSuggestionProvider.java97 public int update(Uri url, ContentValues values, String where, String[] whereArgs) { argument
107 public int delete(Uri url, String where, String[] whereArgs) { argument
/frameworks/base/cmds/content/src/com/android/commands/content/
H A DContent.java56 * the where clause).</br>
58 * --where "name=\'new_setting\'"
62 * adb shell content delete --uri content://settings/secure --where "name=\'new_setting\'"
65 * # Query \"name\" and \"value\" columns from secure settings where \"name\" is equal to"
68 * --where "name=\'new_setting\'" --sort \"name ASC\"
82 + " <COLUMN_NAME>:<TYPE>:<COLUMN_VALUE> where:\n"
91 + "usage: adb shell content update --uri <URI> [--user <USER_ID>] [--where <WHERE>]\n"
92 + " <WHERE> is a SQL style where clause in quotes (You have to escape single quotes"
97 + " value:s:newer_value --where \"name=\'new_setting\'\"\n"
100 + " [--bind <BINDING>...] [--where <WHER
495 DeleteCommand(Uri uri, int userId, String where) argument
584 QueryCommand( Uri uri, int userId, String[] projection, String where, String sortOrder) argument
649 UpdateCommand(Uri uri, int userId, ContentValues contentValues, String where) argument
[all...]
/frameworks/base/media/java/android/mtp/
H A DMtpPropertyGroup.java302 String where;
307 where = null;
312 where = PARENT_WHERE;
314 where = ID_WHERE;
320 where = FORMAT_WHERE;
325 where = PARENT_FORMAT_WHERE;
327 where = ID_FORMAT_WHERE;
336 c = mProvider.query(mUri, mColumns, where, whereArgs, null, null);
H A DMtpDatabase.java69 // where clause for restricting queries to files in mSubDirectories
71 // where arguments for restricting queries to files in mSubDirectories
177 // Compute "where" string for restricting queries to subdirectories
191 // Compute "where" arguments for restricting queries to subdirectories
422 String where;
431 where = null;
438 where = PARENT_WHERE;
445 where = FORMAT_WHERE;
452 where = FORMAT_PARENT_WHERE;
463 where
[all...]
/frameworks/support/frameworks/support/samples/Support4Demos/src/com/example/android/supportv4/app/
H A DLoaderThrottleSupport.java306 public int delete(Uri uri, String where, String[] whereArgs) { argument
314 // If URI is main table, delete uses incoming where clause and args.
315 count = db.delete(MainTable.TABLE_NAME, where, whereArgs);
319 // incoming data, but modifies the where clause to restrict it to the
325 MainTable._ID + " = " + ContentUris.parseId(uri), where);
342 public int update(Uri uri, ContentValues values, String where, String[] whereArgs) { argument
349 // If URI is main table, update uses incoming where clause and args.
350 count = db.update(MainTable.TABLE_NAME, values, where, whereArgs);
357 MainTable._ID + " = " + ContentUris.parseId(uri), where);
/frameworks/support/samples/Support4Demos/src/com/example/android/supportv4/app/
H A DLoaderThrottleSupport.java306 public int delete(Uri uri, String where, String[] whereArgs) { argument
314 // If URI is main table, delete uses incoming where clause and args.
315 count = db.delete(MainTable.TABLE_NAME, where, whereArgs);
319 // incoming data, but modifies the where clause to restrict it to the
325 MainTable._ID + " = " + ContentUris.parseId(uri), where);
342 public int update(Uri uri, ContentValues values, String where, String[] whereArgs) { argument
349 // If URI is main table, update uses incoming where clause and args.
350 count = db.update(MainTable.TABLE_NAME, values, where, whereArgs);
357 MainTable._ID + " = " + ContentUris.parseId(uri), where);
/frameworks/av/media/libmediaplayerservice/nuplayer/
H A DNuPlayerDriver.h140 void updateMetrics(const char *where);
141 void logMetrics(const char *where);
/frameworks/base/core/tests/coretests/src/android/content/
H A DMemoryFileProvider.java163 public int update(Uri url, ContentValues values, String where, String[] whereArgs) { argument
173 public int delete(Uri url, String where, String[] whereArgs) { argument
/frameworks/rs/cpp/util/
H A DTypeHelpers.h163 void splat_type(TYPE* where, const TYPE* what, size_t n) { argument
166 new(where) TYPE(*what);
167 where++;
171 *where++ = *what;
/frameworks/support/
H A DAndroid.mk40 ## Find all of the files under the named directories where
51 ## Find all of the files under the current directory where

Completed in 8097 milliseconds

123