Home
last modified time | relevance | path

Searched refs:folder (Results 1 – 25 of 130) sorted by relevance

123456

/packages/apps/Launcher3/src/com/android/launcher3/folder/
DLauncherDelegate.java16 package com.android.launcher3.folder;
54 void init(Folder folder, FolderIcon icon) { in init() argument
55 folder.setDragController(mLauncher.getDragController()); in init()
80 boolean replaceFolderWithFinalItem(Folder folder) { in replaceFolderWithFinalItem() argument
85 int itemCount = folder.getItemCount(); in replaceFolderWithFinalItem()
86 FolderInfo info = folder.mInfo; in replaceFolderWithFinalItem()
104 mLauncher.removeItem(folder.mFolderIcon, info, true /* deleteFromDb */, in replaceFolderWithFinalItem()
106 if (folder.mFolderIcon instanceof DropTarget) { in replaceFolderWithFinalItem()
107 folder.mDragController.removeDropTarget((DropTarget) folder.mFolderIcon); in replaceFolderWithFinalItem()
122 ((Optional<InstanceId>) folder.mDragController.getLogInstanceId()) in replaceFolderWithFinalItem()
[all …]
DFolderAnimationManager.java17 package com.android.launcher3.folder;
23 import static com.android.launcher3.folder.ClippedFolderIconLayoutRule.MAX_NUM_ITEMS_IN_PREVIEW;
91 public FolderAnimationManager(Folder folder, boolean isOpening) { in FolderAnimationManager() argument
92 mFolder = folder; in FolderAnimationManager()
93 mContent = folder.mContent; in FolderAnimationManager()
96 mFolderIcon = folder.mFolderIcon; in FolderAnimationManager()
99 mContext = folder.getContext(); in FolderAnimationManager()
100 mDeviceProfile = folder.mActivityContext.getDeviceProfile(); in FolderAnimationManager()
DFolderIcon.java17 package com.android.launcher3.folder;
20 import static com.android.launcher3.folder.ClippedFolderIconLayoutRule.ICON_OVERLAP_FACTOR;
21 import static com.android.launcher3.folder.ClippedFolderIconLayoutRule.MAX_NUM_ITEMS_IN_PREVIEW;
22 import static com.android.launcher3.folder.PreviewItemManager.INITIAL_ITEM_ANIMATION_DURATION;
174 Folder folder = Folder.fromXml(activityContext); in inflateFolderAndIcon() local
177 folder.setFolderIcon(icon); in inflateFolderAndIcon()
178 folder.bind(folderInfo); in inflateFolderAndIcon()
179 icon.setFolder(folder); in inflateFolderAndIcon()
259 private void setFolder(Folder folder) { in setFolder() argument
260 mFolder = folder; in setFolder()
/packages/apps/Dialer/java/com/android/voicemail/impl/imap/
DImapHelper.java69 private ImapFolder folder; field in ImapHelper
186 folder = openImapFolder(ImapFolder.MODE_READ_WRITE); in setFlags()
187 if (folder != null) { in setFlags()
188 folder.setFlags(convertToImapMessages(voicemails), flags, true); in setFlags()
209 folder = openImapFolder(ImapFolder.MODE_READ_WRITE); in fetchAllVoicemails()
210 if (folder == null) { in fetchAllVoicemails()
216 messages = folder.getMessages(null); in fetchAllVoicemails()
247 folder.fetch(new Message[] {messageDetails}, fetchProfile, listener); in getVoicemailFromMessageStructure()
309 folder.fetch(new Message[] {message}, fetchProfile, listener); in fetchMessageStructure()
315 folder = openImapFolder(ImapFolder.MODE_READ_WRITE); in fetchVoicemailPayload()
[all …]
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/mapclient/obex/
DRequestPushMessage.java37 private RequestPushMessage(String folder) { in RequestPushMessage() argument
39 if (folder == null) { in RequestPushMessage()
40 folder = ""; in RequestPushMessage()
42 mHeaderSet.setHeader(HeaderSet.NAME, folder); in RequestPushMessage()
46 String folder, Bmessage msg, CharsetType charset, boolean transparent, boolean retry) { in RequestPushMessage() argument
47 this(folder); in RequestPushMessage()
/packages/apps/Car/DebuggingRestrictionController/server/
Dgenkey.sh39 folder=$(mktemp -d)
40 req="$folder/token_signing-${date}.req"
41 key="$folder/token_signing-${date}.key"
42 signed="$folder/token_signing-${date}.pem"
75 rm -rf "$folder"
/packages/apps/Launcher3/tests/src/com/android/launcher3/dragging/
DTaplDragTest.java75 Folder folder = folderIcon.open(); in testDragToFolder() local
76 folder.getAppIcon(STORE_APP_NAME); in testDragToFolder()
77 folder.getAppIcon(PHOTOS_APP_NAME); in testDragToFolder()
78 Workspace workspace = folder.close(); in testDragToFolder()
86 folder = mapIcon.dragToFolder(folderIcon); in testDragToFolder()
87 folder.getAppIcon(MAPS_APP_NAME); in testDragToFolder()
88 workspace = folder.close(); in testDragToFolder()
104 Folder folder = folderIcon.open(); in testDragOutOfFolder() local
105 folder.getAppIcon(STORE_APP_NAME).internalDragToWorkspace(false, false); in testDragOutOfFolder()
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/mapclient/
DEventReportTest.java44 String folder = "test_folder"; in fromStream() local
52 xml.append("folder=\"" + folder + "\"\n"); in fromStream()
64 assertThat(report.getFolder()).isEqualTo(folder); in fromStream()
86 String folder = "test_folder"; in fromStreamWithDateTime() local
95 xml.append("folder=\"" + folder + "\"\n"); in fromStreamWithDateTime()
108 assertThat(report.getFolder()).isEqualTo(folder); in fromStreamWithDateTime()
DRequestGetMessagesListingForOwnNumberTest.java79 String folder, in createMessageFolder() argument
88 Log.d(TAG, "Folder [" + folder + "] created with (" + list.size() + ") msgs"); in createMessageFolder()
91 Log.d(TAG, "Target element added to [" + folder + "] at (" + position + ") index"); in createMessageFolder()
94 if (folder != null) { in createMessageFolder()
95 mFolders.put(folder, list); in createMessageFolder()
100 String folder, int offset, int maxCount, byte msgTypeFilter) { in getMessageListingAsInputStream() argument
101 List<BluetoothMapMessageListingElement> folderElements = mFolders.get(folder); in getMessageListingAsInputStream()
/packages/apps/Launcher3/protos/
Dlauncher_atom.proto68 FolderContainer folder = 3; field
160 DEFAULT_LAYOUT = 1; // icon automatically placed in workspace, folder, hotseat
265 // Represents folder in a closed state.
267 // Number of items inside folder.
270 // State of the folder label before the event.
273 // State of the folder label after the event.
276 // Details about actual folder label.
277 // Populated when folder label is not a PII.
333 // Used when a FromState is not applicable, for example, during folder creation.
337 // Eg: When a folder label is updated from empty string.
[all …]
/packages/apps/Launcher3/src/com/android/launcher3/util/
DLauncherBindableItemsContainer.java23 import com.android.launcher3.folder.Folder;
24 import com.android.launcher3.folder.FolderIcon;
101 Folder folder = Folder.getOpen(context); in updateRestoreItems() local
102 if (folder != null) { in updateRestoreItems()
103 folder.iterateOverItems(op); in updateRestoreItems()
/packages/modules/Bluetooth/system/packet/tests/avrcp/
Dget_folder_items_packet_test.cc73 auto folder = FolderItem(0x0000000000000001, 0x00, true, "Test Folder"); in TEST() local
74 builder->AddFolder(folder); in TEST()
81 auto folder = FolderItem(0x0000000000000001, 0x00, true, "Test Folder"); in TEST() local
82 builder->AddFolder(folder); in TEST()
192 auto folder = FolderItem(0x01, 0x00, true, "test folder"); in TEST() local
201 ASSERT_DEATH(builder->AddFolder(folder), "scope_ == Scope::VFS"); in TEST()
224 ASSERT_DEATH(builder->AddFolder(folder), "scope_ == Scope::VFS"); in TEST()
/packages/apps/Dialer/java/com/android/voicemail/impl/mail/store/
DImapStore.java104 private ImapFolder folder; field in ImapStore.ImapMessage
106 ImapMessage(String uid, ImapFolder folder) { in ImapMessage() argument
108 this.folder = folder; in ImapMessage()
127 folder.setFlags(new Message[] {this}, new String[] {flag}, set); in setFlag()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/audio_util/helpers/
DListItem.java21 public Folder folder; field in ListItem
26 folder = f; in ListItem()
37 return new ListItem(folder.clone()); in clone()
/packages/apps/Launcher3/src/com/android/launcher3/touch/
DItemLongClickListener.java39 import com.android.launcher3.folder.Folder;
86 Folder folder = Folder.getOpen(launcher); in beginDrag() local
87 if (folder != null) { in beginDrag()
88 if (!folder.getIconsInReadingOrder().contains(v)) { in beginDrag()
89 folder.close(true); in beginDrag()
91 folder.startDrag(v, dragOptions); in beginDrag()
DItemClickHandler.java51 import com.android.launcher3.folder.Folder;
52 import com.android.launcher3.folder.FolderIcon;
153 Folder folder = ((FolderIcon) v).getFolder(); in onClickFolderIcon() local
154 if (!folder.isOpen() && !folder.isDestroyed()) { in onClickFolderIcon()
156 folder.animateOpen(); in onClickFolderIcon()
157 StatsLogManager.newInstance(v.getContext()).logger().withItemInfo(folder.mInfo) in onClickFolderIcon()
/packages/modules/Bluetooth/system/tools/scripts/
Ddump_hearingaid_audio.py66 folder = None variable
353 if folder is not None:
354 if not os.path.exists(folder):
355 os.makedirs(folder)
356 audio_file_name = os.path.join(folder, "-".join(file_name_list) + file_type)
359 debug_file_name = os.path.join(folder, file_prefix + "-".join(file_name_list) + ".txt")
552 if arg.folder is not None:
553 global folder
554 folder = arg.folder
/packages/modules/Bluetooth/system/stack/avrc/
Davrc_pars_ct.cc307 tAVRC_ITEM_FOLDER* folder = &(curr_item->u.folder); in avrc_pars_browse_rsp() local
313 BE_STREAM_TO_ARRAY(p, folder->uid, AVRC_UID_SIZE); in avrc_pars_browse_rsp()
314 BE_STREAM_TO_UINT8(folder->type, p); in avrc_pars_browse_rsp()
315 BE_STREAM_TO_UINT8(folder->playable, p); in avrc_pars_browse_rsp()
320 BE_STREAM_TO_UINT16(folder->name.charset_id, p); in avrc_pars_browse_rsp()
321 BE_STREAM_TO_UINT16(folder->name.str_len, p); in avrc_pars_browse_rsp()
322 min_len += folder->name.str_len; in avrc_pars_browse_rsp()
324 folder->name.p_str = (uint8_t*)osi_calloc( in avrc_pars_browse_rsp()
325 (folder->name.str_len + 1) * sizeof(uint8_t)); in avrc_pars_browse_rsp()
326 BE_STREAM_TO_ARRAY(p, folder->name.p_str, folder->name.str_len); in avrc_pars_browse_rsp()
[all …]
/packages/modules/ImsMedia/test/
DREADME.md10 Build `app` and `imsmediahal` under `test\` folder
18 #### 2.1 Install test app from out folder and run
39 #### 2.3 Push imsmediahal apk into device from out folder
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/clipping/
DClipStorageTest.java58 public TemporaryFolder folder = new TemporaryFolder(); field in ClipStorageTest
70 File clipDir = ClipStorage.prepareStorage(folder.getRoot()); in setUp()
145 File clipDir = ClipStorage.prepareStorage(folder.getRoot()); in testPrepareStorage_CreatesDir()
148 assertFalse(clipDir.equals(folder.getRoot())); in testPrepareStorage_CreatesDir()
/packages/apps/Launcher3/tests/src/com/android/launcher3/folder/
DPreviewBackgroundTest.java16 package com.android.launcher3.folder;
18 import static com.android.launcher3.folder.PreviewBackground.ACCEPT_SCALE_FACTOR;
19 import static com.android.launcher3.folder.PreviewBackground.CONSUMPTION_ANIMATION_DURATION;
20 import static com.android.launcher3.folder.PreviewBackground.HOVER_ANIMATION_DURATION;
21 import static com.android.launcher3.folder.PreviewBackground.HOVER_SCALE;
/packages/modules/AdServices/adservices/linter/documentation/
DBackCompatNewFileDetector.md24 1. Any folder that begins with adservices will be deleted completely (i.e., all files, recursive).
25 2. Any file in any folder that begins with adservices, even if the folder name does not have adserv…
36 … of that happening, all new files and databases should be added to a sub-folder named adservices-d…
38 …t will ensure that the location of the files & databases lie within the adservices-data sub-folder.
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/taskbar/
DTaskbarPopupController.java35 import com.android.launcher3.folder.Folder;
36 import com.android.launcher3.folder.FolderIcon;
133 Folder folder = Folder.getOpen(mContext); in updateNotificationDots() local
134 if (folder != null) { in updateNotificationDots()
135 folder.iterateOverItems(op); in updateNotificationDots()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/map/
DBluetoothMapFolderElement.java154 long id, BluetoothMapFolderElement folder) { in findFolderById() argument
155 if (folder.getFolderId() == id) { in findFolderById()
156 return folder; in findFolderById()
160 folder.mSubFolders in findFolderById()
162 .toArray(new BluetoothMapFolderElement[folder.mSubFolders.size()])) { in findFolderById()
/packages/apps/Car/SystemUpdater/src/com/android/car/systemupdater/
DDeviceListFragment.java198 private void showFolderContent(File folder) { in showFolderContent() argument
199 if (!folder.isDirectory()) { in showFolderContent()
207 mCurrentPathView.setText(getString(R.string.path, folder.getAbsolutePath())); in showFolderContent()
226 }.execute(folder); in showFolderContent()

123456