/frameworks/base/core/java/android/text/method/ |
D | Touch.java | 80 DragState[] ds; in onTouchEvent() local 84 ds = buffer.getSpans(0, buffer.length(), DragState.class); in onTouchEvent() 86 for (int i = 0; i < ds.length; i++) { in onTouchEvent() 87 buffer.removeSpan(ds[i]); in onTouchEvent() 96 ds = buffer.getSpans(0, buffer.length(), DragState.class); in onTouchEvent() 98 for (int i = 0; i < ds.length; i++) { in onTouchEvent() 99 buffer.removeSpan(ds[i]); in onTouchEvent() 102 if (ds.length > 0 && ds[0].mUsed) { in onTouchEvent() 109 ds = buffer.getSpans(0, buffer.length(), DragState.class); in onTouchEvent() 111 if (ds.length > 0) { in onTouchEvent() [all …]
|
/frameworks/base/core/java/android/text/style/ |
D | AbsoluteSizeSpan.java | 73 public void updateDrawState(TextPaint ds) { in updateDrawState() argument 75 ds.setTextSize(mSize * ds.density); in updateDrawState() 77 ds.setTextSize(mSize); in updateDrawState() 82 public void updateMeasureState(TextPaint ds) { in updateMeasureState() argument 84 ds.setTextSize(mSize * ds.density); in updateMeasureState() 86 ds.setTextSize(mSize); in updateMeasureState()
|
D | ScaleXSpan.java | 53 public void updateDrawState(TextPaint ds) { in updateDrawState() argument 54 ds.setTextScaleX(ds.getTextScaleX() * mProportion); in updateDrawState() 58 public void updateMeasureState(TextPaint ds) { in updateMeasureState() argument 59 ds.setTextScaleX(ds.getTextScaleX() * mProportion); in updateMeasureState()
|
D | RelativeSizeSpan.java | 53 public void updateDrawState(TextPaint ds) { in updateDrawState() argument 54 ds.setTextSize(ds.getTextSize() * mProportion); in updateDrawState() 58 public void updateMeasureState(TextPaint ds) { in updateMeasureState() argument 59 ds.setTextSize(ds.getTextSize() * mProportion); in updateMeasureState()
|
D | TextAppearanceSpan.java | 200 public void updateDrawState(TextPaint ds) { in updateDrawState() argument 201 updateMeasureState(ds); in updateDrawState() 204 ds.setColor(mTextColor.getColorForState(ds.drawableState, 0)); in updateDrawState() 208 ds.linkColor = mTextColorLink.getColorForState(ds.drawableState, 0); in updateDrawState() 213 public void updateMeasureState(TextPaint ds) { in updateMeasureState() argument 215 Typeface tf = ds.getTypeface(); in updateMeasureState() 235 ds.setFakeBoldText(true); in updateMeasureState() 239 ds.setTextSkewX(-0.25f); in updateMeasureState() 242 ds.setTypeface(tf); in updateMeasureState() 246 ds.setTextSize(mTextSize); in updateMeasureState()
|
D | ClickableSpan.java | 39 public void updateDrawState(TextPaint ds) { in updateDrawState() argument 40 ds.setColor(ds.linkColor); in updateDrawState() 41 ds.setUnderlineText(true); in updateDrawState()
|
D | RasterizerSpan.java | 35 public void updateDrawState(TextPaint ds) { in updateDrawState() argument 36 ds.setRasterizer(mRasterizer); in updateDrawState()
|
D | MaskFilterSpan.java | 35 public void updateDrawState(TextPaint ds) { in updateDrawState() argument 36 ds.setMaskFilter(mFilter); in updateDrawState()
|
D | UnderlineSpan.java | 44 public void updateDrawState(TextPaint ds) { in updateDrawState() argument 45 ds.setUnderlineText(true); in updateDrawState()
|
D | StrikethroughSpan.java | 44 public void updateDrawState(TextPaint ds) { in updateDrawState() argument 45 ds.setStrikeThruText(true); in updateDrawState()
|
D | BackgroundColorSpan.java | 54 public void updateDrawState(TextPaint ds) { in updateDrawState() argument 55 ds.bgColor = mColor; in updateDrawState()
|
D | ForegroundColorSpan.java | 54 public void updateDrawState(TextPaint ds) { in updateDrawState() argument 55 ds.setColor(mColor); in updateDrawState()
|
D | StyleSpan.java | 72 public void updateDrawState(TextPaint ds) { in updateDrawState() argument 73 apply(ds, mStyle); in updateDrawState()
|
D | TypefaceSpan.java | 64 public void updateDrawState(TextPaint ds) { in updateDrawState() argument 65 apply(ds, mFamily); in updateDrawState()
|
D | ReplacementSpan.java | 42 public void updateDrawState(TextPaint ds) { } in updateDrawState() argument
|
/frameworks/base/core/java/com/android/internal/view/menu/ |
D | MenuDialogHelper.java | 100 KeyEvent.DispatcherState ds = decor.getKeyDispatcherState(); in onKey() local 101 if (ds != null) { in onKey() 102 ds.startTracking(event, this); in onKey() 112 KeyEvent.DispatcherState ds = decor.getKeyDispatcherState(); in onKey() local 113 if (ds != null && ds.isTracking(event)) { in onKey()
|
/frameworks/base/core/java/android/content/ |
D | SyncStorageEngine.java | 1070 final DayStats ds = mDayStats[0]; in stopSyncEvent() local 1085 ds.successCount++; in stopSyncEvent() 1086 ds.successTime += elapsedTime; in stopSyncEvent() 1097 ds.failureCount++; in stopSyncEvent() 1098 ds.failureTime += elapsedTime; in stopSyncEvent() 1232 DayStats[] ds = new DayStats[mDayStats.length]; in getDayStatistics() local 1233 System.arraycopy(mDayStats, 0, ds, 0, ds.length); in getDayStatistics() 1234 return ds; in getDayStatistics() 2109 DayStats ds = new DayStats(day); in readStatisticsLocked() local 2110 ds.successCount = in.readInt(); in readStatisticsLocked() [all …]
|
D | SyncManager.java | 1194 private void dumpDayStatistic(PrintWriter pw, SyncStorageEngine.DayStats ds) { in dumpDayStatistic() argument 1195 pw.print("Success ("); pw.print(ds.successCount); in dumpDayStatistic() 1196 if (ds.successCount > 0) { in dumpDayStatistic() 1197 pw.print(" for "); dumpTimeSec(pw, ds.successTime); in dumpDayStatistic() 1198 pw.print(" avg="); dumpTimeSec(pw, ds.successTime/ds.successCount); in dumpDayStatistic() 1200 pw.print(") Failure ("); pw.print(ds.failureCount); in dumpDayStatistic() 1201 if (ds.failureCount > 0) { in dumpDayStatistic() 1202 pw.print(" for "); dumpTimeSec(pw, ds.failureTime); in dumpDayStatistic() 1203 pw.print(" avg="); dumpTimeSec(pw, ds.failureTime/ds.failureCount); in dumpDayStatistic() 1414 SyncStorageEngine.DayStats ds; in dumpDayStatistics() local [all …]
|
/frameworks/base/core/java/android/widget/ |
D | ZoomButtonsController.java | 483 KeyEvent.DispatcherState ds = mOwnerView.getKeyDispatcherState(); in onContainerKey() local 484 if (ds != null) { in onContainerKey() 485 ds.startTracking(event, this); in onContainerKey()
|