/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 | 83 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()
|
D | TextAppearanceSpan.java | 215 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()
|
D | ScaleXSpan.java | 63 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()
|
D | RelativeSizeSpan.java | 63 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()
|
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 | 54 public void updateDrawState(TextPaint ds) { in updateDrawState() argument 55 ds.setUnderlineText(true); in updateDrawState()
|
D | StrikethroughSpan.java | 54 public void updateDrawState(TextPaint ds) { in updateDrawState() argument 55 ds.setStrikeThruText(true); in updateDrawState()
|
D | BackgroundColorSpan.java | 64 public void updateDrawState(TextPaint ds) { in updateDrawState() argument 65 ds.bgColor = mColor; in updateDrawState()
|
D | ForegroundColorSpan.java | 66 public void updateDrawState(TextPaint ds) { in updateDrawState() argument 67 ds.setColor(mColor); in updateDrawState()
|
D | TypefaceSpan.java | 74 public void updateDrawState(TextPaint ds) { in updateDrawState() argument 75 apply(ds, mFamily); in updateDrawState()
|
D | StyleSpan.java | 82 public void updateDrawState(TextPaint ds) { in updateDrawState() argument 83 apply(ds, mStyle); in updateDrawState()
|
D | LocaleSpan.java | 117 public void updateDrawState(TextPaint ds) { in updateDrawState() argument 118 apply(ds, mLocales); in updateDrawState()
|
D | ReplacementSpan.java | 73 public void updateDrawState(TextPaint ds) { } in updateDrawState() argument
|
/frameworks/support/v7/appcompat/src/android/support/v7/view/menu/ |
D | MenuDialogHelper.java | 99 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/ |
D | MenuDialogHelper.java | 97 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/ |
D | SyncStorageEngine.java | 1110 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 …]
|
D | SyncManager.java | 1941 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/ |
D | Camera3OutputStream.h | 54 android_dataspace ds = HAL_DATASPACE_UNKNOWN, 63 dataSpace(ds), in streamId()
|
/frameworks/native/cmds/installd/ |
D | utils.cpp | 453 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/ |
D | Main.java | 149 for (DeviceSpecific ds : deviceSpecificActions) { in setDevice() 150 ds.setDevice(device); in setDevice()
|
/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/packages/EasterEgg/src/com/android/egg/neko/ |
D | Cat.java | 126 public static void tint(int color, Drawable ... ds) { in tint() argument 127 for (Drawable d : ds) { in tint()
|