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

12

/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.java290 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 DDynamicLayout.java187 private void reflow(CharSequence s, int where, int before, int after) { argument
196 int find = TextUtils.lastIndexOf(text, '\n', where - 1);
203 int diff = where - find;
206 where -= diff;
211 int look = TextUtils.indexOf(text, '\n', where + after);
217 int change = look - (where + after);
230 Object[] force = sp.getSpans(where, where + after,
237 if (st < where) {
240 int diff = where
421 reflow(CharSequence s, int where, int before, int after) argument
430 beforeTextChanged(CharSequence s, int where, int before, int after) argument
433 onTextChanged(CharSequence s, int where, int before, int after) argument
[all...]
H A DPackedObjectVector.java127 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 DEditable.java44 * 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 DSpannableStringBuilder.java106 public char charAt(int where) { argument
108 if (where < 0) {
109 throw new IndexOutOfBoundsException("charAt: " + where + " < 0");
110 } else if (where >= len) {
111 throw new IndexOutOfBoundsException("charAt: " + where + " >= length " + len);
114 if (where >= mGapStart)
115 return mText[where + mGapLength];
117 return mText[where];
152 private void moveGapTo(int where) { argument
153 if (where
205 insert(int where, CharSequence tb, int start, int end) argument
210 insert(int where, CharSequence tb) argument
[all...]
H A DSelection.java24 * 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 DHtml.java588 int where = text.getSpanStart(obj);
592 if (where != len) {
593 text.setSpan(repl, where, len, Spannable.SPAN_EXCLUSIVE_EXCLUSIVE);
633 int where = text.getSpanStart(obj);
637 if (where != len) {
648 where, len,
655 where, len,
662 text.setSpan(new TypefaceSpan(f.mFace), where, len,
678 int where = text.getSpanStart(obj);
682 if (where !
[all...]
/frameworks/base/libs/utils/
H A DVectorImpl.cpp123 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;
347 void* VectorImpl::_grow(size_t where, size_
[all...]
/frameworks/base/core/tests/coretests/src/android/database/
H A DDatabasePerformanceTests.java267 private String[] where = new String[SIZE]; field in class:DatabasePerformanceTests.Perf3Test
286 where[i] = "b >= " + lower + " AND b < " + upper;
294 .query("t1", COLUMNS, where[i], null, null, null, null);
307 private String[] where = new String[SIZE]; field in class:DatabasePerformanceTests.Perf4Test
324 where[i] = "c LIKE '" + numberName(i) + "'";
332 .query("t1", COLUMNS, where[i], null, null, null, null);
345 private String[] where = new String[SIZE]; field in class:DatabasePerformanceTests.Perf5Test
365 where[i] = "b >= " + lower + " AND b < " + upper;
373 .query("t1", COLUMNS, where[i], null, null, null, null);
504 private String[] where field in class:DatabasePerformanceTests.Perf9Test
556 private String[] where = new String[SIZE]; field in class:DatabasePerformanceTests.Perf10Test
595 private String[] where = new String[SIZE]; field in class:DatabasePerformanceTests.Perf11Test
629 private String[] where = new String[SIZE]; field in class:DatabasePerformanceTests.Perf12Test
728 private String[] where = new String[SIZE]; field in class:DatabasePerformanceTests.Perf15Test
833 private String[] where = new String[SIZE]; field in class:DatabasePerformanceTests.Perf18Test
870 private String[] where = new String[SIZE]; field in class:DatabasePerformanceTests.Perf19Test
908 private String[] where = new String[SIZE]; field in class:DatabasePerformanceTests.Perf20Test
952 private String[] where = new String[SIZE]; field in class:DatabasePerformanceTests.Perf21Test
1126 private String[] where = new String[SIZE]; field in class:DatabasePerformanceTests.Perf26Test
1164 private String[] where = new String[SIZE]; field in class:DatabasePerformanceTests.Perf27Test
1203 private String[] where = new String[SIZE]; field in class:DatabasePerformanceTests.Perf28Test
1237 private String[] where = new String[SIZE]; field in class:DatabasePerformanceTests.Perf29Test
1275 private String[] where = new String[SIZE]; field in class:DatabasePerformanceTests.Perf30Test
1312 private String[] where = new String[SIZE]; field in class:DatabasePerformanceTests.Perf31Test
[all...]
H A DNewDatabasePerformanceTests.java176 private String[] where = new String[SIZE]; field in class:NewDatabasePerformanceTests.Select100
195 where[i] = "b >= " + lower + " AND b < " + upper;
202 .query("t1", COLUMNS, where[i], null, null, null, null);
215 private String[] where = new String[SIZE]; field in class:NewDatabasePerformanceTests.SelectStringComparison100
232 where[i] = "c LIKE '" + numberName(i) + "'";
239 .query("t1", COLUMNS, where[i], null, null, null, null);
252 private String[] where = new String[SIZE]; field in class:NewDatabasePerformanceTests.SelectIndex100
272 where[i] = "b >= " + lower + " AND b < " + upper;
279 .query("t1", COLUMNS, where[i], null, null, null, null);
407 private String[] where field in class:NewDatabasePerformanceTests.SelectSubQIndex100
458 private String[] where = new String[SIZE]; field in class:NewDatabasePerformanceTests.SelectIndexStringComparison100
496 private String[] where = new String[SIZE]; field in class:NewDatabasePerformanceTests.SelectInteger100
529 private String[] where = new String[SIZE]; field in class:NewDatabasePerformanceTests.SelectString100
625 private String[] where = new String[SIZE]; field in class:NewDatabasePerformanceTests.SelectStringStartsWith100
727 private String[] where = new String[SIZE]; field in class:NewDatabasePerformanceTests.DeleteWhere1000
763 private String[] where = new String[SIZE]; field in class:NewDatabasePerformanceTests.DeleteIndexWhere1000
800 private String[] where = new String[SIZE]; field in class:NewDatabasePerformanceTests.UpdateIndexWhere1000
843 private String[] where = new String[SIZE]; field in class:NewDatabasePerformanceTests.UpdateWhere1000
1012 private String[] where = new String[SIZE]; field in class:NewDatabasePerformanceTests.SelectStringStartsWith10000
1050 private String[] where = new String[SIZE]; field in class:NewDatabasePerformanceTests.SelectStringIndexedStartsWith10000
1088 private String[] where = new String[SIZE]; field in class:NewDatabasePerformanceTests.SelectInteger10000
1121 private String[] where = new String[SIZE]; field in class:NewDatabasePerformanceTests.SelectIntegerIndexed10000
1158 private String[] where = new String[SIZE]; field in class:NewDatabasePerformanceTests.SelectStringContains10000
1195 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;
/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.java180 * @param where A filter declaring which rows to return, formatted as an SQL
199 boolean distinct, String tables, String[] columns, String where,
222 appendClause(query, " WHERE ", where);
405 StringBuilder where = new StringBuilder();
409 where.append(mWhereClause.toString());
410 where.append(')');
416 where.append(" AND ");
419 where.append('(');
420 where.append(selection);
421 where
198 buildQueryString( boolean distinct, String tables, String[] columns, String where, String groupBy, String having, String orderBy, String limit) argument
[all...]
/frameworks/base/core/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/libs/hwui/utils/
H A DSortedListImpl.h56 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 Druntime.c104 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 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/include/utils/
H A DVectorImpl.h75 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);
H A DTypeHelpers.h151 void splat_type(TYPE* where, const TYPE* what, size_t n) { argument
154 new(where) TYPE(*what);
155 where++;
159 *where++ = *what;
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
H A DSettingsProvider.java89 public final String where; field in class:SettingsProvider.SqlArguments
93 SqlArguments(Uri url, String where, String[] args) { argument
99 this.where = where;
103 } else if (!TextUtils.isEmpty(where)) {
111 this.where = Settings.NameValueTable.NAME + "=?";
114 this.where = "_id=" + ContentUris.parseId(url);
120 /** Insert new rows (no where clause allowed). */
127 this.where = null;
396 public Cursor query(Uri url, String[] select, String where, Strin argument
576 delete(Uri url, String where, String[] whereArgs) argument
599 update(Uri url, ContentValues initialValues, String where, String[] whereArgs) argument
[all...]
/frameworks/base/media/java/android/mtp/
H A DMtpPropertyGroup.java292 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);
H A DMtpDatabase.java58 // where clause for restricting queries to files in mSubDirectories
60 // where arguments for restricting queries to files in mSubDirectories
136 // Compute "where" string for restricting queries to subdirectories
150 // Compute "where" arguments for restricting queries to subdirectories
341 String where;
350 where = null;
357 where = PARENT_WHERE;
364 where = FORMAT_WHERE;
371 where = FORMAT_PARENT_WHERE;
382 where
[all...]
/frameworks/base/core/java/android/webkit/
H A DWebIconDatabase.java152 String where = (String) map.get("where");
159 where, null, null);
197 * @param path The directory path where the icon database will be stored.
244 public void bulkRequestIconForPageUrl(ContentResolver cr, String where, argument
258 map.put("where", where);
/frameworks/compile/libbcc/runtime/make/
H A Dlib_info.mk14 # AvailableIn.<function> - The list of subdir keys where 'function' is
41 # Compute lists of where each function is available.

Completed in 1860 milliseconds

12