Home
last modified time | relevance | path

Searched refs:container (Results 1 – 25 of 31) sorted by relevance

12

/packages/apps/Launcher2/src/com/android/launcher2/
DLauncherModel.java86 static void addOrMoveItemInDatabase(Context context, ItemInfo item, long container, in addOrMoveItemInDatabase() argument
88 if (item.container == ItemInfo.NO_ID) { in addOrMoveItemInDatabase()
90 addItemToDatabase(context, item, container, screen, cellX, cellY, false); in addOrMoveItemInDatabase()
93 moveItemInDatabase(context, item, container, screen, cellX, cellY); in addOrMoveItemInDatabase()
100 static void moveItemInDatabase(Context context, ItemInfo item, long container, int screen, in moveItemInDatabase() argument
102 item.container = container; in moveItemInDatabase()
110 values.put(LauncherSettings.Favorites.CONTAINER, item.container); in moveItemInDatabase()
168 folderInfo.container = c.getInt(containerIndex); in getFolderById()
186 static void addItemToDatabase(Context context, ItemInfo item, long container, in addItemToDatabase() argument
188 item.container = container; in addItemToDatabase()
[all …]
DItemInfo.java52 long container = NO_ID; field in ItemInfo
95 container = info.container; in ItemInfo()
106 values.put(LauncherSettings.Favorites.CONTAINER, container); in onAddToDatabase()
DUserFolder.java39 && item.container != mInfo.id; in acceptDrop()
50 if (item.container == NO_ID) { in onDrop()
DDeleteZone.java94 if (item.container == -1) return; in onDrop()
96 if (item.container == LauncherSettings.Favorites.CONTAINER_DESKTOP) { in onDrop()
/packages/apps/Launcher/src/com/android/launcher/
DItemInfo.java52 long container = NO_ID; field in ItemInfo
95 container = info.container; in ItemInfo()
106 values.put(LauncherSettings.Favorites.CONTAINER, container); in onAddToDatabase()
DLauncherModel.java454 application.container = ItemInfo.NO_ID; in makeAndCacheApplicationInfo()
795 int container; in run() local
832 container = c.getInt(containerIndex); in run()
833 info.container = container; in run()
838 switch (container) { in run()
845 findOrMakeUserFolder(folders, container); in run()
859 container = c.getInt(containerIndex); in run()
860 folderInfo.container = container; in run()
865 switch (container) { in run()
888 container = c.getInt(containerIndex); in run()
[all …]
DDragLayer.java482 private DropTarget findDropTarget(ViewGroup container, int x, int y, int[] dropCoordinates) { in findDropTarget() argument
484 final int count = container.getChildCount(); in findDropTarget()
485 final int scrolledX = x + container.getScrollX(); in findDropTarget()
486 final int scrolledY = y + container.getScrollY(); in findDropTarget()
490 final View child = container.getChildAt(i); in findDropTarget()
DDeleteZone.java89 if (item.container == -1) return; in onDrop()
92 if (item.container == LauncherSettings.Favorites.CONTAINER_DESKTOP) { in onDrop()
DUserFolder.java35 … itemType == LauncherSettings.Favorites.ITEM_TYPE_SHORTCUT) && item.container != mInfo.id; in acceptDrop()
DFolderIcon.java70 && item.container != mInfo.id; in acceptDrop()
/packages/apps/Gallery/src/com/android/camera/
DOnScreenSettings.java195 Container container = new Container(mContext); in createContainer() local
196 container.setLayoutParams(lp); in createContainer()
198 mInflater.inflate(R.layout.on_screen_menu, container); in createContainer()
200 mMainPanel = container.findViewById(R.id.main_panel); in createContainer()
201 mMainMenu = (ListView) container.findViewById(R.id.menu_view); in createContainer()
202 mSubMenu = (ListView) container.findViewById(R.id.sub_menu); in createContainer()
204 container.findViewById(R.id.btn_gripper) in createContainer()
207 return container; in createContainer()
/packages/apps/Camera/src/com/android/camera/
DOnScreenSettings.java193 Container container = new Container(mContext); in createContainer() local
194 container.setLayoutParams(lp); in createContainer()
196 mInflater.inflate(R.layout.on_screen_menu, container); in createContainer()
198 mMainPanel = container.findViewById(R.id.main_panel); in createContainer()
199 mMainMenu = (ListView) container.findViewById(R.id.menu_view); in createContainer()
200 mSubMenu = (ListView) container.findViewById(R.id.sub_menu); in createContainer()
202 container.findViewById(R.id.btn_gripper) in createContainer()
205 return container; in createContainer()
/packages/apps/Gallery/tests/src/com/android/camera/gallery/
DMockImage.java23 protected void setContainer(IImageList container) { in setContainer() argument
24 this.mContainer = container; in setContainer()
/packages/apps/Camera/tests/src/com/android/camera/gallery/
DMockImage.java23 protected void setContainer(IImageList container) { in setContainer() argument
24 this.mContainer = container; in setContainer()
/packages/apps/Camera/src/com/android/camera/gallery/
DVideoObject.java42 protected VideoObject(BaseImageList container, ContentResolver cr, in VideoObject() argument
45 super(container, cr, id, index, uri, dataPath, miniThumbMagic, in VideoObject()
DDrmImageList.java60 protected DrmImage(BaseImageList container, ContentResolver cr, in DrmImage() argument
64 super(container, cr, id, index, uri, dataPath, miniThumbMagic, in DrmImage()
DImage.java44 public Image(BaseImageList container, ContentResolver cr, in Image() argument
48 super(container, cr, id, index, uri, dataPath, miniThumbMagic, in Image()
DUriImage.java39 UriImage(IImageList container, ContentResolver cr, Uri uri) { in UriImage() argument
40 mContainer = container; in UriImage()
DBaseImage.java60 protected BaseImage(BaseImageList container, ContentResolver cr, in BaseImage() argument
63 mContainer = container; in BaseImage()
/packages/apps/Gallery/src/com/android/camera/gallery/
DVideoObject.java42 protected VideoObject(BaseImageList container, ContentResolver cr, in VideoObject() argument
45 super(container, cr, id, index, uri, dataPath, miniThumbMagic, in VideoObject()
DDrmImageList.java60 protected DrmImage(BaseImageList container, ContentResolver cr, in DrmImage() argument
64 super(container, cr, id, index, uri, dataPath, miniThumbMagic, in DrmImage()
DImage.java44 public Image(BaseImageList container, ContentResolver cr, in Image() argument
48 super(container, cr, id, index, uri, dataPath, miniThumbMagic, in Image()
DUriImage.java39 UriImage(IImageList container, ContentResolver cr, Uri uri) { in UriImage() argument
40 mContainer = container; in UriImage()
DBaseImage.java60 protected BaseImage(BaseImageList container, ContentResolver cr, in BaseImage() argument
63 mContainer = container; in BaseImage()
/packages/apps/Phone/src/com/android/phone/
DEditPhoneNumberPreference.java237 ViewGroup container = (ViewGroup) dialogView in onAddEditTextToDialogView() local
241 if (container != null) { in onAddEditTextToDialogView()
242 container.addView(editText, ViewGroup.LayoutParams.FILL_PARENT, in onAddEditTextToDialogView()

12