/frameworks/base/core/java/android/text/method/ |
D | Touch.java | 90 DragState[] ds; in onTouchEvent() local 94 ds = buffer.getSpans(0, buffer.length(), DragState.class); in onTouchEvent() 96 for (int i = 0; i < ds.length; i++) { in onTouchEvent() 97 buffer.removeSpan(ds[i]); in onTouchEvent() 106 ds = buffer.getSpans(0, buffer.length(), DragState.class); in onTouchEvent() 108 for (int i = 0; i < ds.length; i++) { in onTouchEvent() 109 buffer.removeSpan(ds[i]); in onTouchEvent() 112 if (ds.length > 0 && ds[0].mUsed) { in onTouchEvent() 119 ds = buffer.getSpans(0, buffer.length(), DragState.class); in onTouchEvent() 121 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 | 205 public void updateDrawState(TextPaint ds) { in updateDrawState() argument 206 updateMeasureState(ds); in updateDrawState() 209 ds.setColor(mTextColor.getColorForState(ds.drawableState, 0)); in updateDrawState() 213 ds.linkColor = mTextColorLink.getColorForState(ds.drawableState, 0); in updateDrawState() 218 public void updateMeasureState(TextPaint ds) { in updateMeasureState() argument 220 Typeface tf = ds.getTypeface(); in updateMeasureState() 240 ds.setFakeBoldText(true); in updateMeasureState() 244 ds.setTextSkewX(-0.25f); in updateMeasureState() 247 ds.setTypeface(tf); in updateMeasureState() 251 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 | LocaleSpan.java | 72 public void updateDrawState(TextPaint ds) { in updateDrawState() argument 73 apply(ds, mLocale); in updateDrawState()
|
D | TypefaceSpan.java | 64 public void updateDrawState(TextPaint ds) { in updateDrawState() argument 65 apply(ds, mFamily); in updateDrawState()
|
D | StyleSpan.java | 72 public void updateDrawState(TextPaint ds) { in updateDrawState() argument 73 apply(ds, mStyle); 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/support/v7/appcompat/src/android/support/v7/internal/view/menu/ |
D | MenuDialogHelper.java | 103 KeyEvent.DispatcherState ds = decor.getKeyDispatcherState(); in onKey() local 104 if (ds != null) { in onKey() 105 ds.startTracking(event, this); in onKey() 115 KeyEvent.DispatcherState ds = decor.getKeyDispatcherState(); in onKey() local 116 if (ds != null && ds.isTracking(event)) { in onKey()
|
/frameworks/base/core/java/com/android/internal/widget/multiwaveview/ |
D | PointCloud.java | 144 final float ds = (2.0f * PI * innerRadius / INNER_POINTS); in makePointCloud() local 145 final int bands = (int) Math.round(pointAreaRadius / ds); in makePointCloud() 150 final int pointsInBand = (int) (circumference / ds); in makePointCloud()
|
/frameworks/base/services/java/com/android/server/content/ |
D | SyncStorageEngine.java | 1249 final DayStats ds = mDayStats[0]; in stopSyncEvent() local 1264 ds.successCount++; in stopSyncEvent() 1265 ds.successTime += elapsedTime; in stopSyncEvent() 1276 ds.failureCount++; in stopSyncEvent() 1277 ds.failureTime += elapsedTime; in stopSyncEvent() 1452 DayStats[] ds = new DayStats[mDayStats.length]; in getDayStatistics() local 1453 System.arraycopy(mDayStats, 0, ds, 0, ds.length); in getDayStatistics() 1454 return ds; in getDayStatistics() 2563 DayStats ds = new DayStats(day); in readStatisticsLocked() local 2564 ds.successCount = in.readInt(); in readStatisticsLocked() [all …]
|
D | SyncManager.java | 1388 private void dumpDayStatistic(PrintWriter pw, SyncStorageEngine.DayStats ds) { in dumpDayStatistic() argument 1389 pw.print("Success ("); pw.print(ds.successCount); in dumpDayStatistic() 1390 if (ds.successCount > 0) { in dumpDayStatistic() 1391 pw.print(" for "); dumpTimeSec(pw, ds.successTime); in dumpDayStatistic() 1392 pw.print(" avg="); dumpTimeSec(pw, ds.successTime/ds.successCount); in dumpDayStatistic() 1394 pw.print(") Failure ("); pw.print(ds.failureCount); in dumpDayStatistic() 1395 if (ds.failureCount > 0) { in dumpDayStatistic() 1396 pw.print(" for "); dumpTimeSec(pw, ds.failureTime); in dumpDayStatistic() 1397 pw.print(" avg="); dumpTimeSec(pw, ds.failureTime/ds.failureCount); in dumpDayStatistic() 1647 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()
|
/frameworks/base/ |
D | Android.mk | 895 LOCAL_MODULE := ds
|