Home
last modified time | relevance | path

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

1234

/packages/apps/Settings/src/com/android/settings/applications/appinfo/
DAppBatteryPreferenceController.java62 private final AppInfoDashboardFragment mParent; field in AppBatteryPreferenceController
69 mParent = parent; in AppBatteryPreferenceController()
101 AdvancedPowerUsageDetail.startBatteryDetailPage(mParent.getActivity(), mParent, in handlePreferenceTreeClick() local
104 AdvancedPowerUsageDetail.startBatteryDetailPage(mParent.getActivity(), mParent, in handlePreferenceTreeClick() local
112 mParent.getLoaderManager().restartLoader( in onResume()
113 mParent.LOADER_BATTERY, Bundle.EMPTY, this); in onResume()
118 mParent.getLoaderManager().destroyLoader(mParent.LOADER_BATTERY); in onPause()
130 final PackageInfo packageInfo = mParent.getPackageInfo(); in onLoadFinished()
133 if (mParent.getActivity() != null) { in onLoadFinished()
DAppHeaderViewPreferenceController.java41 private final AppInfoDashboardFragment mParent; field in AppHeaderViewPreferenceController
50 mParent = parent; in AppHeaderViewPreferenceController()
67 final Activity activity = mParent.getActivity(); in displayPreference()
69 .newInstance(activity, mParent, mHeader.findViewById(R.id.entity_header)) in displayPreference()
79 .setRecyclerView(mParent.getListView(), mLifecycle) in onStart()
80 .styleActionBar(mParent.getActivity()); in onStart()
85 setAppLabelAndIcon(mParent.getPackageInfo(), mParent.getAppEntry()); in refreshUi()
90 final Activity activity = mParent.getActivity(); in setAppLabelAndIcon()
DInstantAppButtonsPreferenceController.java54 private final AppInfoDashboardFragment mParent; field in InstantAppButtonsPreferenceController
63 mParent = parent; in InstantAppButtonsPreferenceController()
73 return AppUtils.isInstant(mParent.getPackageInfo().applicationInfo) in getAvailabilityStatus()
97 mParent.startActivity(appStoreIntent); in onOptionsItemSelected()
125 launchButton.setOnClickListener(v -> mParent.startActivity(intent)); in initButtons()
130 installButton.setOnClickListener(v -> mParent.startActivity(appStoreIntent)); in initButtons()
141 newFragment.setTargetFragment(mParent, 0); in showDialog()
142 newFragment.show(mParent.getFragmentManager(), KEY_INSTANT_APP_BUTTONS); in showDialog()
DAppStoragePreferenceController.java52 final ApplicationsState.AppEntry entry = mParent.getAppEntry(); in updateState()
62 mParent.getLoaderManager().restartLoader(mParent.LOADER_STORAGE, Bundle.EMPTY, this); in onResume()
67 mParent.getLoaderManager().destroyLoader(mParent.LOADER_STORAGE); in onPause()
92 mParent.getAppEntry().info, UserHandle.of(UserHandle.myUserId())); in onCreateLoader()
DAppMemoryPreferenceController.java46 private final AppInfoDashboardFragment mParent; field in AppMemoryPreferenceController
54 final Activity activity = mParent.getActivity(); in doInBackground()
58 PackageInfo packageInfo = mParent.getPackageInfo(); in doInBackground()
80 if (mParent.getActivity() == null) { in onPostExecute()
100 mParent = parent; in AppMemoryPreferenceController()
125 ProcessStatsBase.launchMemoryDetail((SettingsActivity) mParent.getActivity(), in handlePreferenceTreeClick()
DAppDataUsagePreferenceController.java73 final int uid = mParent.getAppEntry().info.uid; in onResume()
76 mParent.getLoaderManager().restartLoader(mParent.LOADER_CHART_DATA, null /* args */, in onResume()
84 mParent.getLoaderManager().destroyLoader(mParent.LOADER_CHART_DATA); in onPause()
92 .addUid(mParent.getAppEntry().info.uid) in onCreateLoader()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/applications/appinfo/
DAppBatteryPreferenceController.java62 private final AppInfoDashboardFragment mParent; field in AppBatteryPreferenceController
69 mParent = parent; in AppBatteryPreferenceController()
101 AdvancedPowerUsageDetail.startBatteryDetailPage(mParent.getActivity(), mParent, in handlePreferenceTreeClick() local
104 AdvancedPowerUsageDetail.startBatteryDetailPage(mParent.getActivity(), mParent, in handlePreferenceTreeClick() local
112 mParent.getLoaderManager().restartLoader( in onResume()
113 mParent.LOADER_BATTERY, Bundle.EMPTY, this); in onResume()
118 mParent.getLoaderManager().destroyLoader(mParent.LOADER_BATTERY); in onPause()
130 final PackageInfo packageInfo = mParent.getPackageInfo(); in onLoadFinished()
133 if (mParent.getActivity() != null) { in onLoadFinished()
DAppHeaderViewPreferenceController.java41 private final AppInfoDashboardFragment mParent; field in AppHeaderViewPreferenceController
50 mParent = parent; in AppHeaderViewPreferenceController()
67 final Activity activity = mParent.getActivity(); in displayPreference()
69 .newInstance(activity, mParent, mHeader.findViewById(R.id.entity_header)) in displayPreference()
79 .setRecyclerView(mParent.getListView(), mLifecycle) in onStart()
80 .styleActionBar(mParent.getActivity()); in onStart()
85 setAppLabelAndIcon(mParent.getPackageInfo(), mParent.getAppEntry()); in refreshUi()
90 final Activity activity = mParent.getActivity(); in setAppLabelAndIcon()
DInstantAppButtonsPreferenceController.java54 private final AppInfoDashboardFragment mParent; field in InstantAppButtonsPreferenceController
63 mParent = parent; in InstantAppButtonsPreferenceController()
73 return AppUtils.isInstant(mParent.getPackageInfo().applicationInfo) in getAvailabilityStatus()
97 mParent.startActivity(appStoreIntent); in onOptionsItemSelected()
125 launchButton.setOnClickListener(v -> mParent.startActivity(intent)); in initButtons()
130 installButton.setOnClickListener(v -> mParent.startActivity(appStoreIntent)); in initButtons()
141 newFragment.setTargetFragment(mParent, 0); in showDialog()
142 newFragment.show(mParent.getFragmentManager(), KEY_INSTANT_APP_BUTTONS); in showDialog()
DAppStoragePreferenceController.java52 (mParent.getAppEntry().info.flags & ApplicationInfo.FLAG_EXTERNAL_STORAGE) != 0; in updateState()
58 mParent.getLoaderManager().restartLoader(mParent.LOADER_STORAGE, Bundle.EMPTY, this); in onResume()
63 mParent.getLoaderManager().destroyLoader(mParent.LOADER_STORAGE); in onPause()
88 mParent.getAppEntry().info, UserHandle.of(UserHandle.myUserId())); in onCreateLoader()
DAppMemoryPreferenceController.java46 private final AppInfoDashboardFragment mParent; field in AppMemoryPreferenceController
54 final Activity activity = mParent.getActivity(); in doInBackground()
58 PackageInfo packageInfo = mParent.getPackageInfo(); in doInBackground()
80 if (mParent.getActivity() == null) { in onPostExecute()
100 mParent = parent; in AppMemoryPreferenceController()
125 ProcessStatsBase.launchMemoryDetail((SettingsActivity) mParent.getActivity(), in handlePreferenceTreeClick()
DAppDataUsagePreferenceController.java73 final int uid = mParent.getAppEntry().info.uid; in onResume()
76 mParent.getLoaderManager().restartLoader(mParent.LOADER_CHART_DATA, null /* args */, in onResume()
84 mParent.getLoaderManager().destroyLoader(mParent.LOADER_CHART_DATA); in onPause()
92 .addUid(mParent.getAppEntry().info.uid) in onCreateLoader()
/packages/apps/Car/libs/car-ui-lib/tests/robotests/src/com/android/car/ui/recyclerview/
DDefaultScrollBarTest.java56 private FrameLayout mParent; field in DefaultScrollBarTest
72 when(mRecyclerView.getParent()).thenReturn(mParent); in initialize_shouldInitializeScrollListener()
74 when(mParent.generateLayoutParams(any())).thenReturn(mLayoutParams); in initialize_shouldInitializeScrollListener()
89 when(mRecyclerView.getParent()).thenReturn(mParent); in initialize_shouldSetMaxRecyclerViews()
91 when(mParent.generateLayoutParams(any())).thenReturn(mLayoutParams); in initialize_shouldSetMaxRecyclerViews()
103 when(mRecyclerView.getParent()).thenReturn(mParent); in initialize_shouldNotHaveFlingListener()
105 when(mParent.generateLayoutParams(any())).thenReturn(mLayoutParams); in initialize_shouldNotHaveFlingListener()
117 when(mRecyclerView.getParent()).thenReturn(mParent); in setPadding_shouldSetStartAndEndPadding()
119 when(mParent.generateLayoutParams(any())).thenReturn(mLayoutParams); in setPadding_shouldSetStartAndEndPadding()
/packages/apps/Car/tests/TestMediaApp/src/com/android/car/media/testmediaapp/
DTmaMediaItem.java88 private @Nullable TmaMediaItem mParent; field in TmaMediaItem
115 mParent = parent; in setParent()
120 return mParent; in getParent()
133 if (mParent == null) return null; in getPrevious()
134 List<TmaMediaItem> queueItems = mParent.mPlayableChildren; in getPrevious()
141 if (mParent == null) return null; in getNext()
142 List<TmaMediaItem> queueItems = mParent.mPlayableChildren; in getNext()
186 if (mParent != null) { in getQueueId()
187 int index = mParent.mPlayableChildren.indexOf(this); in getQueueId()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/accounts/
DAccountPreferenceController.java89 private SettingsPreferenceFragment mParent; field in AccountPreferenceController
143 mParent = parent; in AccountPreferenceController()
242 RemoveUserFragment.newInstance(userId).show(mParent.getFragmentManager(), in onPreferenceClick()
250 .setSourceMetricsCategory(mParent.getMetricsCategory()) in onPreferenceClick()
295 if (mParent.getPreferenceManager() == null) { in updateProfileUi()
313 mHelper.createAccessiblePreferenceCategory(mParent.getPreferenceManager().getContext()); in updateProfileUi()
335 final PreferenceScreen screen = mParent.getPreferenceScreen(); in updateProfileUi()
352 new RestrictedPreference(mParent.getPreferenceManager().getContext()); in newAddAccountPreference()
362 mParent.getPreferenceManager().getContext()); in newRemoveWorkProfilePreference()
372 Preference preference = new Preference(mParent.getPreferenceManager().getContext()); in newManagedProfileSettings()
[all …]
/packages/apps/Settings/src/com/android/settings/accounts/
DAccountPreferenceController.java89 private SettingsPreferenceFragment mParent; field in AccountPreferenceController
143 mParent = parent; in AccountPreferenceController()
242 RemoveUserFragment.newInstance(userId).show(mParent.getFragmentManager(), in onPreferenceClick()
250 .setSourceMetricsCategory(mParent.getMetricsCategory()) in onPreferenceClick()
295 if (mParent.getPreferenceManager() == null) { in updateProfileUi()
313 mHelper.createAccessiblePreferenceCategory(mParent.getPreferenceManager().getContext()); in updateProfileUi()
335 final PreferenceScreen screen = mParent.getPreferenceScreen(); in updateProfileUi()
352 new RestrictedPreference(mParent.getPreferenceManager().getContext()); in newAddAccountPreference()
362 mParent.getPreferenceManager().getContext()); in newRemoveWorkProfilePreference()
372 Preference preference = new Preference(mParent.getPreferenceManager().getContext()); in newManagedProfileSettings()
[all …]
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
DRichInputConnection.java128 private final InputMethodService mParent; field in RichInputConnection
138 mParent = parent; in RichInputConnection()
185 ((LatinIME)mParent).debugDumpStateAndCrashWithException(context); in checkConsistencyForDebug()
194 mIC = mParent.getCurrentInputConnection(); in beginBatchEdit()
255 mIC = mParent.getCurrentInputConnection(); in reloadTextCache()
364 mIC = mParent.getCurrentInputConnection(); in getCursorCapsMode()
434 mIC = mParent.getCurrentInputConnection(); in getTextBeforeCursorAndDetectLaggyConnection()
453 mIC = mParent.getCurrentInputConnection(); in getTextAfterCursorAndDetectLaggyConnection()
504 mIC = mParent.getCurrentInputConnection(); in performEditorAction()
659 mIC = mParent.getCurrentInputConnection(); in getNgramContextFromNthPreviousWord()
[all …]
/packages/apps/Settings/tests/robotests/src/com/android/settings/widget/
DScrollToParentEditTextTest.java48 private FrameLayout mParent; field in ScrollToParentEditTextTest
56 mParent = spy(new FrameLayout(application)); in setUp()
57 mParent.layout(0, 0, PARENT_SIZE, PARENT_SIZE); in setUp()
59 doReturn(true).when(mParent).requestRectangleOnScreen(any(Rect.class), anyBoolean()); in setUp()
71 shadowEditText.setMyParent(mParent); in requestRectangleOnScreen_withParent_shouldScrollToParent()
75 verify(mParent) in requestRectangleOnScreen_withParent_shouldScrollToParent()
/packages/apps/Settings/tests/robotests/src/com/android/settings/vpn2/
DAppDialogFragmentTest.java37 private Fragment mParent; field in AppDialogFragmentTest
50 .show(mParent, mPackageInfo, "label", false /* manage */, false /* connected */); in notManagingOrConnected_shouldNotShow()
52 verify(mParent, never()).isAdded(); in notManagingOrConnected_shouldNotShow()
58 .show(mParent, mPackageInfo, "label", false /* manage */, true /* connected */); in notManagingAndConnected_showShow()
60 verify(mParent).isAdded(); in notManagingAndConnected_showShow()
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
DGLView.java63 protected GLView mParent; field in GLView
116 Utils.assertTrue(mParent == null && mRoot == null); in attachToRoot()
122 Utils.assertTrue(mParent == null && mRoot != null); in detachFromRoot()
142 if (component.mParent != null) throw new IllegalStateException(); in addComponent()
149 component.mParent = this; in addComponent()
184 component.mParent = null; in removeOneComponent()
215 if (mParent != null) { in requestLayout()
216 mParent.requestLayout(); in requestLayout()
415 view = view.mParent; in getBoundsOf()
/packages/apps/Camera2/src/com/android/camera/async/
DLifetime.java40 private final Lifetime mParent; field in Lifetime
48 mParent = null; in Lifetime()
55 mParent = parent; in Lifetime()
89 if (mParent != null) { in close()
90 mParent.mCloseables.remove(this); in close()
/packages/services/Car/procfs-inspector/server/
Ddirectory.cpp29 return mParent.empty() && mChild.empty(); in isEmpty()
33 mParent(parent), mChild(child) { in Entry()
35 if (mParent.back() != '/') { in Entry()
36 mParent += '/'; in Entry()
42 return mParent + mChild; in str()
/packages/apps/Gallery2/src/com/android/gallery3d/data/
DPath.java29 private final Path mParent; field in Path
35 mParent = parent; in Path()
56 return mParent; in getParent()
114 for (Path p = this; p != sRoot; p = p.mParent) { in split()
119 for (Path p = this; p != sRoot; p = p.mParent) { in split()
194 while (current.mParent != sRoot) { in getPrefixPath()
195 current = current.mParent; in getPrefixPath()
/packages/apps/Launcher3/src/com/android/launcher3/accessibility/
DFolderAccessibilityHelper.java33 private final FolderPagedView mParent; field in FolderAccessibilityHelper
37 mParent = (FolderPagedView) layout.getParent(); in FolderAccessibilityHelper()
39 int index = mParent.indexOfChild(layout); in FolderAccessibilityHelper()
44 return Math.min(id, mParent.getAllocatedContentSize() - mStartPosition - 1); in intersectsValidDropTarget()
/packages/apps/Gallery2/src/com/android/photos/shims/
DBitmapJobDrawable.java162 private BitmapJobDrawable mParent; field in BitmapJobDrawable.ThumbnailLoader
165 mParent = parent; in ThumbnailLoader()
171 mParent.mItem.requestImage(MediaItem.TYPE_MICROTHUMBNAIL), this); in submitBitmapTask()
176 mParent.scheduleSelf(mParent, 0); in onLoadComplete()

1234