Home
last modified time | relevance | path

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

12

/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/handheld/
DSettingsWithLargeHeader.java46 private View mHeader; field in SettingsWithLargeHeader
63 if (mHeader != null && mHeader.getVisibility() == View.VISIBLE) { in onCreateView()
64 updateHeader(mHeader); in onCreateView()
65 mHeader.requireViewById(R.id.header_link).setVisibility(View.VISIBLE); in onCreateView()
96 if (mHeader != null) { in setHeader()
97 updateHeader(mHeader); in setHeader()
142 mHeader = null; in hideHeader()
153 if (mHeader == null) { in setSummary()
158 TextView textView = mHeader.requireViewById(R.id.header_text); in setSummary()
159 TextView linkView = mHeader.requireViewById(R.id.header_link); in setSummary()
[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.java73 private final View mHeader; field in EntityHeaderController
116 mHeader = header; in EntityHeaderController()
118 mHeader = LayoutInflater.from(fragment.getContext()) in EntityHeaderController()
250 ImageView iconView = mHeader.findViewById(R.id.entity_header_icon); in done()
260 mHeader.getResources().getString(R.string.install_type_instant)); in done()
267 return mHeader; in done()
274 final View entityHeaderContent = mHeader.findViewById(R.id.entity_header_content); in bindHeaderButtons()
275 final ImageButton button1 = mHeader.findViewById(android.R.id.button1); in bindHeaderButtons()
276 final ImageButton button2 = mHeader.findViewById(android.R.id.button2); in bindHeaderButtons()
355 TextView textView = mHeader.findViewById(id); in setText()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/television/
DSettingsWithHeader.java33 private View mHeader; field in SettingsWithHeader
44 mHeader = inflater.inflate(R.layout.header, root, false); in onCreateView()
45 getPreferencesContainer().addView(mHeader, 0); in onCreateView()
61 return mHeader; in getHeader()
65 final TextView decorTitle = (TextView) mHeader.findViewById(R.id.decor_title); in updateHeader()
/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/Launcher3/src/com/android/launcher3/allapps/
DActivityAllAppsContainerView.java137 protected FloatingHeaderView mHeader; field in ActivityAllAppsContainerView
226 mHeader = findViewById(R.id.all_apps_header); in initContent()
387 if (mHeader != null && mHeader.getVisibility() == VISIBLE) { in reset()
388 mHeader.reset(animate); in reset()
438 mHeader.setActiveRV(currentActivePage); in onActivePageChanged()
588 mHeader.setVisibility(View.VISIBLE); in setupHeader()
590 mHeader.setup( in setupHeader()
597 int padding = mHeader.getMaxTranslation(); in setupHeader()
606 removeCustomRules(mHeader); in setupHeader()
608 layoutWithoutSearchContainer(mHeader, false /* includeTabsMargin */); in setupHeader()
[all …]
/packages/apps/Settings/src/com/android/settings/
DSettingsPreferenceFragment.java117 private LayoutPreference mHeader; field in SettingsPreferenceFragment
299 return mHeader; in getHeaderView()
303 mHeader = new LayoutPreference(getPrefContext(), resource); in setHeaderView()
304 mHeader.setSelectable(false); in setHeaderView()
305 addPreferenceToTop(mHeader); in setHeaderView()
309 mHeader = new LayoutPreference(getPrefContext(), view); in setHeaderView()
310 mHeader.setSelectable(false); in setHeaderView()
311 addPreferenceToTop(mHeader); in setHeaderView()
329 if (mHeader != null) { in setPreferenceScreen()
330 preferenceScreen.addPreference(mHeader); in setPreferenceScreen()
[all …]
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/taskbar/allapps/
DTaskbarAllAppsContainerView.java49 mHeader.setPadding(mHeader.getPaddingLeft(), 0, in inflateSearchBox()
50 mHeader.getPaddingRight(), mHeader.getPaddingBottom()); in inflateSearchBox()
/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/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/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/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/Settings/tests/robotests/src/com/android/settings/applications/appinfo/
DAppHeaderViewPreferenceControllerTest.java69 private View mHeader; field in AppHeaderViewPreferenceControllerTest
79 mHeader = LayoutInflater.from(mContext).inflate(R.layout.settings_entity_header, null); in setUp()
83 when(mPreference.findViewById(R.id.entity_header)).thenReturn(mHeader); in setUp()
104 final TextView title = mHeader.findViewById(R.id.entity_header_title); in refreshUi_shouldRefreshButton()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/provisioning/
DTransitionAnimationHelper.java227 mAnimationComponents.mHeader.setText(transition.header);
228 triggerTextToSpeechIfFocused(mAnimationComponents.mHeader);
285 final Context context = mAnimationComponents.mHeader.getContext();
295 private final TextView mHeader;
307 this.mHeader = requireNonNull(header);
318 return Arrays.asList(mHeader, mItem1, mItem2, mImageContainer);
DTransitionScreenWrapper.java82 @StringRes int mHeader; field in TransitionScreenWrapper.Builder
94 mHeader = header; in setHeader()
144 return new TransitionScreenWrapper(mHeader, mDescription, mDrawable, mSubHeaderTitle, in build()
/packages/apps/Settings/src/com/android/settings/notification/zen/
DZenModeRuleSettingsBase.java52 protected ZenAutomaticRuleHeaderPreferenceController mHeader; field in ZenModeRuleSettingsBase
144 mHeader.displayPreference(screen); in updateHeader()
145 updatePreference(mHeader); in updateHeader()
167 mHeader.setRule(mRule); in refreshRuleOrFinish()
/packages/modules/Connectivity/nearby/tests/unit/src/com/android/server/nearby/common/ble/decode/
DFastPairDecoderTest.java136 private Byte mHeader; field in FastPairDecoderTest.FastPairServiceData
142 this.mHeader = header; in FastPairServiceData()
151 mHeader == null ? new byte[0] : new byte[] {mHeader}, in createServiceData()
/packages/apps/Settings/src/com/android/settings/applications/specialaccess/interactacrossprofiles/
DInteractAcrossProfilesDetails.java87 private LayoutPreference mHeader; field in InteractAcrossProfilesDetails
133 mHeader = findPreference(INTERACT_ACROSS_PROFILES_HEADER); in onCreate()
197 final TextView title = mHeader.findViewById(R.id.entity_header_title); in addAppTitleAndIcons()
204 final ImageView personalIconView = mHeader.findViewById(R.id.entity_header_icon_personal); in addAppTitleAndIcons()
215 final ImageView workIconView = mHeader.findViewById(R.id.entity_header_icon_work); in addAppTitleAndIcons()
496 final ImageView horizontalArrowIcon = mHeader.findViewById(R.id.entity_header_swap_horiz); in enableSwitchPref()
506 final ImageView horizontalArrowIcon = mHeader.findViewById(R.id.entity_header_swap_horiz); in disableSwitchPref()
/packages/apps/Settings/src/com/android/settings/applications/appinfo/
DAppHeaderViewPreferenceController.java39 private LayoutPreference mHeader; field in AppHeaderViewPreferenceController
65 mHeader = screen.findPreference(KEY_HEADER); in displayPreference()
68 .newInstance(activity, mParent, mHeader.findViewById(R.id.entity_header)) in displayPreference()
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/parser/
DDisclaimersParserImplTest.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/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()
/packages/apps/Launcher3/src/com/android/launcher3/notification/
DNotificationMainView.java72 private View mHeader; field in NotificationMainView
151 mHeader = findViewById(R.id.header); in onFinishInflate()
223 mHeader.setAlpha(alpha); in setContentAlpha()
231 mHeader.setTranslationX(transX); in setContentTranslationX()
/packages/apps/DocumentsUI/src/com/android/documentsui/
DNavigationViewManager.java59 private final View mHeader; field in NavigationViewManager
85 mHeader = activity.findViewById(R.id.directory_header); in NavigationViewManager()
288 (FrameLayout.LayoutParams) mHeader.getLayoutParams(); in updateToolbar()
290 mHeader.setLayoutParams(headerLayoutParams); in updateToolbar()
/packages/services/Iwlan/src/com/google/android/iwlan/epdg/
DSrvDnsResolver.java132 if (!mHeader.isResponse()) { in SrvResponse()
135 int numQueries = mHeader.getRecordCount(QDSECTION); in SrvResponse()
150 if (mHeader.getRecordCount(ANSECTION) == 0) return targetNameToSrvRecord; in parseSrvRecords()
177 if (mHeader.getRecordCount(ARSECTION) == 0) return domainNameToIpAddress; in parseIpAddresses()

12