Home
last modified time | relevance | path

Searched refs:mHeaderView (Results 1 – 14 of 14) sorted by relevance

/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/users/
DRestrictedProfileSettings.java40 private View mHeaderView; field in RestrictedProfileSettings
61 mHeaderView = setPinnedHeaderView(R.layout.user_info_header); in onActivityCreated()
62 mHeaderView.setOnClickListener(this); in onActivityCreated()
63 mUserIconView = (ImageView) mHeaderView.findViewById(android.R.id.icon); in onActivityCreated()
64 mUserNameView = (TextView) mHeaderView.findViewById(android.R.id.title); in onActivityCreated()
65 mDeleteButton = (ImageView) mHeaderView.findViewById(R.id.delete); in onActivityCreated()
86 ((TextView) mHeaderView.findViewById(android.R.id.title)).setText(info.name); in onResume()
87 ((ImageView) mHeaderView.findViewById(android.R.id.icon)).setImageDrawable( in onResume()
107 if (view == mHeaderView) { in onClick()
/packages/apps/Settings/src/com/android/settings/users/
DRestrictedProfileSettings.java40 private View mHeaderView; field in RestrictedProfileSettings
61 mHeaderView = setPinnedHeaderView(R.layout.user_info_header); in onActivityCreated()
62 mHeaderView.setOnClickListener(this); in onActivityCreated()
63 mUserIconView = (ImageView) mHeaderView.findViewById(android.R.id.icon); in onActivityCreated()
64 mUserNameView = (TextView) mHeaderView.findViewById(android.R.id.title); in onActivityCreated()
65 mDeleteButton = (ImageView) mHeaderView.findViewById(R.id.delete); in onActivityCreated()
86 ((TextView) mHeaderView.findViewById(android.R.id.title)).setText(info.name); in onResume()
87 ((ImageView) mHeaderView.findViewById(android.R.id.icon)).setImageDrawable( in onResume()
107 if (view == mHeaderView) { in onClick()
/packages/apps/Gallery2/src/com/android/photos/
DAlbumFragment.java53 private View mHeaderView; field in AlbumFragment
82 if (mHeaderView == null) { in updateHeaderView()
83 mHeaderView = LayoutInflater.from(getActivity()) in updateHeaderView()
85 ((HeaderGridView) getGridView()).addHeaderView(mHeaderView, null, false); in updateHeaderView()
88 mHeaderView.setMinimumHeight(200); in updateHeaderView()
90 ImageView iv = (ImageView) mHeaderView.findViewById(R.id.album_header_image); in updateHeaderView()
91 TextView title = (TextView) mHeaderView.findViewById(R.id.album_header_title); in updateHeaderView()
92 TextView subtitle = (TextView) mHeaderView.findViewById(R.id.album_header_subtitle); in updateHeaderView()
/packages/apps/Contacts/src/com/android/contacts/list/
DContactListItemView.java176 private View mHeaderView; field in ContactListItemView
598 if (mHeaderView != null && mHeaderView.getVisibility() == VISIBLE) { in onMeasure()
599 mHeaderView.measure( in onMeasure()
622 if (mHeaderView != null) { in onLayout()
623 int headerHeight = mHeaderView.getMeasuredHeight(); in onLayout()
626 mHeaderView.layout( in onLayout()
984 if (mHeaderView == null) { in setSectionHeader()
986 } else if (mHeaderView instanceof TextView) { in setSectionHeader()
987 removeView(mHeaderView); in setSectionHeader()
990 mHeaderView.setVisibility(View.VISIBLE); in setSectionHeader()
[all …]
/packages/apps/Car/Notification/src/com/android/car/notification/template/
DCarNotificationBaseViewHolder.java47 private final CarNotificationHeaderView mHeaderView; field in CarNotificationBaseViewHolder
91 mHeaderView = itemView.findViewById(R.id.notification_header); in CarNotificationBaseViewHolder()
131 bindHeader(mHeaderView, isInGroup); in bind()
252 if (mHeaderView != null) { in reset()
253 mHeaderView.reset(); in reset()
DNavigationNotificationViewHolder.java34 private final CarNotificationHeaderView mHeaderView; field in NavigationNotificationViewHolder
41 mHeaderView = view.findViewById(R.id.notification_header); in NavigationNotificationViewHolder()
54 mHeaderView.bind(statusBarNotification, isInGroup); in bind()
DBasicNotificationViewHolder.java32 private final CarNotificationHeaderView mHeaderView; field in BasicNotificationViewHolder
40 mHeaderView = view.findViewById(R.id.notification_header); in BasicNotificationViewHolder()
54 mHeaderView.bind(statusBarNotification, isInGroup); in bind()
DInboxNotificationViewHolder.java32 private final CarNotificationHeaderView mHeaderView; field in InboxNotificationViewHolder
40 mHeaderView = view.findViewById(R.id.notification_header); in InboxNotificationViewHolder()
54 mHeaderView.bind(statusBarNotification, isInGroup); in bind()
DCallNotificationViewHolder.java34 private final CarNotificationHeaderView mHeaderView; field in CallNotificationViewHolder
43 mHeaderView = view.findViewById(R.id.notification_header); in CallNotificationViewHolder()
54 mHeaderView.bind(statusBarNotification, isInGroup); in bind()
DMessageNotificationViewHolder.java46 private final CarNotificationHeaderView mHeaderView; field in MessageNotificationViewHolder
60 mHeaderView = view.findViewById(R.id.notification_header); in MessageNotificationViewHolder()
84 mHeaderView.bind(statusBarNotification, isInGroup); in bind()
96 mHeaderView.bind(statusBarNotification, isInGroup); in bindRestricted()
DEmergencyNotificationViewHolder.java35 private final CarNotificationHeaderView mHeaderView; field in EmergencyNotificationViewHolder
46 mHeaderView = view.findViewById(R.id.notification_header); in EmergencyNotificationViewHolder()
69 mHeaderView.bind(statusBarNotification, isInGroup); in bind()
DProgressNotificationViewHolder.java36 private final CarNotificationHeaderView mHeaderView; field in ProgressNotificationViewHolder
47 mHeaderView = view.findViewById(R.id.notification_header); in ProgressNotificationViewHolder()
64 mHeaderView.bind(statusBarNotification, isInGroup); in bind()
/packages/apps/Settings/src/com/android/settings/
DTrustedCredentialsSettings.java548 private ViewGroup mHeaderView; field in TrustedCredentialsSettings.ChildAdapter
602 mHeaderView = (ViewGroup) mContainerView.findViewById(R.id.header_view); in setContainerView()
603 mHeaderView.setOnClickListener(this); in setContainerView()
605 mIndicatorView = (ImageView) mHeaderView.findViewById(R.id.group_indicator); in setContainerView()
609 mHeaderView.findViewById(R.id.header_content_container); in setContainerView()
616 mHeaderView.setVisibility(showHeader ? View.VISIBLE : View.GONE); in showHeader()
620 View dividerView = mHeaderView.findViewById(R.id.header_divider); in showDivider()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/
DTrustedCredentialsSettings.java548 private ViewGroup mHeaderView; field in TrustedCredentialsSettings.ChildAdapter
602 mHeaderView = (ViewGroup) mContainerView.findViewById(R.id.header_view); in setContainerView()
603 mHeaderView.setOnClickListener(this); in setContainerView()
605 mIndicatorView = (ImageView) mHeaderView.findViewById(R.id.group_indicator); in setContainerView()
609 mHeaderView.findViewById(R.id.header_content_container); in setContainerView()
616 mHeaderView.setVisibility(showHeader ? View.VISIBLE : View.GONE); in showHeader()
620 View dividerView = mHeaderView.findViewById(R.id.header_divider); in showDivider()