Home
last modified time | relevance | path

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

/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/Launcher3/src/com/android/launcher3/allapps/search/
DHeaderElevationController.java18 private final View mHeader; field in HeaderElevationController
26 mHeader = header; in HeaderElevationController()
27 final Resources res = mHeader.getContext().getResources(); in HeaderElevationController()
51 mHeader.setOutlineProvider(vop); in HeaderElevationController()
52 mHeaderChild = ((ViewGroup) mHeader).getChildAt(0); in HeaderElevationController()
69 if (Float.compare(mHeader.getElevation(), newElevation) != 0) { in onScroll()
70 mHeader.setElevation(newElevation); in onScroll()
75 int shift = Math.min(mHeader.getHeight(), scrollY); in onScroll()
76 mHeader.setTranslationY(-shift); in onScroll()
/packages/apps/PackageInstaller/src/com/android/packageinstaller/permission/ui/handheld/
DSettingsWithHeader.java35 private View mHeader; field in SettingsWithHeader
46 mHeader = inflater.inflate(R.layout.header, root, false); in onCreateView()
47 getPreferencesContainer().addView(mHeader, 0); in onCreateView()
62 if (mHeader != null) { in updateHeader()
63 final ImageView appIcon = (ImageView) mHeader.findViewById(R.id.icon); in updateHeader()
66 final TextView appName = (TextView) mHeader.findViewById(R.id.name); in updateHeader()
69 final View info = mHeader.findViewById(R.id.info); in updateHeader()
/packages/apps/Settings/src/com/android/settings/widget/
DEntityHeaderController.java78 private final View mHeader; field in EntityHeaderController
116 mHeader = header; in EntityHeaderController()
118 mHeader = LayoutInflater.from(fragment.getContext()) in EntityHeaderController()
228 ImageView iconView = mHeader.findViewById(R.id.entity_header_icon); in done()
237 mHeader.getResources().getString(R.string.install_type_instant)); in done()
244 return mHeader; in done()
251 final View entityHeaderContent = mHeader.findViewById(R.id.entity_header_content); in bindHeaderButtons()
252 final ImageButton button1 = mHeader.findViewById(android.R.id.button1); in bindHeaderButtons()
253 final ImageButton button2 = mHeader.findViewById(android.R.id.button2); in bindHeaderButtons()
373 TextView textView = mHeader.findViewById(id); in setText()
/packages/apps/Dialer/java/com/android/voicemail/impl/mail/internet/
DMimeBodyPart.java30 protected MimeHeader mHeader = new MimeHeader(); field in MimeBodyPart
56 return mHeader.getFirstHeader(name); in getFirstHeader()
61 mHeader.addHeader(name, value); in addHeader()
66 mHeader.setHeader(name, value); in setHeader()
71 return mHeader.getHeader(name); in getHeader()
76 mHeader.removeHeader(name); in removeHeader()
193 mHeader.writeTo(out); in writeTo()
DMimeMessage.java56 private MimeHeader mHeader; field in MimeMessage
89 mHeader = null; in MimeMessage()
152 if (mHeader == null) { in getMimeHeaders()
153 mHeader = new MimeHeader(); in getMimeHeaders()
155 return mHeader; in getMimeHeaders()
/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/Settings/src/com/android/settings/applications/
DRunningProcessesView.java75 View mHeader; field in RunningProcessesView
443 mHeader = inflater.inflate(R.layout.running_processes_header, null); in doCreate()
444 mListView.addHeaderView(mHeader, null, false /* set as not selectable */); in doCreate()
445 mColorBar = (LinearColorBar)mHeader.findViewById(R.id.color_bar); in doCreate()
450 mBackgroundProcessPrefix = (TextView)mHeader.findViewById(R.id.freeSizePrefix); in doCreate()
451 mAppsProcessPrefix = (TextView)mHeader.findViewById(R.id.appsSizePrefix); in doCreate()
452 mForegroundProcessPrefix = (TextView)mHeader.findViewById(R.id.systemSizePrefix); in doCreate()
453 mBackgroundProcessText = (TextView)mHeader.findViewById(R.id.freeSize); in doCreate()
454 mAppsProcessText = (TextView)mHeader.findViewById(R.id.appsSize); in doCreate()
455 mForegroundProcessText = (TextView)mHeader.findViewById(R.id.systemSize); in doCreate()
DInstalledAppDetails.java168 private LayoutPreference mHeader; field in InstalledAppDetails
432 mHeader = (LayoutPreference) findPreference(KEY_HEADER); in onActivityCreated()
434 EntityHeaderController.newInstance(activity, this, mHeader.findViewById(R.id.entity_header)) in onActivityCreated()
608 final View appSnippet = mHeader.findViewById(R.id.entity_header); in setAppLabelAndIcon()
/packages/apps/DocumentsUI/src/com/android/documentsui/inspector/
DHeaderView.java46 private final View mHeader; field in HeaderView
64 mHeader = inflater.inflate(R.layout.inspector_header, null); in HeaderView()
65 mThumbnail = (ImageView) mHeader.findViewById(R.id.inspector_thumbnail); in HeaderView()
66 mTitle = (TextView) mHeader.findViewById(R.id.inspector_file_title); in HeaderView()
76 addView(mHeader); in accept()
91 if (getChildAt(i).equals(mHeader)) { in hasHeader()
DInspectorController.java50 private final Consumer<DocumentInfo> mHeader; field in InspectorController
89 mHeader = header; in InspectorController()
138 mHeader.accept(docInfo); in updateView()
/packages/apps/Dialer/java/com/android/contacts/common/list/
DIndexerListAdapter.java31 private View mHeader; field in IndexerListAdapter
111 if (mHeader == null) { in getPinnedHeaderView()
112 mHeader = createPinnedSectionHeaderView(mContext, parent); in getPinnedHeaderView()
114 return mHeader; in getPinnedHeaderView()
150 mHeader.setMinimumHeight(topChild.getMeasuredHeight()); in configurePinnedHeaders()
152 setPinnedSectionTitle(mHeader, (String) mIndexer.getSections()[section]); in configurePinnedHeaders()
/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/PackageInstaller/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/Settings/src/com/android/settings/
DSettingsPreferenceFragment.java132 private LayoutPreference mHeader; field in SettingsPreferenceFragment
290 return mHeader; in getHeaderView()
294 mHeader = new LayoutPreference(getPrefContext(), resource); in setHeaderView()
295 addPreferenceToTop(mHeader); in setHeaderView()
299 mHeader = new LayoutPreference(getPrefContext(), view); in setHeaderView()
300 addPreferenceToTop(mHeader); in setHeaderView()
318 if (mHeader != null) { in setPreferenceScreen()
319 preferenceScreen.addPreference(mHeader); in setPreferenceScreen()
330 - (mHeader != null ? 1 : 0) in updateEmptyView()
/packages/apps/TV/src/com/android/tv/tuner/exoplayer/audio/
DAudioTrackMonitor.java39 private final Set<Integer> mHeader = new HashSet<>(); field in AudioTrackMonitor
67 mHeader.clear(); in reset()
86 mHeader.add(header); in addPts()
124 + String.valueOf(mSampleSize) + mCurSampleSize + mHeader); in maybeLog()
/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/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/parser/
DDisclaimersParserTest.java131 assertEquals(disclaimers.mDisclaimers[0].mHeader, DISCLAIMER_HEADER_1); in testOneParsing()
155 assertEquals(disclaimers.mDisclaimers[0].mHeader, DISCLAIMER_HEADER_1); in testThreeParsing()
159 assertEquals(disclaimers.mDisclaimers[1].mHeader, DISCLAIMER_HEADER_2); in testThreeParsing()
163 assertEquals(disclaimers.mDisclaimers[2].mHeader, DISCLAIMER_HEADER_3); in testThreeParsing()
/packages/apps/DocumentsUI/src/com/android/documentsui/inspector/actions/
DActionView.java37 private final TextView mHeader; field in ActionView
58 mHeader = (TextView) findViewById(R.id.action_header); in ActionView()
83 mHeader.setText(header); in setActionHeader()
/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/Settings/src/com/android/settings/datausage/
DDataUsageList.java108 private View mHeader; field in DataUsageList
148 mHeader = setPinnedHeaderView(R.layout.apps_filter_spinner); in onViewCreated()
149 mHeader.findViewById(R.id.filter_settings).setOnClickListener(btn -> { in onViewCreated()
155 mCycleSpinner = mHeader.findViewById(R.id.filter_spinner); in onViewCreated()
268 final View configureButton = mHeader.findViewById(R.id.filter_settings); in updatePolicy()
/packages/apps/Contacts/src/com/android/contacts/quickcontact/
DExpandingEntryCardView.java101 private final String mHeader; field in ExpandingEntryCardView.Entry
132 mHeader = header; in Entry()
159 return mHeader; in getHeader()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/preprovisioning/terms/
DTermsProvider.java142 result.add(TermsDocument.createInstance(disclaimer.mHeader, htmlContent)); in getExtraDisclaimers()
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/preprovisioning/terms/
DTermsActivityTest.java102 onView(withText(d.mHeader)).check(matches(isDisplayed())); in expanderTest()