/packages/apps/Dialer/java/com/android/dialer/spannable/ |
D | ContentWithLearnMoreSpanner.java | 70 SpannableString contents = new SpannableString(String.format(contentFormatString, learnMore)); in create() local 73 contents.toString().contains(learnMore), in create() 77 int learnMoreSpanStartIndex = contents.toString().lastIndexOf(learnMore); in create() 80 contents.setSpan( in create() 86 contents.setSpan( in create() 92 return contents; in create()
|
/packages/apps/Dialer/java/com/android/contacts/common/util/ |
D | SearchUtil.java | 32 public static MatchedLine findMatchingLine(String contents, String substring) { in findMatchingLine() argument 37 final int index = SearchUtil.contains(contents, substring); in findMatchingLine() 42 if (contents.charAt(start) == '\n') { in findMatchingLine() 48 while (end < contents.length()) { in findMatchingLine() 49 if (contents.charAt(end) == '\n') { in findMatchingLine() 54 matched.line = contents.substring(start + 1, end); in findMatchingLine()
|
/packages/apps/Contacts/src/com/android/contacts/util/ |
D | SearchUtil.java | 49 public static MatchedLine findMatchingLine(String contents, String substring) { in findMatchingLine() argument 54 final int index = SearchUtil.contains(contents, substring); in findMatchingLine() 59 if (contents.charAt(start) == '\n') { in findMatchingLine() 65 while (end < contents.length()) { in findMatchingLine() 66 if (contents.charAt(end) == '\n') { in findMatchingLine() 71 matched.line = contents.substring(start + 1, end); in findMatchingLine()
|
/packages/apps/Settings/src/com/android/settings/wifi/qrcode/ |
D | QrCodeGenerator.java | 41 public static Bitmap encodeQrCode(String contents, int size) in encodeQrCode() argument 44 if (!isIso88591(contents)) { in encodeQrCode() 48 final BitMatrix qrBits = new MultiFormatWriter().encode(contents, BarcodeFormat.QR_CODE, in encodeQrCode() 59 private static boolean isIso88591(String contents) { in isIso88591() argument 61 return encoder.canEncode(contents); in isIso88591()
|
/packages/services/Car/tests/MultiDisplayTest/src/com/google/android/car/multidisplaytest/present/ |
D | PresentTestFragment.java | 167 DemoPresentationContents contents = in setupListeners() 169 showPresentation(display, contents); in setupListeners() 205 private void showPresentation(Display display, DemoPresentationContents contents) { in showPresentation() argument 212 Log.d(TAG, "Showing presentation photo #" + contents.mPhoto in showPresentation() 215 DemoPresentation presentation = new DemoPresentation(getContext(), display, contents); in showPresentation() 268 DemoPresentationContents contents = presentation != null in getView() local 274 cb.setChecked(contents != null); in getView() 316 DemoPresentation(Context context, Display display, DemoPresentationContents contents) { in DemoPresentation() argument 318 mContents = contents; in DemoPresentation()
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
D | FolderInfo.java | 53 public ArrayList<WorkspaceItemInfo> contents = new ArrayList<>(); field in FolderInfo 68 add(item, contents.size(), animate); in add() 75 rank = Utilities.boundToRange(rank, 0, contents.size() + 1); in add() 76 contents.add(rank, item); in add() 89 contents.remove(item); in remove()
|
/packages/apps/Launcher3/src/com/android/launcher3/folder/ |
D | FolderGridOrganizer.java | 58 return setContentSize(info.contents.size()); in setFolderInfo() 156 public <T, R extends T> ArrayList<R> previewItemsForPage(int page, List<T> contents) { in previewItemsForPage() argument 160 int end = Math.min(start + itemsPerPage, contents.size()); in previewItemsForPage() 164 result.add((R) contents.get(i)); in previewItemsForPage()
|
D | Folder.java | 390 ArrayList<WorkspaceItemInfo> children = info.contents; in bind() 423 if (FeatureFlags.FOLDER_NAME_SUGGEST.get() && mInfo.contents.size() == 2) { in showSuggestedTitle() 497 ArrayList<WorkspaceItemInfo> items = new ArrayList<>(mInfo.contents); in beginExternalDrag() 510 animateOpen(mInfo.contents, 0); in animateOpen() 919 int total = mInfo.contents.size(); in updateItemLocationsInDatabaseBatch() 921 WorkspaceItemInfo itemInfo = mInfo.contents.get(i); in updateItemLocationsInDatabaseBatch() 1060 return mInfo.contents.size(); in getItemCount() 1077 WorkspaceItemInfo finalItem = mInfo.contents.remove(0); in replaceFolderWithFinalItem() 1546 folder_target.cardinality = mInfo.contents.size(); in logEditFolderLabel()
|
D | FolderIcon.java | 377 .getSuggestedFolderName(getContext(), mInfo.contents, suggestedNameOut)); in onDrop() 403 itemReturnedOnFailedDrop ? item.rank : mInfo.contents.size(), in onDrop() 560 return mPreviewVerifier.setFolderInfo(mInfo).previewItemsForPage(page, mInfo.contents); in getPreviewItemsOnPage()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/ |
D | MasterClear.java | 456 LinearLayout contents = (LinearLayout) mContentView.findViewById(R.id.accounts); in loadAccountList() local 457 contents.removeAllViews(); in loadAccountList() 485 View titleView = Utils.inflateCategoryHeader(inflater, contents); in loadAccountList() 489 contents.addView(titleView); in loadAccountList() 523 View child = inflater.inflate(R.layout.master_clear_account, contents, false); in loadAccountList() 526 contents.addView(child); in loadAccountList() 532 contents.setVisibility(View.VISIBLE); in loadAccountList()
|
/packages/apps/Settings/src/com/android/settings/ |
D | MasterClear.java | 455 LinearLayout contents = (LinearLayout) mContentView.findViewById(R.id.accounts); in loadAccountList() local 456 contents.removeAllViews(); in loadAccountList() 484 View titleView = Utils.inflateCategoryHeader(inflater, contents); in loadAccountList() 488 contents.addView(titleView); in loadAccountList() 522 View child = inflater.inflate(R.layout.master_clear_account, contents, false); in loadAccountList() 525 contents.addView(child); in loadAccountList() 531 contents.setVisibility(View.VISIBLE); in loadAccountList()
|
/packages/modules/SdkExtensions/derive_sdk/ |
D | derive_sdk.cpp | 56 std::string contents; in main() local 57 if (!android::base::ReadFileToString(path, &contents, true)) { in main() 62 if (!sdk_version.ParseFromString(contents)) { in main()
|
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/ |
D | DocumentsProviderHelper.java | 144 public void writeDocument(Uri documentUri, byte[] contents) in writeDocument() argument 148 out.write(contents, 0, contents.length); in writeDocument() 153 public void writeAppendDocument(Uri documentUri, byte[] contents, int length) in writeAppendDocument() argument 157 out.write(contents, 0, length); in writeAppendDocument()
|
/packages/apps/TV/src/com/android/tv/menu/ |
D | MenuLayoutManager.java | 177 View contents = view.getChildAt(1); in dumpChildren() local 212 + contents.getVisibility() in dumpChildren() 214 + contents.getAlpha() in dumpChildren() 216 + contents.getTranslationY() in dumpChildren() 218 + contents.getLeft() in dumpChildren() 220 + contents.getTop() in dumpChildren() 222 + contents.getRight() in dumpChildren() 224 + contents.getBottom() in dumpChildren()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/avrcpcontroller/ |
D | BluetoothMediaBrowserService.java | 138 List<MediaItem> contents = getContents(parentMediaId); in onLoadChildren() local 139 if (contents == null) { in onLoadChildren() 142 result.sendResult(contents); in onLoadChildren()
|
D | BrowseTree.java | 253 List<MediaItem> contents = new ArrayList<MediaItem>(mChildren.size()); in getContents() local 255 contents.add(child.getMediaItem()); in getContents() 257 return contents; in getContents()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/wifi/qrcode/ |
D | QrCodeGenerator.java | 35 public static Bitmap encodeQrCode(String contents, int size) in encodeQrCode() argument 37 final BitMatrix qrBits = new MultiFormatWriter().encode(contents, BarcodeFormat.QR_CODE, in encodeQrCode()
|
/packages/apps/TV/tests/robotests/src/com/android/tv/dvr/ui/ |
D | SortedArrayAdapterTest.java | 193 private static void assertContentsInOrder(ObjectAdapter adapter, Object... contents) { in assertContentsInOrder() argument 194 int ex = contents.length; in assertContentsInOrder() 197 assertWithMessage("element " + 1).that(adapter.get(i)).isEqualTo(contents[i]); in assertContentsInOrder()
|
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
D | MetadataEntryParserTest.java | 233 ByteArrayOutputStream contents = new ByteArrayOutputStream(); in readAssetAsString() local 238 if (len > 0) contents.write(data, 0, len); in readAssetAsString() 240 return contents.toString(); in readAssetAsString()
|
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/picker/ |
D | ActionHandlerTest.java | 600 private void assertContent(Intent intent, Uri... contents) { in assertContent() argument 601 if (contents.length == 1) { in assertContent() 602 assertEquals(contents[0], intent.getData()); in assertContent() 610 for (int i = 0; i < contents.length; ++i) { in assertContent() 611 assertEquals(contents[i], clipData.getItemAt(i).getUri()); in assertContent()
|
/packages/apps/Car/CompanionDeviceSupport/proto/ |
D | trusted_device_message.proto | 32 // The contents of the payload are unknown. 70 // The contents of the payload are unknown.
|
/packages/apps/Test/connectivity/sl4n/rapidjson/doc/misc/ |
D | doxygenextra.css | 131 div.contents { 268 div.contents a[href ^= "http"]:after {
|
/packages/apps/Car/SystemUpdater/src/com/android/car/systemupdater/ |
D | UpdateLayoutFragment.java | 277 private static Notification createNotification(Context context, @StringRes int contents) { in createNotification() argument 290 .setContentTitle(context.getString(contents)) in createNotification()
|
/packages/modules/CaptivePortalLogin/tests/src/com/android/captiveportallogin/ |
D | DownloadServiceTest.kt | 359 val contents = InputStreamReader(fileStream, StandardCharsets.UTF_8).use { in onCreate() constant 364 view.text = contents in onCreate()
|
/packages/services/Car/service/proto/ |
D | operation_type.proto | 13 // The contents of the payload are unknown.
|