Home
last modified time | relevance | path

Searched refs:contents (Results 1 – 25 of 86) sorted by relevance

1234

/packages/apps/Dialer/java/com/android/dialer/spannable/
DContentWithLearnMoreSpanner.java70 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/
DSearchUtil.java32 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/
DSearchUtil.java49 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/services/Car/tests/MultiDisplayTest/src/com/google/android/car/multidisplaytest/present/
DPresentTestFragment.java167 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/Settings/src/com/android/settings/wifi/qrcode/
DQrCodeGenerator.java41 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/apps/Launcher3/src/com/android/launcher3/
DFolderInfo.java53 public ArrayList<WorkspaceItemInfo> contents = new ArrayList<WorkspaceItemInfo>(); field in FolderInfo
68 add(item, contents.size(), animate); in add()
75 rank = Utilities.boundToRange(rank, 0, contents.size()); in add()
76 contents.add(rank, item); in add()
89 contents.remove(item); in remove()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/
DMasterClear.java456 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/
DMasterClear.java455 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/apps/DocumentsUI/tests/common/com/android/documentsui/
DDocumentsProviderHelper.java141 public void writeDocument(Uri documentUri, byte[] contents) in writeDocument() argument
145 out.write(contents, 0, contents.length); in writeDocument()
150 public void writeAppendDocument(Uri documentUri, byte[] contents) in writeAppendDocument() argument
154 out.write(contents); in writeAppendDocument()
/packages/apps/TV/src/com/android/tv/menu/
DMenuLayoutManager.java177 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/
DBluetoothMediaBrowserService.java96 List<MediaItem> contents = getContents(parentMediaId); in onLoadChildren() local
97 if (contents == null) { in onLoadChildren()
100 result.sendResult(contents); in onLoadChildren()
DBrowseTree.java227 List<MediaItem> contents = new ArrayList<MediaItem>(mChildren.size()); in getContents() local
229 contents.add(child.getMediaItem()); in getContents()
231 return contents; in getContents()
/packages/modules/NetworkStack/tests/unit/src/android/net/util/
DPacketReaderTest.java151 void sendPacket(byte[] contents) throws Exception { in sendPacket() argument
154 sender.send(new DatagramPacket(contents, contents.length)); in sendPacket()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/wifi/qrcode/
DQrCodeGenerator.java35 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/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DMetadataEntryParserTest.java233 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/
DActionHandlerTest.java600 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/Test/connectivity/sl4n/rapidjson/doc/misc/
Ddoxygenextra.css131 div.contents {
268 div.contents a[href ^= "http"]:after {
/packages/apps/Car/SystemUpdater/src/com/android/car/systemupdater/
DUpdateLayoutFragment.java277 private static Notification createNotification(Context context, @StringRes int contents) { in createNotification() argument
290 .setContentTitle(context.getString(contents)) in createNotification()
/packages/apps/Launcher3/src/com/android/launcher3/model/
DLoaderTask.java749 Collections.sort(folder.contents, Folder.ITEM_POS_COMPARATOR); in loadWorkspace()
751 int size = folder.contents.size(); in loadWorkspace()
757 WorkspaceItemInfo info = folder.contents.get(rank); in loadWorkspace()
DModelWriter.java290 mBgDataModel.removeItem(mContext, info.contents); in deleteFolderAndContentsFromDatabase()
291 info.contents.clear(); in deleteFolderAndContentsFromDatabase()
/packages/apps/Launcher3/src/com/android/launcher3/folder/
DFolderIconPreviewVerifier.java52 int numItemsInFolder = info.contents.size(); in setFolderInfo()
/packages/services/Car/service/proto/
Doperation_type.proto13 // The contents of the payload are unknown.
/packages/apps/Dialer/java/com/android/dialer/voicemail/model/
Dvoicemail_entry.proto13 // Contains contents of a voicemail entry from the AnnotatedCallLog.
/packages/apps/Dialer/java/com/android/dialer/calllog/model/
Dcoalesced_row.proto14 // Contains the contents of a row from the CoalescedAnnotatedCallLog.
/packages/apps/Launcher3/src/com/android/launcher3/util/
DItemInfoMatcher.java52 for (WorkspaceItemInfo s : info.contents) { in filterItemInfos()

1234