Home
last modified time | relevance | path

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

12

/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.java83 public void updateDrawState(TextPaint ds) { in updateDrawState() argument
85 ds.setTextSize(mSize * ds.density); in updateDrawState()
87 ds.setTextSize(mSize); in updateDrawState()
92 public void updateMeasureState(TextPaint ds) { in updateMeasureState() argument
94 ds.setTextSize(mSize * ds.density); in updateMeasureState()
96 ds.setTextSize(mSize); in updateMeasureState()
DTextAppearanceSpan.java215 public void updateDrawState(TextPaint ds) { in updateDrawState() argument
216 updateMeasureState(ds); in updateDrawState()
219 ds.setColor(mTextColor.getColorForState(ds.drawableState, 0)); in updateDrawState()
223 ds.linkColor = mTextColorLink.getColorForState(ds.drawableState, 0); in updateDrawState()
228 public void updateMeasureState(TextPaint ds) { in updateMeasureState() argument
230 Typeface tf = ds.getTypeface(); in updateMeasureState()
250 ds.setFakeBoldText(true); in updateMeasureState()
254 ds.setTextSkewX(-0.25f); in updateMeasureState()
257 ds.setTypeface(tf); in updateMeasureState()
261 ds.setTextSize(mTextSize); in updateMeasureState()
DScaleXSpan.java63 public void updateDrawState(TextPaint ds) { in updateDrawState() argument
64 ds.setTextScaleX(ds.getTextScaleX() * mProportion); in updateDrawState()
68 public void updateMeasureState(TextPaint ds) { in updateMeasureState() argument
69 ds.setTextScaleX(ds.getTextScaleX() * mProportion); in updateMeasureState()
DRelativeSizeSpan.java63 public void updateDrawState(TextPaint ds) { in updateDrawState() argument
64 ds.setTextSize(ds.getTextSize() * mProportion); in updateDrawState()
68 public void updateMeasureState(TextPaint ds) { in updateMeasureState() argument
69 ds.setTextSize(ds.getTextSize() * mProportion); 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.java54 public void updateDrawState(TextPaint ds) { in updateDrawState() argument
55 ds.setUnderlineText(true); in updateDrawState()
DStrikethroughSpan.java54 public void updateDrawState(TextPaint ds) { in updateDrawState() argument
55 ds.setStrikeThruText(true); in updateDrawState()
DBackgroundColorSpan.java64 public void updateDrawState(TextPaint ds) { in updateDrawState() argument
65 ds.bgColor = mColor; in updateDrawState()
DForegroundColorSpan.java66 public void updateDrawState(TextPaint ds) { in updateDrawState() argument
67 ds.setColor(mColor); in updateDrawState()
DTypefaceSpan.java74 public void updateDrawState(TextPaint ds) { in updateDrawState() argument
75 apply(ds, mFamily); in updateDrawState()
DStyleSpan.java82 public void updateDrawState(TextPaint ds) { in updateDrawState() argument
83 apply(ds, mStyle); in updateDrawState()
DLocaleSpan.java117 public void updateDrawState(TextPaint ds) { in updateDrawState() argument
118 apply(ds, mLocales); in updateDrawState()
DReplacementSpan.java73 public void updateDrawState(TextPaint ds) { } in updateDrawState() argument
/frameworks/support/v7/appcompat/src/android/support/v7/view/menu/
DMenuDialogHelper.java99 KeyEvent.DispatcherState ds = decor.getKeyDispatcherState(); in onKey() local
100 if (ds != null) { in onKey()
101 ds.startTracking(event, this); in onKey()
111 KeyEvent.DispatcherState ds = decor.getKeyDispatcherState(); in onKey() local
112 if (ds != null && ds.isTracking(event)) { in onKey()
/frameworks/base/core/java/com/android/internal/view/menu/
DMenuDialogHelper.java97 KeyEvent.DispatcherState ds = decor.getKeyDispatcherState(); in onKey() local
98 if (ds != null) { in onKey()
99 ds.startTracking(event, this); in onKey()
109 KeyEvent.DispatcherState ds = decor.getKeyDispatcherState(); in onKey() local
110 if (ds != null && ds.isTracking(event)) { in onKey()
/frameworks/base/services/core/java/com/android/server/content/
DSyncStorageEngine.java1110 final DayStats ds = mDayStats[0]; in stopSyncEvent() local
1125 ds.successCount++; in stopSyncEvent()
1126 ds.successTime += elapsedTime; in stopSyncEvent()
1137 ds.failureCount++; in stopSyncEvent()
1138 ds.failureTime += elapsedTime; in stopSyncEvent()
1281 DayStats[] ds = new DayStats[mDayStats.length]; in getDayStatistics() local
1282 System.arraycopy(mDayStats, 0, ds, 0, ds.length); in getDayStatistics()
1283 return ds; in getDayStatistics()
2114 DayStats ds = new DayStats(day); in readStatisticsLocked() local
2115 ds.successCount = in.readInt(); in readStatisticsLocked()
[all …]
DSyncManager.java1941 private void dumpDayStatistic(PrintWriter pw, SyncStorageEngine.DayStats ds) { in dumpDayStatistic() argument
1942 pw.print("Success ("); pw.print(ds.successCount); in dumpDayStatistic()
1943 if (ds.successCount > 0) { in dumpDayStatistic()
1944 pw.print(" for "); dumpTimeSec(pw, ds.successTime); in dumpDayStatistic()
1945 pw.print(" avg="); dumpTimeSec(pw, ds.successTime/ds.successCount); in dumpDayStatistic()
1947 pw.print(") Failure ("); pw.print(ds.failureCount); in dumpDayStatistic()
1948 if (ds.failureCount > 0) { in dumpDayStatistic()
1949 pw.print(" for "); dumpTimeSec(pw, ds.failureTime); in dumpDayStatistic()
1950 pw.print(" avg="); dumpTimeSec(pw, ds.failureTime/ds.failureCount); in dumpDayStatistic()
2203 SyncStorageEngine.DayStats ds; in dumpDayStatistics() local
[all …]
/frameworks/av/services/camera/libcameraservice/device3/
DCamera3OutputStream.h54 android_dataspace ds = HAL_DATASPACE_UNKNOWN,
63 dataSpace(ds), in streamId()
/frameworks/native/cmds/installd/
Dutils.cpp453 DIR *ds = fdopendir(sdfd); in _copy_dir_files() local
454 if (ds == NULL) { in _copy_dir_files()
459 while ((de = readdir(ds))) { in _copy_dir_files()
500 DIR *ds = NULL; in copy_dir_files() local
503 ds = opendir(srcname); in copy_dir_files()
504 if (ds == NULL) { in copy_dir_files()
513 closedir(ds); in copy_dir_files()
517 int sdfd = dirfd(ds); in copy_dir_files()
525 closedir(ds); in copy_dir_files()
/frameworks/base/tools/preload2/src/com/android/preload/
DMain.java149 for (DeviceSpecific ds : deviceSpecificActions) { in setDevice()
150 ds.setDevice(device); in setDevice()
/frameworks/base/core/java/android/widget/
DZoomButtonsController.java482 KeyEvent.DispatcherState ds = mOwnerView.getKeyDispatcherState(); in onContainerKey() local
483 if (ds != null) { in onContainerKey()
484 ds.startTracking(event, this); in onContainerKey()
/frameworks/base/packages/EasterEgg/src/com/android/egg/neko/
DCat.java126 public static void tint(int color, Drawable ... ds) { in tint() argument
127 for (Drawable d : ds) { in tint()

12