Home
last modified time | relevance | path

Searched refs:where (Results 1 – 25 of 272) sorted by relevance

1234567891011

/frameworks/base/core/java/android/text/
DPackedIntVector.java295 private final void moveValueGapTo(int column, int where) { in moveValueGapTo() argument
300 if (where == valuegap[column]) { in moveValueGapTo()
302 } else if (where > valuegap[column]) { in moveValueGapTo()
303 for (int i = valuegap[column]; i < where; i++) { in moveValueGapTo()
307 for (int i = where; i < valuegap[column]; i++) { in moveValueGapTo()
312 valuegap[column] = where; in moveValueGapTo()
318 private final void moveRowGapTo(int where) { in moveRowGapTo() argument
319 if (where == mRowGapStart) { in moveRowGapTo()
321 } else if (where > mRowGapStart) { in moveRowGapTo()
322 int moving = where + mRowGapLength - (mRowGapStart + mRowGapLength); in moveRowGapTo()
[all …]
DPackedObjectVector.java128 moveRowGapTo(int where) in moveRowGapTo() argument
130 if (where == mRowGapStart) in moveRowGapTo()
133 if (where > mRowGapStart) in moveRowGapTo()
135 int moving = where + mRowGapLength - (mRowGapStart + mRowGapLength); in moveRowGapTo()
151 int moving = mRowGapStart - where; in moveRowGapTo()
153 for (int i = where + moving - 1; i >= where; i--) in moveRowGapTo()
155 int destrow = i - where + mRowGapStart + mRowGapLength - moving; in moveRowGapTo()
166 mRowGapStart = where; in moveRowGapTo()
DDynamicLayout.java501 public void reflow(CharSequence s, int where, int before, int after) { in reflow() argument
510 int find = TextUtils.lastIndexOf(text, '\n', where - 1); in reflow()
517 int diff = where - find; in reflow()
520 where -= diff; in reflow()
525 int look = TextUtils.indexOf(text, '\n', where + after); in reflow()
531 int change = look - (where + after); in reflow()
544 Object[] force = sp.getSpans(where, where + after, in reflow()
551 if (st < where) { in reflow()
554 int diff = where - st; in reflow()
557 where -= diff; in reflow()
[all …]
DSelection.java420 int where = findEdge(text, layout, -1); in extendToLeftEdge() local
421 extendSelection(text, where); in extendToLeftEdge()
426 int where = findEdge(text, layout, 1); in extendToRightEdge() local
427 extendSelection(text, where); in extendToRightEdge()
432 int where = findEdge(text, layout, -1); in moveToLeftEdge() local
433 setSelection(text, where); in moveToLeftEdge()
438 int where = findEdge(text, layout, 1); in moveToRightEdge() local
439 setSelection(text, where); in moveToRightEdge()
DSpannableStringBuilder.java119 public char charAt(int where) { in charAt() argument
121 if (where < 0) { in charAt()
122 throw new IndexOutOfBoundsException("charAt: " + where + " < 0"); in charAt()
123 } else if (where >= len) { in charAt()
124 throw new IndexOutOfBoundsException("charAt: " + where + " >= length " + len); in charAt()
127 if (where >= mGapStart) in charAt()
128 return mText[where + mGapLength]; in charAt()
130 return mText[where]; in charAt()
167 private void moveGapTo(int where) { in moveGapTo() argument
168 if (where == mGapStart) in moveGapTo()
[all …]
DEditable.java64 public Editable insert(int where, CharSequence text, int start, int end); in insert() argument
70 public Editable insert(int where, CharSequence text); in insert() argument
/frameworks/base/core/tests/coretests/src/android/app/activity/
DActivityTestsBase.java87 public void activityFinished(int resultCode, Intent data, RuntimeException where) { in activityFinished() argument
88 finishWithResult(resultCode, data, where); in activityFinished()
113 RuntimeException where = new RuntimeException("Original error was here"); in finishWithResult() local
114 where.fillInStackTrace(); in finishWithResult()
115 finishWithResult(resultCode, data, where); in finishWithResult()
118 public void finishWithResult(int resultCode, Intent data, RuntimeException where) { in finishWithResult() argument
123 mResultStack = where; in finishWithResult()
DLaunchpadActivity.java70 RuntimeException where); in activityFinished() argument
377 private void checkLifecycle(String where) { in checkLifecycle() argument
381 finishBad("Activity lifecycle incorrect: received " + where in checkLifecycle()
386 if (!mExpectedLifecycle[mNextLifecycle].equals(where)) { in checkLifecycle()
387 finishBad("Activity lifecycle incorrect: received " + where in checkLifecycle()
402 if (where.equals(ON_DESTROY)) { in checkLifecycle()
403 finishBad("Activity lifecycle incorrect: received " + where in checkLifecycle()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DInboundSmsTracker.java354 String where = "address=? AND reference_number=? AND count=? AND sequence=? AND " in getExactMatchDupDetectQuery() local
356 where = addDestPortQuery(where); in getExactMatchDupDetectQuery()
359 return new Pair<>(where, whereArgs); in getExactMatchDupDetectQuery()
380 String where = "address=? AND reference_number=? AND count=? AND sequence=? AND " in getInexactMatchDupDetectQuery() local
382 where = addDestPortQuery(where); in getInexactMatchDupDetectQuery()
385 return new Pair<>(where, whereArgs); in getInexactMatchDupDetectQuery()
388 private String addDestPortQuery(String where) { in addDestPortQuery() argument
396 return where + " AND (" + whereDestPort + ")"; in addDestPortQuery()
/frameworks/base/cmds/content/src/com/android/commands/content/
DContent.java224 String where = null; in parseDeleteCommand() local
231 where = argumentValueRequired(argument); in parseDeleteCommand()
240 return new DeleteCommand(uri, userId, where); in parseDeleteCommand()
246 String where = null; in parseUpdateCommand() local
254 where = argumentValueRequired(argument); in parseUpdateCommand()
269 return new UpdateCommand(uri, userId, values, where); in parseUpdateCommand()
367 String where = null; in parseQueryCommand() local
374 where = argumentValueRequired(argument); in parseQueryCommand()
387 return new QueryCommand(uri, userId, projection, where, sort); in parseQueryCommand()
518 public DeleteCommand(Uri uri, int userId, String where) { in DeleteCommand() argument
[all …]
/frameworks/base/core/java/android/database/sqlite/
DSqliteWrapper.java80 ContentValues values, String where, String[] selectionArgs) { in update() argument
82 return resolver.update(uri, values, where, selectionArgs); in update()
92 String where, String[] selectionArgs) { in delete() argument
94 return resolver.delete(uri, where, selectionArgs); in delete()
DSQLiteQueryBuilder.java386 boolean distinct, String tables, String[] columns, String where, in buildQueryString() argument
406 appendClause(query, " WHERE ", where); in buildQueryString()
889 String where = computeWhere(selection); in buildQuery() local
892 mDistinct, mTables, projection, where, in buildQuery()
958 final String where = computeWhere(selection); in buildUpdate() local
959 appendClause(sql, " WHERE ", where); in buildUpdate()
969 final String where = computeWhere(selection); in buildDelete() local
970 appendClause(sql, " WHERE ", where); in buildDelete()
1206 final StringBuilder where = new StringBuilder(); in computeWhere() local
1208 where.append('(').append(mWhereClause).append(')'); in computeWhere()
[all …]
/frameworks/base/tools/aapt2/
Dreadme.md9 - Fixed an issue where multiple permissions defined in AndroidManifest.xml would generate
18 - Fixed issue where enum values were interpreted as integers and range checked. (bug 62358540)
19 - Fixed issue where ints and floats with trailing whitespace would not be parsed. (bug 62902869)
20 - Fixed issue where `--custom-package` was not honored when writing Manifest.java. (bug 62826426)
23 - Fixed issue where Java classes referenced from fragments and menus were not added to
25 - Fixed issue where escaped unicode characters would generate malformed UTF-8. (bug 62839202)
26 - Fixed issue where apostrophes or quotes used in XML attribute values were ignored.
31 - Fixed issue where symlinks would not be followed when compiling PNGs. (bug 62144459)
32 - Fixed issue where overlays that declared `<add-resource>` did not compile. (bug 38355988)
33 - Fixed issue where `%n` in a string resource was interpreted as a format argument. (bug 37132275)
[all …]
/frameworks/base/telephony/common/com/google/android/mms/util/
DSqliteWrapper.java94 ContentValues values, String where, String[] selectionArgs) { in update() argument
96 return resolver.update(uri, values, where, selectionArgs); in update()
106 String where, String[] selectionArgs) { in delete() argument
108 return resolver.delete(uri, where, selectionArgs); in delete()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DFakeTelephonyProvider.java143 public synchronized int delete(Uri url, String where, String[] whereArgs) { in delete() argument
144 return mDbHelper.getWritableDatabase().delete("siminfo", where, whereArgs); in delete()
160 public final int update(Uri uri, ContentValues values, String where, String[] selectionArgs) { in update() argument
166 where = BaseColumns._ID + "=" + uri.getLastPathSegment(); in update()
169 int count = mDbHelper.getWritableDatabase().update("siminfo", values, where, in update()
/frameworks/native/services/surfaceflinger/
DSurfaceTracing.cpp71 void SurfaceTracing::notify(long compositionTime, const char* where) { in notify() argument
74 mWhere = where; in notify()
160 LayersTraceProto SurfaceTracing::traceLayersLocked(const char* where) { in traceLayersLocked() argument
165 entry.set_where(where); in traceLayersLocked()
DSurfaceTracing.h49 void notify(long compositionTime, const char* where);
89 LayersTraceProto traceLayersLocked(const char* where) REQUIRES(mSfLock);
/frameworks/base/services/core/java/com/android/server/wm/
DWindowTracing.java253 void logState(String where) { in logState() argument
261 log(where); in logState()
282 private void log(String where) { in log() argument
288 os.write(WHERE, where); in log()
/frameworks/rs/cpp/util/
DTypeHelpers.h164 void splat_type(TYPE* where, const TYPE* what, size_t n) {
167 new(where) TYPE(*what);
168 where++;
172 *where++ = *what;
/frameworks/base/core/tests/coretests/src/android/app/
DSuggestionProvider.java97 public int update(Uri url, ContentValues values, String where, String[] whereArgs) { in update() argument
107 public int delete(Uri url, String where, String[] whereArgs) { in delete() argument
/frameworks/av/media/libmediaplayerservice/nuplayer/
DNuPlayerDriver.cpp540 void NuPlayerDriver::updateMetrics(const char *where) { in updateMetrics() argument
542 if (where == NULL) { in updateMetrics()
543 where = "unknown"; in updateMetrics()
545 ALOGV("updateMetrics(%p) from %s at state %d", this, where, mState); in updateMetrics()
618 void NuPlayerDriver::logMetrics(const char *where) { in logMetrics() argument
619 if (where == NULL) { in logMetrics()
620 where = "unknown"; in logMetrics()
622 ALOGV("logMetrics(%p) from %s at state %d", this, where, mState); in logMetrics()
/frameworks/native/services/surfaceflinger/layerproto/
Dlayerstrace.proto47 /* where the trace originated */
48 optional string where = 2; field
/frameworks/base/core/proto/android/server/
Dwindowmanagertrace.proto48 /* where the trace originated */
49 optional string where = 2; field
/frameworks/base/core/tests/coretests/src/android/content/
DMemoryFileProvider.java163 public int update(Uri url, ContentValues values, String where, String[] whereArgs) { in update() argument
173 public int delete(Uri url, String where, String[] whereArgs) { in delete() argument
/frameworks/base/packages/WAPPushManager/src/com/android/smspush/
DWapPushManager.java340 String where = "x_wap_application=\'" + x_app_id + "\'" in updatePackage() local
350 int num = db.update(APPID_TABLE_NAME, values, where, null); in updatePackage()
367 String where = "x_wap_application=\'" + x_app_id + "\'" in deletePackage() local
371 int num_removed = db.delete(APPID_TABLE_NAME, where, null); in deletePackage()

1234567891011