Home
last modified time | relevance | path

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

12345678

/packages/apps/Browser/src/com/android/browser/util/
DThreadedCursorAdapter.java110 LoadContainer container = (LoadContainer) msg.obj; in ThreadedCursorAdapter()
111 if (container == null) { in ThreadedCursorAdapter()
114 View view = container.view.get(); in ThreadedCursorAdapter()
116 || container.owner != ThreadedCursorAdapter.this in ThreadedCursorAdapter()
117 || container.position != msg.what in ThreadedCursorAdapter()
119 || container.generation != mGeneration) { in ThreadedCursorAdapter()
122 container.loaded = true; in ThreadedCursorAdapter()
123 bindView(view, container.bind_object); in ThreadedCursorAdapter()
145 private void loadRowObject(int position, LoadContainer container) { in loadRowObject() argument
146 if (container == null in loadRowObject()
[all …]
/packages/apps/Launcher2/src/com/android/launcher2/
DLauncherModel.java259 static void addOrMoveItemInDatabase(Context context, ItemInfo item, long container, in addOrMoveItemInDatabase() argument
261 if (item.container == ItemInfo.NO_ID) { in addOrMoveItemInDatabase()
263 addItemToDatabase(context, item, container, screen, cellX, cellY, false); in addOrMoveItemInDatabase()
266 moveItemInDatabase(context, item, container, screen, cellX, cellY); in addOrMoveItemInDatabase()
282 modelShortcut.container == shortcut.container && in checkItemInfoLocked()
341 if (item.container != LauncherSettings.Favorites.CONTAINER_DESKTOP && in updateItemInDatabaseHelper()
342 item.container != LauncherSettings.Favorites.CONTAINER_HOTSEAT) { in updateItemInDatabaseHelper()
344 if (!sBgFolders.containsKey(item.container)) { in updateItemInDatabaseHelper()
348 item.container + ", not in the list of folders"; in updateItemInDatabaseHelper()
358 if (modelItem.container == LauncherSettings.Favorites.CONTAINER_DESKTOP || in updateItemInDatabaseHelper()
[all …]
DFocusHelper.java121 private static ViewGroup getAppsCustomizePage(ViewGroup container, int index) { in getAppsCustomizePage() argument
122 ViewGroup page = (ViewGroup) ((PagedView) container).getPageAt(index); in getAppsCustomizePage()
137 final PagedView container = (PagedView) parent.getParent(); in handlePagedViewGridLayoutWidgetKeyEvent() local
138 final TabHost tabHost = findTabHostParent(container); in handlePagedViewGridLayoutWidgetKeyEvent()
142 final int pageIndex = ((PagedView) container).indexToPage(container.indexOfChild(parent)); in handlePagedViewGridLayoutWidgetKeyEvent()
143 final int pageCount = container.getChildCount(); in handlePagedViewGridLayoutWidgetKeyEvent()
164 newParent = getAppsCustomizePage(container, pageIndex - 1); in handlePagedViewGridLayoutWidgetKeyEvent()
181 newParent = getAppsCustomizePage(container, pageIndex + 1); in handlePagedViewGridLayoutWidgetKeyEvent()
219 View.OnClickListener clickListener = (View.OnClickListener) container; in handlePagedViewGridLayoutWidgetKeyEvent()
229 newParent = getAppsCustomizePage(container, pageIndex - 1); in handlePagedViewGridLayoutWidgetKeyEvent()
[all …]
DLauncher.java334 long container; field in Launcher.PendingAddArguments
599 completeAddApplication(args.intent, args.container, args.screen, args.cellX, in completeAdd()
606 completeAddShortcut(args.intent, args.container, args.screen, args.cellX, in completeAdd()
612 completeAddAppWidget(appWidgetId, args.container, args.screen, null, null); in completeAdd()
674 if (resultCode == RESULT_OK && mPendingAddInfo.container != ItemInfo.NO_ID) { in onActivityResult()
678 args.container = mPendingAddInfo.container; in onActivityResult()
709 completeAddAppWidget(appWidgetId, mPendingAddInfo.container, in completeTwoStageWidgetDrop()
953 mPendingAddInfo.container = pendingAddContainer; in restoreState()
1072 void completeAddApplication(Intent data, long container, int screen, int cellX, int cellY) { in completeAddApplication() argument
1074 final CellLayout layout = getCellLayout(container, screen); in completeAddApplication()
[all …]
DWorkspace.java492 void addInScreen(View child, long container, int screen, int x, int y, int spanX, int spanY) { in addInScreen() argument
493 addInScreen(child, container, screen, x, y, spanX, spanY, false); in addInScreen()
508 void addInScreen(View child, long container, int screen, int x, int y, int spanX, int spanY, in addInScreen() argument
510 if (container == LauncherSettings.Favorites.CONTAINER_DESKTOP) { in addInScreen()
519 if (container == LauncherSettings.Favorites.CONTAINER_HOTSEAT) { in addInScreen()
563 int childId = LauncherModel.getCellLayoutChildId(container, screen, x, y, spanX, spanY); in addInScreen()
1946 void addApplicationShortcut(ShortcutInfo info, CellLayout target, long container, int screen,
1952 addInScreen(view, container, screen, cellXY[0], cellXY[1], 1, 1, insertAtFirst);
1953 LauncherModel.addOrMoveItemInDatabase(mLauncher, info, container, screen, cellXY[0],
2093 boolean createUserFolderIfNecessary(View newView, long container, CellLayout target,
[all …]
DItemInfo.java53 long container = NO_ID; field in ItemInfo
116 container = info.container; in ItemInfo()
143 values.put(LauncherSettings.Favorites.CONTAINER, container); in onAddToDatabase()
190 return "Item(id=" + this.id + " type=" + this.itemType + " container=" + this.container in toString()
/packages/apps/Launcher3/src/com/android/launcher3/
DFocusHelper.java120 private static ViewGroup getAppsCustomizePage(ViewGroup container, int index) { in getAppsCustomizePage() argument
121 ViewGroup page = (ViewGroup) ((PagedView) container).getPageAt(index); in getAppsCustomizePage()
136 final PagedView container = (PagedView) parent.getParent(); in handlePagedViewGridLayoutWidgetKeyEvent() local
137 final TabHost tabHost = findTabHostParent(container); in handlePagedViewGridLayoutWidgetKeyEvent()
141 final int pageIndex = ((PagedView) container).indexToPage(container.indexOfChild(parent)); in handlePagedViewGridLayoutWidgetKeyEvent()
142 final int pageCount = container.getChildCount(); in handlePagedViewGridLayoutWidgetKeyEvent()
163 newParent = getAppsCustomizePage(container, pageIndex - 1); in handlePagedViewGridLayoutWidgetKeyEvent()
180 newParent = getAppsCustomizePage(container, pageIndex + 1); in handlePagedViewGridLayoutWidgetKeyEvent()
218 View.OnClickListener clickListener = (View.OnClickListener) container; in handlePagedViewGridLayoutWidgetKeyEvent()
228 newParent = getAppsCustomizePage(container, pageIndex - 1); in handlePagedViewGridLayoutWidgetKeyEvent()
[all …]
DLauncherModel.java245 if (item.container == LauncherSettings.Favorites.CONTAINER_DESKTOP) { in findNextAvailableIconSpaceInScreen()
518 static void addOrMoveItemInDatabase(Context context, ItemInfo item, long container, in addOrMoveItemInDatabase() argument
520 if (item.container == ItemInfo.NO_ID) { in addOrMoveItemInDatabase()
522 addItemToDatabase(context, item, container, screenId, cellX, cellY, false); in addOrMoveItemInDatabase()
525 moveItemInDatabase(context, item, container, screenId, cellX, cellY); in addOrMoveItemInDatabase()
541 modelShortcut.container == shortcut.container && in checkItemInfoLocked()
636 if (item.container != LauncherSettings.Favorites.CONTAINER_DESKTOP && in updateItemArrays()
637 item.container != LauncherSettings.Favorites.CONTAINER_HOTSEAT) { in updateItemArrays()
639 if (!sBgFolders.containsKey(item.container)) { in updateItemArrays()
643 item.container + ", not in the list of folders"; in updateItemArrays()
[all …]
DLauncher.java363 long container; field in Launcher.PendingAddArguments
742 completeAddApplication(args.intent, args.container, args.screenId, args.cellX, in completeAdd()
749 completeAddShortcut(args.intent, args.container, args.screenId, args.cellX, in completeAdd()
755 completeAddAppWidget(appWidgetId, args.container, args.screenId, null, null); in completeAdd()
851 if (resultCode == RESULT_OK && mPendingAddInfo.container != ItemInfo.NO_ID) { in onActivityResult()
855 args.container = mPendingAddInfo.container; in onActivityResult()
888 completeAddAppWidget(appWidgetId, mPendingAddInfo.container, in completeTwoStageWidgetDrop()
1191 mPendingAddInfo.container = pendingAddContainer; in restoreState()
1370 void completeAddApplication(Intent data, long container, long screenId, int cellX, int cellY) { in completeAddApplication() argument
1372 final CellLayout layout = getCellLayout(container, screenId); in completeAddApplication()
[all …]
DWorkspace.java921 void addInScreen(View child, long container, long screenId, in addInScreen() argument
923 addInScreen(child, container, screenId, x, y, spanX, spanY, false, false); in addInScreen()
928 void addInScreenFromBind(View child, long container, long screenId, int x, int y, in addInScreenFromBind() argument
930 addInScreen(child, container, screenId, x, y, spanX, spanY, false, true); in addInScreenFromBind()
934 void addInScreen(View child, long container, long screenId, int x, int y, int spanX, int spanY, in addInScreen() argument
936 addInScreen(child, container, screenId, x, y, spanX, spanY, insert, false); in addInScreen()
954 void addInScreen(View child, long container, long screenId, int x, int y, int spanX, int spanY, in addInScreen() argument
956 if (container == LauncherSettings.Favorites.CONTAINER_DESKTOP) { in addInScreen()
970 if (container == LauncherSettings.Favorites.CONTAINER_HOTSEAT) { in addInScreen()
2658 void addApplicationShortcut(ShortcutInfo info, CellLayout target, long container, long screenId, in addApplicationShortcut() argument
[all …]
DItemInfo.java53 long container = NO_ID; field in ItemInfo
116 container = info.container; in ItemInfo()
136 values.put(LauncherSettings.Favorites.CONTAINER, container); in onAddToDatabase()
183 return "Item(id=" + this.id + " type=" + this.itemType + " container=" + this.container in toString()
DLauncherProvider.java445 int container = values.getAsInteger(LauncherSettings.Favorites.CONTAINER); in onCreate()
446 if (container == Favorites.CONTAINER_DESKTOP) { in onCreate()
1181 long container = LauncherSettings.Favorites.CONTAINER_DESKTOP; in loadFavorites() local
1183 container = Long.valueOf(a.getString(R.styleable.Favorite_container)); in loadFavorites()
1191 values.put(LauncherSettings.Favorites.CONTAINER, container); in loadFavorites()
1204 container, screen, x, y)); in loadFavorites()
1595 int container = c.getInt(containerIndex); in migrateLauncher2Shortcuts() local
1600 + LauncherSettings.Favorites.containerToString(container) in migrateLauncher2Shortcuts()
1628 } else if (container == in migrateLauncher2Shortcuts()
1663 if (container == LauncherSettings.Favorites.CONTAINER_HOTSEAT) { in migrateLauncher2Shortcuts()
[all …]
/packages/apps/Browser/src/com/android/browser/
DBaseUi.java342 View container = tab.getViewContainer(); in attachTabToContentView() local
347 (FrameLayout) container.findViewById(R.id.webview_wrapper); in attachTabToContentView()
355 parent = (ViewGroup) container.getParent(); in attachTabToContentView()
358 parent.removeView(container); in attachTabToContentView()
360 mContentView.addView(container, COVER_SCREEN_PARAMS); in attachTabToContentView()
369 View container = tab.getViewContainer(); in removeTabFromContentView() local
377 (FrameLayout) container.findViewById(R.id.webview_wrapper); in removeTabFromContentView()
379 mContentView.removeView(container); in removeTabFromContentView()
390 View container = tab.getViewContainer(); in onSetWebView() local
391 if (container == null) { in onSetWebView()
[all …]
DPieControl.java84 protected void attachToContainer(FrameLayout container) { in attachToContainer() argument
93 container.addView(mPie); in attachToContainer()
96 protected void removeFromContainer(FrameLayout container) { in removeFromContainer() argument
97 container.removeView(mPie); in removeFromContainer()
100 protected void forceToTop(FrameLayout container) { in forceToTop() argument
102 container.removeView(mPie); in forceToTop()
103 container.addView(mPie); in forceToTop()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/
DMoreKeysKeyboardView.java82 final View container = getContainerView(); in showMoreKeysPanel() local
84 final int x = pointX - getDefaultCoordX() - container.getPaddingLeft(); in showMoreKeysPanel()
85 final int y = pointY - container.getMeasuredHeight() + container.getPaddingBottom(); in showMoreKeysPanel()
89 final int maxX = parentView.getMeasuredWidth() - container.getMeasuredWidth(); in showMoreKeysPanel()
92 container.setX(panelX); in showMoreKeysPanel()
93 container.setY(panelY); in showMoreKeysPanel()
95 mOriginX = x + container.getPaddingLeft(); in showMoreKeysPanel()
96 mOriginY = y + container.getPaddingTop(); in showMoreKeysPanel()
/packages/apps/Tag/src/com/android/apps/tag/record/
DSmartPoster.java163 LinearLayout container = new LinearLayout(activity); in getView() local
164 container.setOrientation(LinearLayout.VERTICAL); in getView()
165 container.setLayoutParams(new LayoutParams( in getView()
168 container.addView(mTitleRecord.getView(activity, inflater, container, offset)); in getView()
169 inflater.inflate(R.layout.tag_divider, container); in getView()
170 container.addView(mUriRecord.getView(activity, inflater, container, offset)); in getView()
171 return container; in getView()
DRecordUtils.java79 LinearLayout container = new LinearLayout(activity); in getViewsForIntent() local
80 container.setOrientation(LinearLayout.VERTICAL); in getViewsForIntent()
81 container.setLayoutParams(new LayoutParams( in getViewsForIntent()
90 if (container.getChildCount() > 0) { in getViewsForIntent()
91 inflater.inflate(R.layout.tag_divider, container); in getViewsForIntent()
95 container.addView(buildActivityView(activity, resolveInfo, pm, inflater, container, in getViewsForIntent()
98 return container; in getViewsForIntent()
/packages/apps/Gallery2/src/com/android/gallery3d/ingest/adapter/
DMtpPagerAdapter.java69 public void finishUpdate(ViewGroup container) { in finishUpdate() argument
71 super.finishUpdate(container); in finishUpdate()
80 public void destroyItem(ViewGroup container, int position, Object object) { in destroyItem() argument
82 container.removeView(v); in destroyItem()
88 public Object instantiateItem(ViewGroup container, int position) { in instantiateItem() argument
94 v = (MtpFullscreenView) mInflater.inflate(R.layout.ingest_fullsize, container, false); in instantiateItem()
99 container.addView(v); in instantiateItem()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/category/
DMainPanel.java90 public View onCreateView(LayoutInflater inflater, ViewGroup container, in onCreateView() argument
263 View container = mMainView.findViewById(R.id.state_panel_container); in showImageStatePanel() local
265 if (container == null) { in showImageStatePanel()
267 container = activity.getMainStatePanelContainer(R.id.state_panel_container); in showImageStatePanel()
271 if (container == null) { in showImageStatePanel()
278 container.setVisibility(View.VISIBLE); in showImageStatePanel()
285 container.setVisibility(View.GONE); in showImageStatePanel()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/editors/
DEditorPanel.java65 public View onCreateView(LayoutInflater inflater, ViewGroup container, in onCreateView() argument
123 View container = mMainView.findViewById(R.id.state_panel_container); in showImageStatePanel() local
126 if (container == null) { in showImageStatePanel()
128 container = activity.getMainStatePanelContainer(R.id.state_panel_container); in showImageStatePanel()
133 if (container == null) { in showImageStatePanel()
144 container.setVisibility(View.VISIBLE); in showImageStatePanel()
/packages/apps/UnifiedEmail/src/com/android/mail/utils/
DFragmentStatePagerAdapter2.java73 public void startUpdate(ViewGroup container) { in startUpdate() argument
77 public Object instantiateItem(ViewGroup container, int position) { in instantiateItem() argument
103 mCurTransaction.add(container.getId(), fragment); in instantiateItem()
109 public void destroyItem(ViewGroup container, int position, Object object) { in destroyItem() argument
129 public void setPrimaryItem(ViewGroup container, int position, Object object) { in setPrimaryItem() argument
143 public void finishUpdate(ViewGroup container) { in finishUpdate() argument
/packages/apps/Calculator/src/com/android/calculator2/
DCalculator.java304 public void startUpdate(View container) { in startUpdate() argument
308 public Object instantiateItem(View container, int position) { in instantiateItem() argument
310 ((ViewGroup) container).addView(page); in instantiateItem()
315 public void destroyItem(View container, int position, Object object) { in destroyItem() argument
316 ((ViewGroup) container).removeView((View) object); in destroyItem()
320 public void finishUpdate(View container) { in finishUpdate() argument
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/controller/
DColorChooser.java46 public void setUp(ViewGroup container, Parameter parameter, Editor editor) { in setUp() argument
47 container.removeAllViews(); in setUp()
48 Resources res = container.getContext().getResources(); in setUp()
52 mContext = container.getContext(); in setUp()
57 mTopView = inflater.inflate(mLayoutID, container, true); in setUp()
DSliderBrightness.java37 public void setUp(ViewGroup container, Parameter parameter, Editor editor) { in setUp() argument
38 container.removeAllViews(); in setUp()
40 Context context = container.getContext(); in setUp()
45 R.layout.filtershow_brightness, container, true); in setUp()
/packages/apps/Contacts/src/com/android/contacts/editor/
DEditorAnimator.java248 private static void getViewsBelowOfRecursive(List<View> result, ViewGroup container, in getViewsBelowOfRecursive() argument
250 for (int i = index; i < container.getChildCount(); i++) { in getViewsBelowOfRecursive()
251 View view = container.getChildAt(i); in getViewsBelowOfRecursive()
260 final ViewParent parent = container.getParent(); in getViewsBelowOfRecursive()
263 int containerIndex = parentLayout.indexOfChild(container); in getViewsBelowOfRecursive()

12345678