Home
last modified time | relevance | path

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

12

/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/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/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/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/modules/NetworkStack/common/netlinkclient/src/android/net/netlink/
DNetlinkMessage.java80 protected StructNlMsgHdr mHeader; field in NetlinkMessage
83 mHeader = nlmsghdr; in NetlinkMessage()
87 return mHeader; in getHeader()
92 return "NetlinkMessage{" + (mHeader == null ? "" : mHeader.toString()) + "}"; in toString()
DConntrackMessage.java86 ctmsg.mHeader.nlmsg_len = bytes.length; in newIPv4TimeoutUpdateRequest()
87 ctmsg.mHeader.nlmsg_type = (NFNL_SUBSYS_CTNETLINK << 8) | IPCTNL_MSG_CT_NEW; in newIPv4TimeoutUpdateRequest()
88 ctmsg.mHeader.nlmsg_flags = NLM_F_REQUEST | NLM_F_ACK | NLM_F_REPLACE; in newIPv4TimeoutUpdateRequest()
89 ctmsg.mHeader.nlmsg_seq = 1; in newIPv4TimeoutUpdateRequest()
106 mHeader.pack(byteBuffer); in pack()
/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.java90 private FloatingHeaderView mHeader; field in AllAppsContainerView
270 mHeader.reset(animate); in reset()
288 mHeader = findViewById(R.id.all_apps_header); in onFinishInflate()
370 return mSpringViews.get(getSearchView().getId()) ? 0 : mHeader.getTop(); in getCanvasClipTopForOverscroll()
427 mHeader.setMainActive(pos == 0); in onTabChanged()
468 return mHeader; in getFloatingHeaderView()
485 mHeader.setVisibility(View.VISIBLE); in setupHeader()
486 mHeader.setup(mAH, mAH[AllAppsContainerView.AdapterHolder.WORK].recyclerView == null); in setupHeader()
488 int padding = mHeader.getMaxTranslation(); in setupHeader()
533 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
285 return mHeader; in getHeaderView()
289 mHeader = new LayoutPreference(getPrefContext(), resource); in setHeaderView()
290 addPreferenceToTop(mHeader); in setHeaderView()
294 mHeader = new LayoutPreference(getPrefContext(), view); in setHeaderView()
295 addPreferenceToTop(mHeader); in setHeaderView()
313 if (mHeader != null) { in setPreferenceScreen()
314 preferenceScreen.addPreference(mHeader); in setPreferenceScreen()
325 - (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/apps/Car/Dialer/src/com/android/car/dialer/ui/common/entity/
DHeader.java23 private final String mHeader; field in Header
26 mHeader = header; in Header()
33 return mHeader; in getHeader()
/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/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/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/modules/CellBroadcastService/src/com/android/cellbroadcastservice/
DGsmCellBroadcastHandler.java468 private final SmsCbHeader mHeader; field in GsmCellBroadcastHandler.SmsCbConcatInfo
473 mHeader = header; in SmsCbConcatInfo()
479 return (mHeader.getSerialNumber() * 31) + mLocation.hashCode(); in hashCode()
490 return mHeader.getSerialNumber() == other.mHeader.getSerialNumber() in equals()

12