Home
last modified time | relevance | path

Searched refs:ds (Results 1 – 23 of 23) sorted by relevance

/frameworks/base/core/java/android/text/method/
DTouch.java90 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/
DAbsoluteSizeSpan.java73 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()
DScaleXSpan.java53 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()
DRelativeSizeSpan.java53 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()
DTextAppearanceSpan.java205 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()
DClickableSpan.java39 public void updateDrawState(TextPaint ds) { in updateDrawState() argument
40 ds.setColor(ds.linkColor); in updateDrawState()
41 ds.setUnderlineText(true); in updateDrawState()
DRasterizerSpan.java35 public void updateDrawState(TextPaint ds) { in updateDrawState() argument
36 ds.setRasterizer(mRasterizer); in updateDrawState()
DMaskFilterSpan.java35 public void updateDrawState(TextPaint ds) { in updateDrawState() argument
36 ds.setMaskFilter(mFilter); in updateDrawState()
DUnderlineSpan.java44 public void updateDrawState(TextPaint ds) { in updateDrawState() argument
45 ds.setUnderlineText(true); in updateDrawState()
DStrikethroughSpan.java44 public void updateDrawState(TextPaint ds) { in updateDrawState() argument
45 ds.setStrikeThruText(true); in updateDrawState()
DBackgroundColorSpan.java54 public void updateDrawState(TextPaint ds) { in updateDrawState() argument
55 ds.bgColor = mColor; in updateDrawState()
DForegroundColorSpan.java54 public void updateDrawState(TextPaint ds) { in updateDrawState() argument
55 ds.setColor(mColor); in updateDrawState()
DLocaleSpan.java72 public void updateDrawState(TextPaint ds) { in updateDrawState() argument
73 apply(ds, mLocale); in updateDrawState()
DTypefaceSpan.java64 public void updateDrawState(TextPaint ds) { in updateDrawState() argument
65 apply(ds, mFamily); in updateDrawState()
DStyleSpan.java72 public void updateDrawState(TextPaint ds) { in updateDrawState() argument
73 apply(ds, mStyle); in updateDrawState()
DReplacementSpan.java42 public void updateDrawState(TextPaint ds) { } in updateDrawState() argument
/frameworks/base/core/java/com/android/internal/view/menu/
DMenuDialogHelper.java100 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/
DMenuDialogHelper.java103 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/
DPointCloud.java144 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/
DSyncStorageEngine.java1249 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 …]
DSyncManager.java1388 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/
DZoomButtonsController.java483 KeyEvent.DispatcherState ds = mOwnerView.getKeyDispatcherState(); in onContainerKey() local
484 if (ds != null) { in onContainerKey()
485 ds.startTracking(event, this); in onContainerKey()
/frameworks/base/
DAndroid.mk895 LOCAL_MODULE := ds