Home
last modified time | relevance | path

Searched refs:mHeader (Results 1 – 25 of 36) sorted by relevance

12

/packages/apps/UnifiedEmail/src/com/android/mail/browse/
DConversationItemView.java183 private ConversationItemViewModel mHeader; field in ConversationItemView
510 if (mHeader != null) { in bind()
512 final boolean newlyBound = header.conversation.id != mHeader.conversation.id; in bind()
515 if (newlyBound || (!mHeader.displayableNames.equals(header.displayableNames))) { in bind()
527 mHeader = header; in bind()
551 if (mHeader.folderDisplayer == null) { in bind()
552 mHeader.folderDisplayer = new ConversationItemFolderDisplayer(mContext, in bind()
555 mHeader.folderDisplayer.reset(); in bind()
567 mHeader.folderDisplayer.loadConversationFolders(mHeader.conversation, in bind()
571 if (mHeader.showDateText) { in bind()
[all …]
/packages/apps/PermissionController/src/com/android/packageinstaller/permission/ui/handheld/
DSettingsWithLargeHeader.java40 private View mHeader; field in SettingsWithLargeHeader
53 if (mHeader == null) { in onCreateView()
54 mHeader = inflater.inflate(R.layout.header_large, root, false); in onCreateView()
55 getPreferencesContainer().addView(mHeader, 0); in onCreateView()
56 } else if (mHeader.getVisibility() == View.VISIBLE) { in onCreateView()
57 ((ViewGroup) mHeader.getParent()).removeView(mHeader); in onCreateView()
58 getPreferencesContainer().addView(mHeader, 0); in onCreateView()
59 updateHeader(mHeader); in onCreateView()
60 mHeader.requireViewById(R.id.header_link).setVisibility(View.VISIBLE); in onCreateView()
82 updateHeader(mHeader); in setHeader()
[all …]
DSettingsWithHeader.java36 private View mHeader; field in SettingsWithHeader
48 mHeader = inflater.inflate(R.layout.header, root, false); in onCreateView()
49 getPreferencesContainer().addView(mHeader, 0); in onCreateView()
66 if (mHeader != null) { in updateHeader()
67 final ImageView appIcon = (ImageView) mHeader.findViewById(R.id.icon); in updateHeader()
70 final TextView appName = (TextView) mHeader.findViewById(R.id.name); in updateHeader()
73 final View info = mHeader.findViewById(R.id.info); in updateHeader()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/widget/
DEntityHeaderController.java78 private final View mHeader; field in EntityHeaderController
120 mHeader = header; in EntityHeaderController()
122 mHeader = LayoutInflater.from(fragment.getContext()) in EntityHeaderController()
248 ImageView iconView = mHeader.findViewById(R.id.entity_header_icon); in done()
258 mHeader.getResources().getString(R.string.install_type_instant)); in done()
265 return mHeader; in done()
272 final View entityHeaderContent = mHeader.findViewById(R.id.entity_header_content); in bindHeaderButtons()
273 final ImageButton button1 = mHeader.findViewById(android.R.id.button1); in bindHeaderButtons()
274 final ImageButton button2 = mHeader.findViewById(android.R.id.button2); in bindHeaderButtons()
379 TextView textView = mHeader.findViewById(id); in setText()
/packages/apps/Settings/src/com/android/settings/widget/
DEntityHeaderController.java78 private final View mHeader; field in EntityHeaderController
120 mHeader = header; in EntityHeaderController()
122 mHeader = LayoutInflater.from(fragment.getContext()) in EntityHeaderController()
248 ImageView iconView = mHeader.findViewById(R.id.entity_header_icon); in done()
258 mHeader.getResources().getString(R.string.install_type_instant)); in done()
265 return mHeader; in done()
272 final View entityHeaderContent = mHeader.findViewById(R.id.entity_header_content); in bindHeaderButtons()
273 final ImageButton button1 = mHeader.findViewById(android.R.id.button1); in bindHeaderButtons()
274 final ImageButton button2 = mHeader.findViewById(android.R.id.button2); in bindHeaderButtons()
379 TextView textView = mHeader.findViewById(id); in setText()
/packages/apps/UnifiedEmail/src/com/android/emailcommon/internet/
DMimeBodyPart.java34 protected MimeHeader mHeader = new MimeHeader(); field in MimeBodyPart
60 return mHeader.getFirstHeader(name); in getFirstHeader()
65 mHeader.addHeader(name, value); in addHeader()
70 mHeader.setHeader(name, value); in setHeader()
75 return mHeader.getHeader(name); in getHeader()
80 mHeader.removeHeader(name); in removeHeader()
201 mHeader.writeTo(out); in writeTo()
DMimeMessage.java56 private MimeHeader mHeader; field in MimeMessage
90 mHeader = null; in MimeMessage()
160 if (mHeader == null) { in getMimeHeaders()
161 mHeader = new MimeHeader(); in getMimeHeaders()
163 return mHeader; in getMimeHeaders()
/packages/apps/Contacts/src/com/android/contacts/list/
DIndexerListAdapter.java33 private View mHeader; field in IndexerListAdapter
140 if (mHeader == null) { in getPinnedHeaderView()
141 mHeader = createPinnedSectionHeaderView(mContext, parent); in getPinnedHeaderView()
143 return mHeader; in getPinnedHeaderView()
179 mHeader.setMinimumHeight(topChild.getMeasuredHeight()); in configurePinnedHeaders()
181 setPinnedSectionTitle(mHeader, (String)mIndexer.getSections()[section]); in configurePinnedHeaders()
/packages/apps/PermissionController/src/com/android/packageinstaller/permission/ui/television/
DSettingsWithHeader.java34 private View mHeader; field in SettingsWithHeader
45 mHeader = inflater.inflate(R.layout.header, root, false); in onCreateView()
46 getPreferencesContainer().addView(mHeader, 0); in onCreateView()
62 return mHeader; in getHeader()
66 final TextView decorTitle = (TextView) mHeader.findViewById(R.id.decor_title); in updateHeader()
/packages/apps/Launcher3/src/com/android/launcher3/allapps/
DAllAppsContainerView.java92 private FloatingHeaderView mHeader; field in AllAppsContainerView
259 mHeader.reset(animate); in reset()
277 mHeader = findViewById(R.id.all_apps_header); in onFinishInflate()
354 return mSpringViews.get(getSearchView().getId()) ? 0 : mHeader.getTop(); in getCanvasClipTopForOverscroll()
411 mHeader.setMainActive(pos == 0); in onTabChanged()
452 return mHeader; in getFloatingHeaderView()
469 mHeader.setVisibility(View.VISIBLE); in setupHeader()
470 mHeader.setup(mAH, mAH[AllAppsContainerView.AdapterHolder.WORK].recyclerView == null); in setupHeader()
472 int padding = mHeader.getMaxTranslation(); in setupHeader()
517 return mHeader != null && mHeader.getVisibility() == View.VISIBLE; in isHeaderVisible()
/packages/apps/Settings/src/com/android/settings/applications/
DRunningProcessesView.java78 View mHeader; field in RunningProcessesView
449 mHeader = inflater.inflate(R.layout.running_processes_header, null); in doCreate()
450 mListView.addHeaderView(mHeader, null, false /* set as not selectable */); in doCreate()
451 mColorBar = mHeader.findViewById(R.id.color_bar); in doCreate()
460 mBackgroundProcessPrefix = mHeader.findViewById(R.id.freeSizePrefix); in doCreate()
461 mAppsProcessPrefix = mHeader.findViewById(R.id.appsSizePrefix); in doCreate()
462 mForegroundProcessPrefix = mHeader.findViewById(R.id.systemSizePrefix); in doCreate()
463 mBackgroundProcessText = mHeader.findViewById(R.id.freeSize); in doCreate()
464 mAppsProcessText = mHeader.findViewById(R.id.appsSize); in doCreate()
465 mForegroundProcessText = mHeader.findViewById(R.id.systemSize); in doCreate()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/applications/
DRunningProcessesView.java78 View mHeader; field in RunningProcessesView
449 mHeader = inflater.inflate(R.layout.running_processes_header, null); in doCreate()
450 mListView.addHeaderView(mHeader, null, false /* set as not selectable */); in doCreate()
451 mColorBar = mHeader.findViewById(R.id.color_bar); in doCreate()
460 mBackgroundProcessPrefix = mHeader.findViewById(R.id.freeSizePrefix); in doCreate()
461 mAppsProcessPrefix = mHeader.findViewById(R.id.appsSizePrefix); in doCreate()
462 mForegroundProcessPrefix = mHeader.findViewById(R.id.systemSizePrefix); in doCreate()
463 mBackgroundProcessText = mHeader.findViewById(R.id.freeSize); in doCreate()
464 mAppsProcessText = mHeader.findViewById(R.id.appsSize); in doCreate()
465 mForegroundProcessText = mHeader.findViewById(R.id.systemSize); in doCreate()
/packages/apps/Settings/src/com/android/settings/
DSettingsPreferenceFragment.java119 private LayoutPreference mHeader; field in SettingsPreferenceFragment
273 return mHeader; in getHeaderView()
277 mHeader = new LayoutPreference(getPrefContext(), resource); in setHeaderView()
278 addPreferenceToTop(mHeader); in setHeaderView()
282 mHeader = new LayoutPreference(getPrefContext(), view); in setHeaderView()
283 addPreferenceToTop(mHeader); in setHeaderView()
301 if (mHeader != null) { in setPreferenceScreen()
302 preferenceScreen.addPreference(mHeader); in setPreferenceScreen()
313 - (mHeader != null ? 1 : 0) in updateEmptyView()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/
DSettingsPreferenceFragment.java119 private LayoutPreference mHeader; field in SettingsPreferenceFragment
273 return mHeader; in getHeaderView()
277 mHeader = new LayoutPreference(getPrefContext(), resource); in setHeaderView()
278 addPreferenceToTop(mHeader); in setHeaderView()
282 mHeader = new LayoutPreference(getPrefContext(), view); in setHeaderView()
283 addPreferenceToTop(mHeader); in setHeaderView()
301 if (mHeader != null) { in setPreferenceScreen()
302 preferenceScreen.addPreference(mHeader); in setPreferenceScreen()
313 - (mHeader != null ? 1 : 0) in updateEmptyView()
/packages/apps/TV/tuner/src/com/android/tv/tuner/exoplayer/audio/
DAudioTrackMonitor.java36 private final Set<Integer> mHeader = new HashSet<>(); field in AudioTrackMonitor
64 mHeader.clear(); in reset()
83 mHeader.add(header); in addPts()
135 + mHeader); in maybeLog()
/packages/apps/DocumentsUI/src/com/android/documentsui/inspector/
DHeaderView.java48 private final View mHeader; field in HeaderView
65 mHeader = inflater.inflate(R.layout.inspector_header, null); in HeaderView()
66 mThumbnail = (ImageView) mHeader.findViewById(R.id.inspector_thumbnail); in HeaderView()
71 addView(mHeader); in HeaderView()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/notification/
DZenModeRuleSettingsBase.java47 protected ZenAutomaticRuleHeaderPreferenceController mHeader; field in ZenModeRuleSettingsBase
125 mHeader.onResume(mRule, mId); in updateHeader()
126 mHeader.displayPreference(screen); in updateHeader()
127 updatePreference(mHeader); in updateHeader()
/packages/apps/Settings/src/com/android/settings/notification/
DZenModeRuleSettingsBase.java47 protected ZenAutomaticRuleHeaderPreferenceController mHeader; field in ZenModeRuleSettingsBase
125 mHeader.onResume(mRule, mId); in updateHeader()
126 mHeader.displayPreference(screen); in updateHeader()
127 updatePreference(mHeader); in updateHeader()
/packages/inputmethods/LatinIME/native/dicttoolkit/src/offdevice_intermediate_dict/
Doffdevice_intermediate_dict.h35 : mHeader(header), mRootPtNodeArray() {} in OffdeviceIntermediateDict()
40 const OffdeviceIntermediateDictHeader &getHeader() const { return mHeader; } in getHeader()
45 const OffdeviceIntermediateDictHeader mHeader; variable
/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/appinfo/
DAppHeaderViewPreferenceControllerTest.java73 private View mHeader; field in AppHeaderViewPreferenceControllerTest
83 mHeader = LayoutInflater.from(mContext).inflate(R.layout.settings_entity_header, null); in setUp()
87 when(mPreference.findViewById(R.id.entity_header)).thenReturn(mHeader); in setUp()
108 final TextView title = mHeader.findViewById(R.id.entity_header_title); in refreshUi_shouldRefreshButton()
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/parser/
DDisclaimersParserTest.java137 assertEquals(disclaimers.mDisclaimers[0].mHeader, DISCLAIMER_HEADER_1); in testOneParsing()
161 assertEquals(disclaimers.mDisclaimers[0].mHeader, DISCLAIMER_HEADER_1); in testThreeParsing()
165 assertEquals(disclaimers.mDisclaimers[1].mHeader, DISCLAIMER_HEADER_2); in testThreeParsing()
169 assertEquals(disclaimers.mDisclaimers[2].mHeader, DISCLAIMER_HEADER_3); in testThreeParsing()
/packages/apps/Settings/src/com/android/settings/applications/appinfo/
DAppHeaderViewPreferenceController.java40 private LayoutPreference mHeader; field in AppHeaderViewPreferenceController
66 mHeader = screen.findPreference(KEY_HEADER); in displayPreference()
69 .newInstance(activity, mParent, mHeader.findViewById(R.id.entity_header)) in displayPreference()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/applications/appinfo/
DAppHeaderViewPreferenceController.java40 private LayoutPreference mHeader; field in AppHeaderViewPreferenceController
66 mHeader = screen.findPreference(KEY_HEADER); in displayPreference()
69 .newInstance(activity, mParent, mHeader.findViewById(R.id.entity_header)) in displayPreference()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/model/
DDisclaimersParam.java93 headers[i] = mDisclaimers[i].mHeader; in toPersistableBundle()
104 public final String mHeader; field in DisclaimersParam.Disclaimer
107 mHeader = header; in Disclaimer()
/packages/apps/DocumentsUI/src/com/android/documentsui/inspector/actions/
DActionView.java39 private final TextView mHeader; field in ActionView
61 mHeader = getSectionTitle(); in ActionView()
92 mHeader.setText(header); in setActionHeader()

12