/packages/apps/Launcher3/src/com/android/launcher3/model/ |
D | ModelWriter.java | 84 ItemInfo item, int container, int screenId, int cellX, int cellY) { in updateItemInfoProps() argument 85 item.container = container; in updateItemInfoProps() 90 if (container == Favorites.CONTAINER_HOTSEAT) { in updateItemInfoProps() 103 int container, int screenId, int cellX, int cellY) { in addOrMoveItemInDatabase() argument 104 if (item.container == ItemInfo.NO_ID) { in addOrMoveItemInDatabase() 106 addItemToDatabase(item, container, screenId, cellX, cellY); in addOrMoveItemInDatabase() 109 moveItemInDatabase(item, container, screenId, cellX, cellY); in addOrMoveItemInDatabase() 123 modelItem.container == item.container && in checkItemInfoLocked() 153 int container, int screenId, int cellX, int cellY) { in moveItemInDatabase() argument 154 updateItemInfoProps(item, container, screenId, cellX, cellY); in moveItemInDatabase() [all …]
|
D | BaseLoaderResults.java | 193 (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()
|
D | BgDataModel.java | 128 if (item.container == LauncherSettings.Favorites.CONTAINER_DESKTOP) { in collectWorkspaceScreens() 193 if (fInfo.container == LauncherSettings.Favorites.CONTAINER_HOTSEAT) { in dumpProto() 195 } else if (fInfo.container == LauncherSettings.Favorites.CONTAINER_DESKTOP) { in dumpProto() 207 if (info.container == LauncherSettings.Favorites.CONTAINER_HOTSEAT) { in dumpProto() 209 } else if (info.container == LauncherSettings.Favorites.CONTAINER_DESKTOP) { in dumpProto() 217 if (info.container == LauncherSettings.Favorites.CONTAINER_HOTSEAT) { in dumpProto() 219 } else if (info.container == LauncherSettings.Favorites.CONTAINER_DESKTOP) { in dumpProto() 265 if (info.container == item.id) { in removeItem() 326 if (item.container == LauncherSettings.Favorites.CONTAINER_DESKTOP || in addItem() 327 item.container == LauncherSettings.Favorites.CONTAINER_HOTSEAT) { in addItem() [all …]
|
/packages/apps/ThemePicker/src/com/android/customization/model/theme/custom/ |
D | ThemeComponentOption.java | 92 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/ |
D | DisambigDialog.java | 63 @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/ |
D | CallDetailsEntryViewHolder.java | 77 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 …]
|
D | CallDetailsHeaderViewHolder.java | 70 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/ |
D | CallLogAlertManager.java | 34 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()
|
D | CallLogModalAlertManager.java | 37 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/ |
D | NotificationItemView.java | 64 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/ |
D | BasePreviewAdapter.java | 72 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/Tag/src/com/android/apps/tag/record/ |
D | SmartPoster.java | 163 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()
|
D | RecordUtils.java | 79 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/ |
D | MtpPagerAdapter.java | 77 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/ |
D | TermsActivity.java | 107 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/ |
D | FastScroller.java | 37 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/ |
D | HistoryItemActionBottomSheet.java | 121 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/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/emoji/ |
D | EmojiPalettesAdapter.java | 91 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/DeskClock/src/com/android/deskclock/ |
D | FragmentTabPagerAdapter.java | 99 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/apps/TvSettings/Settings/src/com/android/tv/settings/widget/ |
D | ViewsStateBundle.java | 115 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/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/ |
D | MoreKeysKeyboardView.java | 126 final View container = getContainerView(); in showMoreKeysPanel() local 129 final int x = pointX - getDefaultCoordX() - container.getPaddingLeft() - getPaddingLeft(); in showMoreKeysPanel() 130 final int y = pointY - container.getMeasuredHeight() + container.getPaddingBottom() in showMoreKeysPanel() 135 final int maxX = parentView.getMeasuredWidth() - container.getMeasuredWidth(); in showMoreKeysPanel() 138 container.setX(panelX); in showMoreKeysPanel() 139 container.setY(panelY); in showMoreKeysPanel() 141 mOriginX = x + container.getPaddingLeft(); in showMoreKeysPanel() 142 mOriginY = y + container.getPaddingTop(); in showMoreKeysPanel()
|
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/inspector/ |
D | TestMetadata.java | 28 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()
|
/packages/apps/Car/Cluster/src/android/car/cluster/ |
D | NavStateController.java | 63 public NavStateController(View container) { in NavStateController() argument 64 mManeuver = container.findViewById(R.id.maneuver); in NavStateController() 65 mProvidedManeuver = container.findViewById(R.id.provided_maneuver); in NavStateController() 66 mLane = container.findViewById(R.id.lane); in NavStateController() 67 mProvidedLane = container.findViewById(R.id.provided_lane); in NavStateController() 68 mDistance = container.findViewById(R.id.distance); in NavStateController() 69 mSegment = container.findViewById(R.id.segment); in NavStateController() 70 mEta = container.findViewById(R.id.eta); in NavStateController() 71 mCue = container.findViewById(R.id.cue); in NavStateController() 73 mContext = container.getContext(); in NavStateController()
|
/packages/apps/Launcher3/tests/tapl/com/android/launcher3/tapl/ |
D | LauncherInstrumentation.java | 200 void setActiveContainer(VisibleContainer container) { in setActiveContainer() argument 201 sActiveContainer = new WeakReference<>(container); in setActiveContainer() 574 UiObject2 getObjectInContainer(UiObject2 container, BySelector selector) { in getObjectInContainer() argument 575 final UiObject2 object = container.findObject(selector); in getObjectInContainer() 581 List<UiObject2> getObjectsInContainer(UiObject2 container, String resName) { in getObjectsInContainer() argument 582 return container.findObjects(getLauncherObjectSelector(resName)); in getObjectsInContainer() 586 UiObject2 waitForObjectInContainer(UiObject2 container, String resName) { in waitForObjectInContainer() argument 587 final UiObject2 object = container.wait( in waitForObjectInContainer() 591 container.getResourceName(), object); in waitForObjectInContainer() 596 UiObject2 waitForObjectInContainer(UiObject2 container, BySelector selector) { in waitForObjectInContainer() argument [all …]
|
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/launcher3/appprediction/ |
D | PredictionAppTracker.java | 171 String container) { in onStartShortcut() argument 177 sendLaunch(target, container); in onStartShortcut() 182 public void onStartApp(ComponentName cn, UserHandle user, String container) { in onStartApp() argument 188 sendLaunch(target, container); in onStartApp() 193 private void sendLaunch(AppTarget target, String container) { in sendLaunch() argument 195 .setLaunchLocation(container == null ? CONTAINER_DEFAULT : container) in sendLaunch()
|