Home
last modified time | relevance | path

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

12345678910>>...15

/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.java639 public void reflow(CharSequence s, int where, int before, int after) { in reflow() argument
648 int find = TextUtils.lastIndexOf(text, '\n', where - 1); in reflow()
655 int diff = where - find; in reflow()
658 where -= diff; in reflow()
663 int look = TextUtils.indexOf(text, '\n', where + after); in reflow()
669 int change = look - (where + after); in reflow()
682 Object[] force = sp.getSpans(where, where + after, in reflow()
689 if (st < where) { in reflow()
692 int diff = where - st; in reflow()
695 where -= diff; in reflow()
[all …]
DSpannableStringBuilder.java120 public char charAt(int where) { in charAt() argument
122 if (where < 0) { in charAt()
123 throw new IndexOutOfBoundsException("charAt: " + where + " < 0"); in charAt()
124 } else if (where >= len) { in charAt()
125 throw new IndexOutOfBoundsException("charAt: " + where + " >= length " + len); in charAt()
128 if (where >= mGapStart) in charAt()
129 return mText[where + mGapLength]; in charAt()
131 return mText[where]; in charAt()
168 private void moveGapTo(int where) { in moveGapTo() argument
169 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
DSelection.java515 int where = findEdge(text, layout, -1); in extendToLeftEdge() local
516 extendSelection(text, where); in extendToLeftEdge()
521 int where = findEdge(text, layout, 1); in extendToRightEdge() local
522 extendSelection(text, where); in extendToRightEdge()
527 int where = findEdge(text, layout, -1); in moveToLeftEdge() local
528 setSelection(text, where); in moveToLeftEdge()
533 int where = findEdge(text, layout, 1); in moveToRightEdge() local
534 setSelection(text, where); in moveToRightEdge()
/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/
DPendingJobQueue.java326 int where = Collections.binarySearch(mJobs, adjustedJobStatus, sJobComparator); in add() local
327 if (where < 0) { in add()
328 where = ~where; in add()
330 mJobs.add(where, adjustedJobStatus); in add()
331 if (where < mCurIndex) { in add()
334 mCurIndex = where; in add()
337 if (where > 0) { in add()
338 final long prevTimestamp = mJobs.get(where - 1).adjustedEnqueueTime; in add()
343 if (where < numJobs - 1) { in add()
345 for (int i = where; i < numJobs; ++i) { in add()
[all …]
/frameworks/base/core/java/android/text/method/
DOffsetMapping.java152 public int where; field in OffsetMapping.TextUpdate
164 public TextUpdate(int where, int before, int after) { in TextUpdate() argument
165 this.where = where; in TextUpdate()
/frameworks/base/core/java/com/android/internal/inputmethod/
DImeTracingClientImpl.java40 public void triggerClientDump(String where, @NonNull InputMethodManager immInstance, in triggerClientDump() argument
56 sendToService(proto.getBytes(), IME_TRACING_FROM_CLIENT, where); in triggerClientDump() local
63 public void triggerServiceDump(String where, @NonNull ServiceDumper dumper, in triggerServiceDump() argument
79 sendToService(proto.getBytes(), IME_TRACING_FROM_IMS, where); in triggerServiceDump() local
86 public void triggerManagerServiceDump(String where, @NonNull ServiceDumper dumper) { in triggerManagerServiceDump() argument
DImeTracing.java83 protected void sendToService(byte[] protoDump, int source, String where) { in sendToService() argument
84 InputMethodManagerGlobal.startProtoDump(protoDump, source, where, in sendToService()
116 public abstract void triggerClientDump(String where, InputMethodManager immInstance, in triggerClientDump() argument
142 public abstract void triggerServiceDump(String where, ServiceDumper dumper, in triggerServiceDump() argument
150 public abstract void triggerManagerServiceDump(String where, @NonNull ServiceDumper dumper); in triggerManagerServiceDump() argument
DImeTracingPerfettoImpl.java67 public void triggerClientDump(String where, InputMethodManager immInstance, in triggerClientDump() argument
90 os.write(InputMethodClientsTraceProto.WHERE, where); in triggerClientDump()
105 public void triggerServiceDump(String where, in triggerServiceDump() argument
124 os.write(InputMethodServiceTraceProto.WHERE, where); in triggerServiceDump()
136 public void triggerManagerServiceDump(@NonNull String where, @NonNull ServiceDumper dumper) { in triggerManagerServiceDump() argument
154 os.write(InputMethodManagerServiceTraceProto.WHERE, where); in triggerManagerServiceDump()
DImeTracingServerImpl.java109 public void triggerClientDump(String where, InputMethodManager immInstance, in triggerClientDump() argument
115 public void triggerServiceDump(String where, ServiceDumper dumper, @Nullable byte[] icProto) { in triggerServiceDump() argument
120 public void triggerManagerServiceDump(String where, @NonNull ServiceDumper dumper) { in triggerManagerServiceDump() argument
133 sendToService(null, IME_TRACING_FROM_IMMS, where); in triggerManagerServiceDump()
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DNotificationVisitUrisTest.java300 private static Object generateObject(Class<?> clazz, Location where, in generateObject() argument
309 return specialGenerator.generate(clazz, where); in generateObject()
318 generateObject(clazz.getComponentType(), where, excludingClasses, in generateObject()
348 Object builder = constructEmpty(clazzBuilder.get(), where.plus(clazz), in generateObject()
350 invokeAllSetters(builder, where.plus(clazz).plus(clazzBuilder.get()), in generateObject()
366 Object instance = constructEmpty(clazz, where, excludingClasses, specialGenerator); in generateObject()
367 invokeAllSetters(instance, where.plus(clazz), /* allOverloads= */ false, in generateObject()
375 private static Object constructEmpty(Class<?> clazz, Location where, in constructEmpty() argument
397 bestConstructor = ReflectionUtils.chooseBestOverload(allConstructors, where); in constructEmpty()
402 where.plus(clazz), excludingClasses, specialGenerator); in constructEmpty()
[all …]
/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()
/frameworks/base/telephony/common/com/google/android/mms/util/
DSqliteWrapper.java49 ContentValues values, String where, String[] selectionArgs) { in update() argument
51 return resolver.update(uri, values, where, selectionArgs); in update()
60 String where, String[] selectionArgs) { in delete() argument
62 return resolver.delete(uri, where, selectionArgs); in delete()
/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.java383 boolean distinct, String tables, String[] columns, String where, in buildQueryString() argument
403 appendClause(query, " WHERE ", where); in buildQueryString()
869 String where = computeWhere(selection); in buildQuery() local
872 mDistinct, mTables, projection, where, in buildQuery()
938 final String where = computeWhere(selection); in buildUpdate() local
939 appendClause(sql, " WHERE ", where); in buildUpdate()
949 final String where = computeWhere(selection); in buildDelete() local
950 appendClause(sql, " WHERE ", where); in buildDelete()
1186 final StringBuilder where = new StringBuilder(); in computeWhere() local
1188 where.append('(').append(mWhereClause).append(')'); in computeWhere()
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DInboundSmsTracker.java383 String where = "address=? AND reference_number=? AND count=? AND sequence=? AND " in getExactMatchDupDetectQuery() local
385 where = addDestPortQuery(where); in getExactMatchDupDetectQuery()
388 return new Pair<>(where, whereArgs); in getExactMatchDupDetectQuery()
409 String where = "address=? AND reference_number=? AND count=? AND sequence=? AND " in getInexactMatchDupDetectQuery() local
411 where = addDestPortQuery(where); in getInexactMatchDupDetectQuery()
414 return new Pair<>(where, whereArgs); in getInexactMatchDupDetectQuery()
417 private String addDestPortQuery(String where) { in addDestPortQuery() argument
425 return where + " AND (" + whereDestPort + ")"; in addDestPortQuery()
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
DAccessibilityTraceManager.java144 public void logTrace(String where, long loggingTypes) { in logTrace() argument
145 logTrace(where, loggingTypes, ""); in logTrace()
149 public void logTrace(String where, long loggingTypes, String callingParams) { in logTrace() argument
151 mA11yController.logTrace(where, loggingTypes, callingParams, "".getBytes(), in logTrace()
158 public void logTrace(long timestamp, String where, long loggingTypes, String callingParams, in logTrace() argument
162 mA11yController.logTrace(where, loggingTypes, callingParams, "".getBytes(), callingUid, in logTrace()
/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/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/satellite/
DFakeSatelliteProvider.java76 public synchronized int delete(Uri url, String where, String[] whereArgs) { in delete() argument
78 .delete(Telephony.SatelliteDatagrams.TABLE_NAME, where, whereArgs); in delete()
94 public final int update(Uri uri, ContentValues values, String where, String[] selectionArgs) { in update() argument
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DFakeTelephonyProvider.java166 public synchronized int delete(Uri url, String where, String[] whereArgs) { in delete() argument
167 return mDbHelper.getWritableDatabase().delete("siminfo", where, whereArgs); in delete()
183 public final int update(Uri uri, ContentValues values, String where, String[] selectionArgs) { in update() argument
189 where = BaseColumns._ID + "=" + uri.getLastPathSegment(); in update()
192 int count = mDbHelper.getWritableDatabase().update("siminfo", values, where, in update()
/frameworks/base/core/java/android/view/inputmethod/
DInputMethodManagerGlobal.java57 public static void startProtoDump(byte[] protoDump, int source, String where, in startProtoDump() argument
59 IInputMethodManagerGlobalInvoker.startProtoDump(protoDump, source, where, exceptionHandler); in startProtoDump()
/frameworks/base/core/java/android/view/flags/
Dview_flags.aconfig52 # Referenced in WM where WM starts before DeviceConfig
59 description: "Bug fix where sensitive content protection is prematurely removed."
61 # Referenced in WM where WM starts before DeviceConfig
/frameworks/native/services/surfaceflinger/TimeStats/timestatsatomsproto/
Dtimestats_atoms.proto95 // Number of frames where SF saw a frame, based on its frame timeline.
99 // Number of frames where SF saw a janky frame.
102 // Number of janky frames where SF spent a long time on the CPU.
105 // Number of janky frames where SF spent a long time on the GPU.
108 // Number of janky frames where SF missed the frame deadline, but there
112 // Number of janky frames where the app missed the frame deadline, but
126 // Number of janky frames where the app was in a buffer stuffed state (more
218 // Number of frames where SF saw a frame, based on its frame timeline.
222 // Number of frames where SF saw a janky frame.
225 // Number of janky frames where SF spent a long time on the CPU.
[all …]

12345678910>>...15