/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 | 117 public void updateDrawState(@NonNull TextPaint ds) { in updateDrawState() argument 119 ds.setTextSize(mSize * ds.density); in updateDrawState() 121 ds.setTextSize(mSize); in updateDrawState() 126 public void updateMeasureState(@NonNull TextPaint ds) { in updateMeasureState() argument 128 ds.setTextSize(mSize * ds.density); in updateMeasureState() 130 ds.setTextSize(mSize); in updateMeasureState()
|
D | ScaleXSpan.java | 97 public void updateDrawState(TextPaint ds) { in updateDrawState() argument 98 ds.setTextScaleX(ds.getTextScaleX() * mProportion); in updateDrawState() 102 public void updateMeasureState(TextPaint ds) { in updateMeasureState() argument 103 ds.setTextScaleX(ds.getTextScaleX() * mProportion); in updateMeasureState()
|
D | RelativeSizeSpan.java | 92 public void updateDrawState(@NonNull TextPaint ds) { in updateDrawState() argument 93 ds.setTextSize(ds.getTextSize() * mProportion); in updateDrawState() 97 public void updateMeasureState(@NonNull TextPaint ds) { in updateMeasureState() argument 98 ds.setTextSize(ds.getTextSize() * mProportion); in updateMeasureState()
|
D | TextAppearanceSpan.java | 446 public void updateDrawState(TextPaint ds) { in updateDrawState() argument 447 updateMeasureState(ds); in updateDrawState() 450 ds.setColor(mTextColor.getColorForState(ds.drawableState, 0)); in updateDrawState() 454 ds.linkColor = mTextColorLink.getColorForState(ds.drawableState, 0); in updateDrawState() 458 ds.setShadowLayer(mShadowRadius, mShadowDx, mShadowDy, mShadowColor); in updateDrawState() 463 public void updateMeasureState(TextPaint ds) { in updateMeasureState() argument 471 Typeface tf = ds.getTypeface(); in updateMeasureState() 495 readyTypeface = ds.setTypeface(Typeface.create(styledTypeface, weight, italic)); in updateMeasureState() 503 ds.setFakeBoldText(true); in updateMeasureState() 507 ds.setTextSkewX(-0.25f); in updateMeasureState() [all …]
|
D | ClickableSpan.java | 53 public void updateDrawState(@NonNull TextPaint ds) { in updateDrawState() argument 54 ds.setColor(ds.linkColor); in updateDrawState() 55 ds.setUnderlineText(true); in updateDrawState()
|
D | RasterizerSpan.java | 38 public void updateDrawState(TextPaint ds) { in updateDrawState() argument 39 ds.setRasterizer(mRasterizer); in updateDrawState()
|
D | MaskFilterSpan.java | 56 public void updateDrawState(TextPaint ds) { in updateDrawState() argument 57 ds.setMaskFilter(mFilter); in updateDrawState()
|
D | UnderlineSpan.java | 77 public void updateDrawState(@NonNull TextPaint ds) { in updateDrawState() argument 78 ds.setUnderlineText(true); in updateDrawState()
|
D | StrikethroughSpan.java | 77 public void updateDrawState(@NonNull TextPaint ds) { in updateDrawState() argument 78 ds.setStrikeThruText(true); in updateDrawState()
|
D | LocaleSpan.java | 117 public void updateDrawState(TextPaint ds) { in updateDrawState() argument 118 apply(ds, mLocales); in updateDrawState()
|
D | StyleSpan.java | 104 public void updateDrawState(TextPaint ds) { in updateDrawState() argument 105 apply(ds, mStyle); in updateDrawState()
|
D | TypefaceSpan.java | 146 public void updateDrawState(@NonNull TextPaint ds) { in updateDrawState() argument 147 updateTypeface(ds); in updateDrawState()
|
/frameworks/native/cmds/dumpstate/ |
D | dumpstate.cpp | 125 static Dumpstate& ds = Dumpstate::GetInstance(); variable 129 return ds.RunCommand(title, full_command, options, verbose_duration); in RunCommand() 186 if (ds.IsUserConsentDenied()) { \ 309 return ds.RunDumpsys(title, dumpsysArgs, options, dumpsysTimeoutMs); in RunDumpsys() 312 return ds.DumpFile(title, path); in DumpFile() 340 const time_t thirty_minutes_ago = ds.now_ - 60 * 30; in GetDumpFds() 410 if (ds.IsZipping() && add_to_zip) { in AddDumps() 411 if (ds.AddZipEntryFromFd(ZIP_ROOT_DIR + name, fd, /* timeout = */ 0ms) != OK) { in AddDumps() 440 if (ds.AddZipEntry(ZIP_ROOT_DIR + path, path)) { in do_mountinfo() 449 if (!ds.IsZipping()) return; in add_mountinfo() [all …]
|
D | DumpstateService.cpp | 37 Dumpstate* ds = nullptr; member 51 ds_info->ds->Run(ds_info->calling_uid, ds_info->calling_package); in dumpstate_thread_main() 135 ds_info->ds = ds_; in startBugreport()
|
/frameworks/base/services/core/java/com/android/server/os/ |
D | BugreportManagerServiceImpl.java | 101 IDumpstate ds = getDumpstateBinderServiceLocked(); in cancelBugreport() local 102 if (ds == null) { in cancelBugreport() 107 ds.cancelBugreport(); in cancelBugreport() 168 IDumpstate ds = startAndGetDumpstateBinderServiceLocked(); in startBugreportLocked() local 169 if (ds == null) { in startBugreportLocked() 176 IDumpstateListener myListener = new DumpstateListener(listener, ds); in startBugreportLocked() 178 ds.startBugreport(callingUid, callingPackage, in startBugreportLocked() 217 IDumpstate ds = null; in startAndGetDumpstateBinderServiceLocked() local 222 ds = getDumpstateBinderServiceLocked(); in startAndGetDumpstateBinderServiceLocked() 223 if (ds != null) { in startAndGetDumpstateBinderServiceLocked() [all …]
|
/frameworks/base/services/tests/servicestests/src/com/android/server/content/ |
D | SyncStorageEngineTest.java | 81 final SyncStorageEngine.DayStats ds = new SyncStorageEngine.DayStats(i); in populateDayStats() local 82 ds.successCount = r.nextInt(); in populateDayStats() 83 ds.successTime = r.nextLong(); in populateDayStats() 84 ds.failureCount = r.nextInt(); in populateDayStats() 85 ds.failureTime = r.nextLong(); in populateDayStats() 86 dayStats[i] = ds; in populateDayStats() 94 final SyncStorageEngine.DayStats ds = dayStats[i]; in verifyDayStats() local 96 assertEquals(dsOther.day, ds.day); in verifyDayStats() 97 assertEquals(dsOther.successCount, ds.successCount); in verifyDayStats() 98 assertEquals(dsOther.successTime, ds.successTime); in verifyDayStats() [all …]
|
/frameworks/base/ |
D | ApiDocs.bp | 288 name: "ds-docs-java", 297 proofread_file: "ds-docs-proofrerad.txt", 317 name: "ds-docs-kt", 324 proofread_file: "ds-dokka-proofread.txt", 329 name: "ds-docs", 335 ":ds-docs-java{.docs.zip}", 336 ":ds-docs-kt{.docs.zip}", 338 out: ["ds-docs.zip"], 342 …cmd: "$(location zip2zip) -i $(location :ds-docs-kt{.docs.zip}) -o $(genDir)/ds-docs-kt-moved.zip … 343 …"$(location merge_zips) $(out) $(location :ds-docs-java{.docs.zip}) $(genDir)/ds-docs-kt-moved.zip… [all …]
|
/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/native/libs/ui/ |
D | PublicFormat.cpp | 81 Dataspace ds = static_cast<Dataspace>(dataSpace); in mapHalFormatDataspaceToPublicFormat() local 97 switch (ds) { in mapHalFormatDataspaceToPublicFormat() 120 switch (ds) { in mapHalFormatDataspaceToPublicFormat() 129 switch (ds) { in mapHalFormatDataspaceToPublicFormat()
|
/frameworks/base/packages/Tethering/src/com/android/networkstack/tethering/ |
D | IPv6TetheringCoordinator.java | 187 final Downstream ds = findDownstream(ipServer); in getInterfaceIPv6LinkProperties() local 188 if (ds == null) return null; in getInterfaceIPv6LinkProperties() 190 if (ds.mode == IpServer.STATE_LOCAL_ONLY) { in getInterfaceIPv6LinkProperties() 192 return getUniqueLocalConfig(mUniqueLocalPrefix, ds.subnetId); in getInterfaceIPv6LinkProperties() 218 for (Downstream ds : mActiveDownstreams) { in findDownstream() 219 if (ds.ipServer == ipServer) return ds; in findDownstream()
|
/frameworks/base/core/java/android/hardware/display/ |
D | DisplayedContentSamplingAttributes.java | 35 public DisplayedContentSamplingAttributes(int format, int ds, int componentMask) { in DisplayedContentSamplingAttributes() argument 37 mDataspace = ds; in DisplayedContentSamplingAttributes()
|
/frameworks/base/core/tests/coretests/src/android/text/style/ |
D | UnderlineSpanTest.java | 39 public void updateDrawState(TextPaint ds) { in updateDrawState() argument 40 ds.setUnderlineText(android.graphics.Color.RED, 1.0f); in updateDrawState()
|
/frameworks/native/cmds/dumpstate/tests/ |
D | dumpstate_smoke_test.cpp | 210 static Dumpstate& ds; member in android::os::dumpstate::ZippedBugreportGenerationTest 222 ds.listener_ = listener; in SetUpTestCase() 224 ds.ParseCommandlineAndRun(ARRAY_SIZE(argv), argv); in SetUpTestCase() 230 return ds.GetPath(".zip"); in getZipFilePath() 235 Dumpstate& ZippedBugreportGenerationTest::ds = Dumpstate::GetInstance(); member in android::os::dumpstate::ZippedBugreportGenerationTest 299 EXPECT_STREQ(buf, ZippedBugreportGenerationTest::ds.version_.c_str()); in TEST_F()
|
D | dumpstate_test.cpp | 541 ds.progress_.reset(new Progress()); in SetUp() 542 ds.options_.reset(new Dumpstate::DumpOptions()); in SetUp() 550 int status = ds.RunCommand(title, full_command, options); in RunCommand() 560 int status = ds.DumpFile(title, path); in DumpFile() 567 ds.last_reported_percent_progress_ = 0; in SetProgress() 568 ds.options_->do_progress_updates = true; in SetProgress() 569 ds.progress_.reset(new Progress(initial_max, progress, 1.2)); in SetProgress() 574 EXPECT_EQ(progress, ds.progress_->Get()) << "invalid progress"; in GetProgressMessage() 575 EXPECT_EQ(max, ds.progress_->GetMax()) << "invalid max"; in GetProgressMessage() 596 Dumpstate& ds = Dumpstate::GetInstance(); member in android::os::dumpstate::DumpstateTest [all …]
|