/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/native/cmds/dumpstate/ |
D | dumpstate.cpp | 119 static Dumpstate& ds = Dumpstate::GetInstance(); variable 123 return ds.RunCommand(title, full_command, options, verbose_duration); in RunCommand() 180 if (ds.IsUserConsentDenied()) { \ 284 return ds.RunDumpsys(title, dumpsysArgs, options, dumpsysTimeoutMs); in RunDumpsys() 287 return ds.DumpFile(title, path); in DumpFile() 317 const time_t thirty_minutes_ago = ds.now_ - 60 * 30; in GetDumpFds() 383 if (ds.IsZipping() && add_to_zip) { in AddDumps() 384 if (ds.AddZipEntryFromFd(ZIP_ROOT_DIR + name, fd, /* timeout = */ 0ms) != OK) { in AddDumps() 413 if (ds.AddZipEntry(ZIP_ROOT_DIR + path, path)) { in do_mountinfo() 422 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() 169 ds_info->ds = ds_; in startBugreport()
|
/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 | 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 | 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 | 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 | 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/base/services/core/java/com/android/server/os/ |
D | BugreportManagerServiceImpl.java | 164 IDumpstate ds = startAndGetDumpstateBinderServiceLocked(); in startBugreportLocked() local 165 if (ds == null) { in startBugreportLocked() 172 IDumpstateListener myListener = new DumpstateListener(listener, ds); in startBugreportLocked() 174 ds.startBugreport(callingUid, callingPackage, in startBugreportLocked() 187 IDumpstate ds = IDumpstate.Stub.asInterface(ServiceManager.getService("dumpstate")); in isDumpstateBinderServiceRunningLocked() local 188 return ds != null; in isDumpstateBinderServiceRunningLocked() 207 IDumpstate ds = null; in startAndGetDumpstateBinderServiceLocked() local 213 ds = IDumpstate.Stub.asInterface(ServiceManager.getService("dumpstate")); in startAndGetDumpstateBinderServiceLocked() 214 if (ds != null) { in startAndGetDumpstateBinderServiceLocked() 230 return ds; in startAndGetDumpstateBinderServiceLocked() [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/native/cmds/dumpstate/tests/ |
D | dumpstate_test.cpp | 588 ds.progress_.reset(new Progress()); in SetUp() 589 ds.options_.reset(new Dumpstate::DumpOptions()); in SetUp() 597 int status = ds.RunCommand(title, full_command, options); in RunCommand() 607 int status = ds.DumpFile(title, path); in DumpFile() 614 ds.last_reported_percent_progress_ = 0; in SetProgress() 615 ds.options_->do_progress_updates = true; in SetProgress() 616 ds.progress_.reset(new Progress(initial_max, progress, 1.2)); in SetProgress() 621 EXPECT_EQ(progress, ds.progress_->Get()) << "invalid progress"; in GetProgressMessage() 622 EXPECT_EQ(max, ds.progress_->GetMax()) << "invalid max"; in GetProgressMessage() 644 Dumpstate& ds = Dumpstate::GetInstance(); member in android::os::dumpstate::DumpstateTest [all …]
|
D | dumpstate_smoke_test.cpp | 195 static Dumpstate& ds; member in android::os::dumpstate::ZippedBugreportGenerationTest 210 ds.listener_ = listener; in SetUpTestCase() 211 ds.listener_name_ = "Smokey"; in SetUpTestCase() 212 ds.report_section_ = true; in SetUpTestCase() 214 ds.ParseCommandlineAndRun(ARRAY_SIZE(argv), argv); in SetUpTestCase() 220 return ds.GetPath(".zip"); in getZipFilePath() 225 Dumpstate& ZippedBugreportGenerationTest::ds = Dumpstate::GetInstance(); member in android::os::dumpstate::ZippedBugreportGenerationTest 289 EXPECT_STREQ(buf, ZippedBugreportGenerationTest::ds.version_.c_str()); in TEST_F()
|
/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/base/services/core/java/com/android/server/content/ |
D | SyncStorageEngine.java | 1249 final DayStats ds = mDayStats[0]; in stopSyncEvent() local 1259 ds.successCount++; in stopSyncEvent() 1260 ds.successTime += elapsedTime; in stopSyncEvent() 1270 ds.failureCount++; in stopSyncEvent() 1271 ds.failureTime += elapsedTime; in stopSyncEvent() 1443 DayStats[] ds = new DayStats[mDayStats.length]; in getDayStatistics() local 1444 System.arraycopy(mDayStats, 0, ds, 0, ds.length); in getDayStatistics() 1445 return ds; in getDayStatistics() 2143 DayStats ds = new DayStats(day); in readStatisticsLocked() local 2144 ds.successCount = in.readInt(); in readStatisticsLocked() [all …]
|