Home
last modified time | relevance | path

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

12345678910>>...21

/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/launcher3/appprediction/
DPredictionAppTracker.java190 String container) { in onStartShortcut() argument
197 sendLaunch(target, container); in onStartShortcut()
205 container != null ? container : CONTAINER_DEFAULT) in onStartShortcut()
212 public void onStartApp(ComponentName cn, UserHandle user, String container) { in onStartApp() argument
218 sendLaunch(target, container); in onStartApp()
225 container != null ? container : CONTAINER_DEFAULT) in onStartApp()
232 public void onDismissApp(ComponentName cn, UserHandle user, String container) { in onDismissApp() argument
238 sendDismiss(target, container); in onDismissApp()
245 container != null ? container : CONTAINER_DEFAULT) in onDismissApp()
250 private void sendEvent(AppTarget target, String container, int eventId) { in sendEvent() argument
[all …]
/packages/apps/Launcher3/src/com/android/launcher3/model/
DModelWriter.java86 ItemInfo item, int container, int screenId, int cellX, int cellY) { in updateItemInfoProps() argument
87 item.container = container; in updateItemInfoProps()
92 if (container == Favorites.CONTAINER_HOTSEAT) { in updateItemInfoProps()
105 int container, int screenId, int cellX, int cellY) { in addOrMoveItemInDatabase() argument
108 addItemToDatabase(item, container, screenId, cellX, cellY); in addOrMoveItemInDatabase()
111 moveItemInDatabase(item, container, screenId, cellX, cellY); in addOrMoveItemInDatabase()
125 modelItem.container == item.container && in checkItemInfoLocked()
155 int container, int screenId, int cellX, int cellY) { in moveItemInDatabase() argument
156 updateItemInfoProps(item, container, screenId, cellX, cellY); in moveItemInDatabase()
159 .put(Favorites.CONTAINER, item.container) in moveItemInDatabase()
[all …]
DBaseLoaderResults.java193 (lhs, rhs) -> Integer.compare(lhs.container, rhs.container)); in filterCurrentWorkspaceItems()
196 if (info.container == LauncherSettings.Favorites.CONTAINER_DESKTOP) { in filterCurrentWorkspaceItems()
203 } else if (info.container == LauncherSettings.Favorites.CONTAINER_HOTSEAT) { in filterCurrentWorkspaceItems()
207 if (itemsOnScreen.contains(info.container)) { in filterCurrentWorkspaceItems()
226 if (lhs.container == rhs.container) { in sortWorkspaceItemsSpatially()
228 switch (lhs.container) { in sortWorkspaceItemsSpatially()
249 return Integer.compare(lhs.container, rhs.container); in sortWorkspaceItemsSpatially()
DBgDataModel.java135 if (item.container == LauncherSettings.Favorites.CONTAINER_DESKTOP) { in collectWorkspaceScreens()
200 if (fInfo.container == LauncherSettings.Favorites.CONTAINER_HOTSEAT) { in dumpProto()
202 } else if (fInfo.container == LauncherSettings.Favorites.CONTAINER_DESKTOP) { in dumpProto()
214 if (info.container == LauncherSettings.Favorites.CONTAINER_HOTSEAT) { in dumpProto()
216 } else if (info.container == LauncherSettings.Favorites.CONTAINER_DESKTOP) { in dumpProto()
224 if (info.container == LauncherSettings.Favorites.CONTAINER_HOTSEAT) { in dumpProto()
226 } else if (info.container == LauncherSettings.Favorites.CONTAINER_DESKTOP) { in dumpProto()
272 if (info.container == item.id) { in removeItem()
333 if (item.container == LauncherSettings.Favorites.CONTAINER_DESKTOP || in addItem()
334 item.container == LauncherSettings.Favorites.CONTAINER_HOTSEAT) { in addItem()
[all …]
/packages/apps/ThemePicker/src/com/android/customization/model/theme/custom/
DThemeComponentOption.java92 public abstract void bindPreview(ViewGroup container); in bindPreview() argument
138 public void bindPreview(ViewGroup container) { in bindPreview() argument
139 bindPreviewHeader(container, R.string.preview_name_font, R.drawable.ic_font); in bindPreview()
141 ViewGroup cardBody = container.findViewById(R.id.theme_preview_card_body_container); in bindPreview()
143 LayoutInflater.from(container.getContext()).inflate( in bindPreview()
147 TextView title = container.findViewById(R.id.font_card_title); in bindPreview()
149 TextView bodyText = container.findViewById(R.id.font_card_body); in bindPreview()
151 container.findViewById(R.id.font_card_divider).setBackgroundColor( in bindPreview()
162 void bindPreviewHeader(ViewGroup container, @StringRes int headerTextResId, in bindPreviewHeader() argument
164 TextView header = container.findViewById(R.id.theme_preview_card_header); in bindPreviewHeader()
[all …]
/packages/apps/Dialer/java/com/android/dialer/speeddial/
DDisambigDialog.java63 @VisibleForTesting public LinearLayout container; field in DisambigDialog
80 container = view.findViewById(R.id.communication_avenue_container); in onCreateDialog()
82 insertOptions(container.findViewById(R.id.communication_avenue_container), channels); in onCreateDialog()
113 private void insertOptions(LinearLayout container, List<Channel> channels) { in insertOptions() argument
118 insertDivider(container); in insertOptions()
120 insertHeader(container, channel.number(), channel.label()); in insertOptions()
122 insertOption(container, channel); in insertOptions()
126 private void insertDivider(LinearLayout container) { in insertDivider() argument
130 .inflate(R.layout.disambig_dialog_divider, container, false); in insertDivider()
131 container.addView(view); in insertDivider()
[all …]
/packages/apps/Dialer/java/com/android/dialer/calldetails/
DCallDetailsEntryViewHolder.java77 View container, CallDetailsEntryListener callDetailsEntryListener) { in CallDetailsEntryViewHolder() argument
78 super(container); in CallDetailsEntryViewHolder()
79 context = container.getContext(); in CallDetailsEntryViewHolder()
81 callTypeIcon = (CallTypeIconsView) container.findViewById(R.id.call_direction); in CallDetailsEntryViewHolder()
82 callTypeText = (TextView) container.findViewById(R.id.call_type); in CallDetailsEntryViewHolder()
83 callTime = (TextView) container.findViewById(R.id.call_time); in CallDetailsEntryViewHolder()
84 callDuration = (TextView) container.findViewById(R.id.call_duration); in CallDetailsEntryViewHolder()
86 multimediaImageContainer = container.findViewById(R.id.multimedia_image_container); in CallDetailsEntryViewHolder()
87 multimediaDetailsContainer = container.findViewById(R.id.ec_container); in CallDetailsEntryViewHolder()
88 multimediaDivider = container.findViewById(R.id.divider); in CallDetailsEntryViewHolder()
[all …]
DCallDetailsHeaderViewHolder.java70 View container, in CallDetailsHeaderViewHolder() argument
74 super(container); in CallDetailsHeaderViewHolder()
75 context = container.getContext(); in CallDetailsHeaderViewHolder()
76 callbackButton = container.findViewById(R.id.call_back_button); in CallDetailsHeaderViewHolder()
77 nameView = container.findViewById(R.id.contact_name); in CallDetailsHeaderViewHolder()
78 numberView = container.findViewById(R.id.phone_number); in CallDetailsHeaderViewHolder()
79 networkView = container.findViewById(R.id.network); in CallDetailsHeaderViewHolder()
80 contactPhoto = container.findViewById(R.id.quick_contact_photo); in CallDetailsHeaderViewHolder()
82 container.findViewById(R.id.assisted_dialing_text); in CallDetailsHeaderViewHolder()
83 assistedDialingContainer = container.findViewById(R.id.assisted_dialing_container); in CallDetailsHeaderViewHolder()
/packages/apps/Dialer/java/com/android/dialer/app/calllog/
DCallLogAlertManager.java34 private final ViewGroup container; field in CallLogAlertManager
41 container = (ViewGroup) view.findViewById(R.id.container); in CallLogAlertManager()
46 return inflater.inflate(layoutId, container, false); in inflate()
57 return container.getChildCount() == 0; in isEmpty()
61 return container.indexOfChild(view) != -1; in contains()
66 container.removeAllViews(); in clear()
75 container.addView(view); in add()
76 if (container.getChildCount() == 1) { in add()
DCallLogModalAlertManager.java37 private final ViewGroup container; field in CallLogModalAlertManager
44 container = (ViewGroup) parent.findViewById(R.id.modal_message_container); in CallLogModalAlertManager()
57 container.addView(view); in add()
63 container.removeAllViews(); in clear()
68 return container.getChildCount() == 0; in isEmpty()
72 return container.indexOfChild(view) != -1; in contains()
/packages/apps/Launcher3/src/com/android/launcher3/notification/
DNotificationItemView.java64 public NotificationItemView(PopupContainerWithArrow container) { in NotificationItemView() argument
65 mContainer = container; in NotificationItemView()
66 mContext = container.getContext(); in NotificationItemView()
68 mHeaderText = container.findViewById(R.id.notification_text); in NotificationItemView()
69 mHeaderCount = container.findViewById(R.id.notification_count); in NotificationItemView()
70 mMainView = container.findViewById(R.id.main_view); in NotificationItemView()
71 mFooter = container.findViewById(R.id.footer); in NotificationItemView()
72 mIconView = container.findViewById(R.id.popup_item_icon); in NotificationItemView()
74 mHeader = container.findViewById(R.id.header); in NotificationItemView()
75 mDivider = container.findViewById(R.id.divider); in NotificationItemView()
/packages/apps/ThemePicker/src/com/android/customization/picker/
DBasePreviewAdapter.java72 public Object instantiateItem(@NonNull ViewGroup container, int position) { in instantiateItem() argument
73 if (ViewCompat.getLayoutDirection(container) == LAYOUT_DIRECTION_RTL) { in instantiateItem()
76 CardView card = (CardView) mInflater.inflate(mPreviewCardResId, container, false); in instantiateItem()
82 container.removeView(card); in instantiateItem()
84 container.addView(card); in instantiateItem()
89 public void destroyItem(@NonNull ViewGroup container, int position, in destroyItem() argument
93 if (card.getParent() == container) { in destroyItem()
94 container.removeView(card); in destroyItem()
/packages/apps/Car/Cluster/src/android/car/cluster/
DNavStateController.java68 public NavStateController(View container) { in NavStateController() argument
69 mSectionManeuver = container.findViewById(R.id.section_maneuver); in NavStateController()
70 mSectionNavigation = container.findViewById(R.id.section_navigation); in NavStateController()
71 mSectionServiceStatus = container.findViewById(R.id.section_service_status); in NavStateController()
73 mManeuver = container.findViewById(R.id.maneuver); in NavStateController()
74 mProvidedManeuver = container.findViewById(R.id.provided_maneuver); in NavStateController()
75 mLane = container.findViewById(R.id.lane); in NavStateController()
76 mProvidedLane = container.findViewById(R.id.provided_lane); in NavStateController()
77 mDistance = container.findViewById(R.id.distance); in NavStateController()
78 mSegment = container.findViewById(R.id.segment); in NavStateController()
[all …]
/packages/apps/Launcher3/tests/tapl/com/android/launcher3/tapl/
DLauncherInstrumentation.java219 void setActiveContainer(VisibleContainer container) { in setActiveContainer() argument
220 sActiveContainer = new WeakReference<>(container); in setActiveContainer()
437 final UiObject2 container = verifyVisibleObjects(containerType); in verifyContainerType() local
441 return container; in verifyContainerType()
698 List<UiObject2> getObjectsInContainer(UiObject2 container, String resName) { in getObjectsInContainer() argument
699 return container.findObjects(getLauncherObjectSelector(resName)); in getObjectsInContainer()
703 UiObject2 waitForObjectInContainer(UiObject2 container, String resName) { in waitForObjectInContainer() argument
704 final UiObject2 object = container.wait( in waitForObjectInContainer()
708 container.getResourceName(), object); in waitForObjectInContainer()
713 UiObject2 waitForObjectInContainer(UiObject2 container, BySelector selector) { in waitForObjectInContainer() argument
[all …]
/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/services/Car/car-lib/src/android/car/drivingstate/
DCarUxRestrictionsConfiguration.java95 RestrictionModeContainer container = new RestrictionModeContainer(); in CarUxRestrictionsConfiguration() local
97 container.setRestrictionsForDriveState(drivingState, in CarUxRestrictionsConfiguration()
101 mRestrictionModes.put(mode, container); in CarUxRestrictionsConfiguration()
257 private void writeRestrictionMode(JsonWriter writer, RestrictionModeContainer container) in writeRestrictionMode() argument
261 writeRestrictionsList(writer, container.getRestrictionsForDriveState(DRIVING_STATE_PARKED)); in writeRestrictionMode()
264 writeRestrictionsList(writer, container.getRestrictionsForDriveState(DRIVING_STATE_IDLING)); in writeRestrictionMode()
267 writeRestrictionsList(writer, container.getRestrictionsForDriveState(DRIVING_STATE_MOVING)); in writeRestrictionMode()
271 container.getRestrictionsForDriveState(DRIVING_STATE_UNKNOWN)); in writeRestrictionMode()
635 RestrictionModeContainer container = new RestrictionModeContainer(); in CarUxRestrictionsConfiguration() local
639 container.setRestrictionsForDriveState(drivingState, restrictions); in CarUxRestrictionsConfiguration()
[all …]
/packages/apps/Gallery2/src/com/android/gallery3d/ingest/adapter/
DMtpPagerAdapter.java77 public void finishUpdate(ViewGroup container) { in finishUpdate() argument
79 super.finishUpdate(container); in finishUpdate()
88 public void destroyItem(ViewGroup container, int position, Object object) { in destroyItem() argument
90 container.removeView(v); in destroyItem()
96 public Object instantiateItem(ViewGroup container, int position) { in instantiateItem() argument
102 v = (MtpFullscreenView) mInflater.inflate(R.layout.ingest_fullsize, container, false); in instantiateItem()
107 container.addView(v); in instantiateItem()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/preprovisioning/terms/
DTermsActivity.java107 ExpandableListView container = findViewById(R.id.terms_container); in setUpTermsList() local
108 container.setAdapter( in setUpTermsList()
112 container::isGroupExpanded, statusBarColor)); in setUpTermsList()
113 container.expandGroup(0); // expand the 'General' section in setUpTermsList()
117 if (container.isGroupExpanded(i)) mExpandedGroupsPosition.add(i); in setUpTermsList()
121 container.setOnGroupExpandListener((int groupPosition) -> { in setUpTermsList()
124 if (i != groupPosition && container.isGroupExpanded(i)) { in setUpTermsList()
125 container.collapseGroup(i); in setUpTermsList()
/packages/apps/Dialer/java/com/android/dialer/contactsfragment/
DFastScroller.java37 private TextView container; field in FastScroller
51 container = findViewById(R.id.fast_scroller_container); in onFinishInflate()
71 container.setVisibility(VISIBLE); in onTouchEvent()
81 container.setVisibility(INVISIBLE); in onTouchEvent()
98 container.setText(adapter.getHeaderString(targetPos)); in setRecyclerViewPosition()
129 int containerHeight = container.getHeight(); in setContainerAndScrollBarPosition()
132 container.setY( in setContainerAndScrollBarPosition()
/packages/apps/Dialer/java/com/android/dialer/historyitemactions/
DHistoryItemActionBottomSheet.java121 LinearLayout container = Assert.isNotNull(findViewById(R.id.action_container)); in onCreate() local
124 container.addView(getDividerView(container)); in onCreate()
126 container.addView(getModuleView(container, module)); in onCreate()
220 private View getDividerView(ViewGroup container) { in getDividerView() argument
222 return inflater.inflate(R.layout.divider_layout, container, false); in getDividerView()
225 private View getModuleView(ViewGroup container, HistoryItemActionModule module) { in getModuleView() argument
227 View moduleView = inflater.inflate(R.layout.module_layout, container, false); in getModuleView()
/packages/apps/DeskClock/src/com/android/deskclock/
DFragmentTabPagerAdapter.java99 public void startUpdate(ViewGroup container) { in startUpdate() argument
100 if (container.getId() == View.NO_ID) { in startUpdate()
106 public Object instantiateItem(ViewGroup container, int position) { in instantiateItem() argument
118 mCurrentTransaction.add(container.getId(), fragment, tab.name()); in instantiateItem()
130 public void destroyItem(ViewGroup container, int position, Object object) { in destroyItem() argument
140 public void setPrimaryItem(ViewGroup container, int position, Object object) { in setPrimaryItem() argument
156 public void finishUpdate(ViewGroup container) { in finishUpdate() argument
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/emoji/
DEmojiPalettesAdapter.java91 public void setPrimaryItem(final ViewGroup container, final int position, in setPrimaryItem() argument
105 public Object instantiateItem(final ViewGroup container, final int position) { in instantiateItem() argument
117 final LayoutInflater inflater = LayoutInflater.from(container.getContext()); in instantiateItem()
119 R.layout.emoji_keyboard_page, container, false /* attachToRoot */); in instantiateItem()
122 container.addView(keyboardView); in instantiateItem()
133 public void destroyItem(final ViewGroup container, final int position, in destroyItem() argument
144 container.removeView((View)object); in destroyItem()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/widget/
DViewsStateBundle.java115 SparseArray<Parcelable> container = childStates.getSparseParcelableArray(key); in loadView() local
116 if (container != null) { in loadView()
117 view.restoreHierarchyState(container); in loadView()
129 SparseArray<Parcelable> container = new SparseArray<Parcelable>(); in saveViewUnchecked() local
130 view.saveHierarchyState(container); in saveViewUnchecked()
131 childStates.putSparseParcelableArray(key, container); in saveViewUnchecked()
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/inspector/
DTestMetadata.java28 static void populateExifData(Bundle container) { in populateExifData() argument
30 container.putBundle(DocumentsContract.METADATA_EXIF, data); in populateExifData()
48 static void populateVideoData(Bundle container) { in populateVideoData() argument
50 container.putBundle(Shared.METADATA_KEY_VIDEO, data); in populateVideoData()
58 static void populateAudioData(Bundle container) { in populateAudioData() argument
60 container.putBundle(Shared.METADATA_KEY_AUDIO, data); in populateAudioData()

12345678910>>...21