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

123

/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.java182 * like Burmese or Tibetan where text is typically much taller or deeper than Latin text.
498 public void reflow(CharSequence s, int where, int before, int after) { argument
507 int find = TextUtils.lastIndexOf(text, '\n', where - 1);
514 int diff = where - find;
517 where -= diff;
522 int look = TextUtils.indexOf(text, '\n', where + after);
528 int change = look - (where + after);
541 Object[] force = sp.getSpans(where, where + after,
548 if (st < where) {
1070 reflow(CharSequence s, int where, int before, int after) argument
1080 beforeTextChanged(CharSequence s, int where, int before, int after) argument
1084 onTextChanged(CharSequence s, int where, int before, int after) argument
[all...]
H A DSelection.java26 * A cursor is a selection where the start and end are at the same offset.
419 int where = findEdge(text, layout, -1);
420 extendSelection(text, where);
425 int where = findEdge(text, layout, 1);
426 extendSelection(text, where);
431 int where = findEdge(text, layout, -1);
432 setSelection(text, where);
437 int where = findEdge(text, layout, 1);
438 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/proto/android/server/
H A Dwindowmanagertrace.proto48 /* where the trace originated */
49 optional string where = 2;
/frameworks/native/services/surfaceflinger/layerproto/
H A Dlayerstrace.proto47 /* where the trace originated */
48 optional string where = 2;
/frameworks/native/services/surfaceflinger/
H A DSurfaceTracing.h37 void traceLayers(const char* where, LayersProto);
H A DSurfaceTracing.cpp59 void SurfaceTracing::traceLayers(const char* where, LayersProto layers) { argument
64 entry->set_where(where);
/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/base/packages/SystemUI/src/com/android/systemui/statusbar/
H A DNotificationPresenter.java81 * @param where which view caused this wake up request
83 void wakeUpIfDozing(long time, View 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
518 DeleteCommand(Uri uri, int userId, String where) argument
610 QueryCommand( Uri uri, int userId, String[] projection, String where, String sortOrder) argument
675 UpdateCommand(Uri uri, int userId, ContentValues contentValues, String where) argument
[all...]
/frameworks/support/frameworks/support/samples/Support4Demos/src/main/java/com/example/android/supportv4/app/
H A DLoaderThrottleSupport.java308 public int delete(Uri uri, String where, String[] whereArgs) { argument
316 // If URI is main table, delete uses incoming where clause and args.
317 count = db.delete(MainTable.TABLE_NAME, where, whereArgs);
321 // incoming data, but modifies the where clause to restrict it to the
327 MainTable._ID + " = " + ContentUris.parseId(uri), where);
344 public int update(Uri uri, ContentValues values, String where, String[] whereArgs) { argument
351 // If URI is main table, update uses incoming where clause and args.
352 count = db.update(MainTable.TABLE_NAME, values, where, whereArgs);
359 MainTable._ID + " = " + ContentUris.parseId(uri), where);
/frameworks/support/samples/Support4Demos/src/main/java/com/example/android/supportv4/app/
H A DLoaderThrottleSupport.java308 public int delete(Uri uri, String where, String[] whereArgs) { argument
316 // If URI is main table, delete uses incoming where clause and args.
317 count = db.delete(MainTable.TABLE_NAME, where, whereArgs);
321 // incoming data, but modifies the where clause to restrict it to the
327 MainTable._ID + " = " + ContentUris.parseId(uri), where);
344 public int update(Uri uri, ContentValues values, String where, String[] whereArgs) { argument
351 // If URI is main table, update uses incoming where clause and args.
352 count = db.update(MainTable.TABLE_NAME, values, where, whereArgs);
359 MainTable._ID + " = " + ContentUris.parseId(uri), where);
/frameworks/support/room/compiler/src/test/kotlin/androidx/room/processor/
H A DQueryMethodProcessorTest.kt120 @Query("SELECT * from User where uid = :x")
138 @Query("SELECT * from User where uid in (:ids)")
157 @Query("SELECT uid from User where uid = :id")
172 @Query("SELECT uid from User where uid = :id")
188 @Query("SELECT uid from User where uid = :id OR uid = :id")
206 @Query("SELECT uid from User where uid = :id OR uid = :uid")
227 @Query("SELECT uid from User where name = :bar AND uid = :id OR uid = :uid")
250 @Query("SELECT uid from User where name = :bar")
267 @Query("select * from User where uid = :_blah")
365 @Query("select COUNT(*) from User where
[all...]
/frameworks/av/media/libmediaplayerservice/nuplayer/
H A DNuPlayerDriver.h152 void updateMetrics(const char *where);
153 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;

Completed in 8080 milliseconds

123