/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 | StrikethroughSpan.java | 44 public void updateDrawState(TextPaint ds) { in updateDrawState() argument 45 ds.setStrikeThruText(true); in updateDrawState()
|
D | UnderlineSpan.java | 44 public void updateDrawState(TextPaint ds) { in updateDrawState() argument 45 ds.setUnderlineText(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/native/cmds/installd/ |
D | utils.c | 349 DIR *ds = fdopendir(sdfd); in _copy_dir_files() local 350 if (ds == NULL) { in _copy_dir_files() 355 while ((de = readdir(ds))) { in _copy_dir_files() 396 DIR *ds = NULL; in copy_dir_files() local 399 ds = opendir(srcname); in copy_dir_files() 400 if (ds == NULL) { in copy_dir_files() 409 closedir(ds); in copy_dir_files() 413 int sdfd = dirfd(ds); in copy_dir_files() 421 closedir(ds); in copy_dir_files()
|
/frameworks/base/services/core/java/com/android/server/content/ |
D | SyncStorageEngine.java | 1369 final DayStats ds = mDayStats[0]; in stopSyncEvent() local 1384 ds.successCount++; in stopSyncEvent() 1385 ds.successTime += elapsedTime; in stopSyncEvent() 1396 ds.failureCount++; in stopSyncEvent() 1397 ds.failureTime += elapsedTime; in stopSyncEvent() 1564 DayStats[] ds = new DayStats[mDayStats.length]; in getDayStatistics() local 1565 System.arraycopy(mDayStats, 0, ds, 0, ds.length); in getDayStatistics() 1566 return ds; in getDayStatistics() 2740 DayStats ds = new DayStats(day); in readStatisticsLocked() local 2741 ds.successCount = in.readInt(); in readStatisticsLocked() [all …]
|
D | SyncManager.java | 1507 private void dumpDayStatistic(PrintWriter pw, SyncStorageEngine.DayStats ds) { in dumpDayStatistic() argument 1508 pw.print("Success ("); pw.print(ds.successCount); in dumpDayStatistic() 1509 if (ds.successCount > 0) { in dumpDayStatistic() 1510 pw.print(" for "); dumpTimeSec(pw, ds.successTime); in dumpDayStatistic() 1511 pw.print(" avg="); dumpTimeSec(pw, ds.successTime/ds.successCount); in dumpDayStatistic() 1513 pw.print(") Failure ("); pw.print(ds.failureCount); in dumpDayStatistic() 1514 if (ds.failureCount > 0) { in dumpDayStatistic() 1515 pw.print(" for "); dumpTimeSec(pw, ds.failureTime); in dumpDayStatistic() 1516 pw.print(" avg="); dumpTimeSec(pw, ds.failureTime/ds.failureCount); in dumpDayStatistic() 1799 SyncStorageEngine.DayStats ds; in dumpDayStatistics() local [all …]
|
/frameworks/base/core/java/android/widget/ |
D | ZoomButtonsController.java | 482 KeyEvent.DispatcherState ds = mOwnerView.getKeyDispatcherState(); in onContainerKey() local 483 if (ds != null) { in onContainerKey() 484 ds.startTracking(event, this); in onContainerKey()
|
/frameworks/base/media/java/android/media/ |
D | ClosedCaptionRenderer.java | 1074 public void updateDrawState(TextPaint ds) { in updateDrawState() argument 1075 ds.bgColor = mColor; in updateDrawState()
|
/frameworks/base/ |
D | Android.mk | 973 LOCAL_MODULE := ds
|