Home
last modified time | relevance | path

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

12

/frameworks/support/fragment/java/android/support/v4/app/
DFragmentController.java42 private final FragmentHostCallback<?> mHost; field in FragmentController
52 mHost = callbacks; in FragmentController()
59 return mHost.getFragmentManagerImpl(); in getSupportFragmentManager()
66 return mHost.getLoaderManagerImpl(); in getSupportLoaderManager()
74 return mHost.mFragmentManager.findFragmentByWho(who); in findFragmentByWho()
81 final List<Fragment> actives = mHost.mFragmentManager.mActive; in getActiveFragmentsCount()
89 if (mHost.mFragmentManager.mActive == null) { in getActiveFragments()
95 actives.addAll(mHost.mFragmentManager.mActive); in getActiveFragments()
104 mHost.mFragmentManager.attachController( in attachHost()
105 mHost, mHost /*container*/, parent); in attachHost()
[all …]
DFragment.java248 FragmentHostCallback mHost; field in Fragment
623 return mHost == null ? null : mHost.getContext(); in getContext()
632 return mHost == null ? null : (FragmentActivity) mHost.getActivity(); in getActivity()
640 return mHost == null ? null : mHost.onGetHost(); in getHost()
647 if (mHost == null) { in getResources()
650 return mHost.getContext().getResources(); in getResources()
732 return mHost != null && mAdded; in isAdded()
845 mHost.onSupportInvalidateOptionsMenu(); in setHasOptionsMenu()
863 mHost.onSupportInvalidateOptionsMenu(); in setMenuVisibility()
908 if (mHost == null) {
[all …]
DLoaderManager.java212 private FragmentHostCallback mHost; field in LoaderManagerImpl
355 if (mHost != null) { in destroy()
356 lastBecause = mHost.mFragmentManager.mNoTransactionsBecause; in destroy()
357 mHost.mFragmentManager.mNoTransactionsBecause = "onLoaderReset"; in destroy()
362 if (mHost != null) { in destroy()
363 mHost.mFragmentManager.mNoTransactionsBecause = lastBecause; in destroy()
464 if (mHost != null && !hasRunningLoaders()) { in onLoadComplete()
465 mHost.mFragmentManager.startPendingDeferredFragments(); in onLoadComplete()
472 if (mHost != null) { in callOnLoadFinished()
473 lastBecause = mHost.mFragmentManager.mNoTransactionsBecause; in callOnLoadFinished()
[all …]
DFragmentManager.java516 FragmentHostCallback mHost; field in FragmentManagerImpl
566 if (mHost != null) { in throwException()
568 mHost.onDump(" ", null, pw, new String[] { }); in throwException()
596 popBackStackState(mHost.getHandler(), null, -1, 0); in popBackStack()
605 return popBackStackState(mHost.getHandler(), null, -1, 0); in popBackStackImmediate()
612 popBackStackState(mHost.getHandler(), name, -1, flags); in popBackStack()
621 return popBackStackState(mHost.getHandler(), name, -1, flags); in popBackStackImmediate()
631 popBackStackState(mHost.getHandler(), null, id, flags); in popBackStack()
643 return popBackStackState(mHost.getHandler(), null, id, flags); in popBackStackImmediate()
730 DebugUtils.buildShortClassTag(mHost, sb); in toString()
[all …]
/frameworks/base/core/java/android/app/
DFragmentController.java42 private final FragmentHostCallback<?> mHost; field in FragmentController
52 mHost = callbacks; in FragmentController()
59 return mHost.getFragmentManagerImpl(); in getFragmentManager()
66 return mHost.getLoaderManagerImpl(); in getLoaderManager()
74 return mHost.mFragmentManager.findFragmentByWho(who); in findFragmentByWho()
82 mHost.mFragmentManager.attachController( in attachHost()
83 mHost, mHost /*container*/, parent); in attachHost()
98 return mHost.mFragmentManager.onCreateView(parent, name, context, attrs); in onCreateView()
105 mHost.mFragmentManager.noteStateNotSaved(); in noteStateNotSaved()
112 return mHost.mFragmentManager.saveAllState(); in saveAllState()
[all …]
DFragment.java433 FragmentHostCallback mHost; field in Fragment
790 return mHost == null ? null : mHost.getContext(); in getContext()
797 return mHost == null ? null : mHost.getActivity(); in getActivity()
806 return mHost == null ? null : mHost.onGetHost(); in getHost()
813 if (mHost == null) { in getResources()
816 return mHost.getContext().getResources(); in getResources()
898 return mHost != null && mAdded; in isAdded()
1055 if (mFragmentManager != null && mFragmentManager.mHost != null) { in setUserVisibleHint()
1056 context = mFragmentManager.mHost.getContext(); in setUserVisibleHint()
1094 if (mHost == null) {
[all …]
DLoaderManager.java222 private FragmentHostCallback mHost; field in LoaderManagerImpl
362 if (mHost != null) { in destroy()
363 lastBecause = mHost.mFragmentManager.mNoTransactionsBecause; in destroy()
364 mHost.mFragmentManager.mNoTransactionsBecause = "onLoaderReset"; in destroy()
369 if (mHost != null) { in destroy()
370 mHost.mFragmentManager.mNoTransactionsBecause = lastBecause; in destroy()
471 if (mHost != null && !hasRunningLoaders()) { in onLoadComplete()
472 mHost.mFragmentManager.startPendingDeferredFragments(); in onLoadComplete()
479 if (mHost != null) { in callOnLoadFinished()
480 lastBecause = mHost.mFragmentManager.mNoTransactionsBecause; in callOnLoadFinished()
[all …]
DFragmentManager.java465 FragmentHostCallback<?> mHost; field in FragmentManagerImpl
491 if (mHost != null) { in throwException()
494 mHost.onDump(" ", null, pw, new String[] { }); in throwException()
570 popBackStackState(mHost.getHandler(), null, -1, 0); in popBackStack()
579 return popBackStackState(mHost.getHandler(), null, -1, 0); in popBackStackImmediate()
586 popBackStackState(mHost.getHandler(), name, -1, flags); in popBackStack()
595 return popBackStackState(mHost.getHandler(), name, -1, flags); in popBackStackImmediate()
605 popBackStackState(mHost.getHandler(), null, id, flags); in popBackStack()
617 return popBackStackState(mHost.getHandler(), null, id, flags); in popBackStackImmediate()
699 DebugUtils.buildShortClassTag(mHost, sb); in toString()
[all …]
/frameworks/base/core/java/android/net/
DProxyInfo.java41 private String mHost; field in ProxyInfo
95 mHost = host; in ProxyInfo()
106 mHost = LOCAL_HOST; in ProxyInfo()
120 mHost = LOCAL_HOST; in ProxyInfo()
131 mHost = LOCAL_HOST; in ProxyInfo()
141 mHost = host; in ProxyInfo()
154 mHost = source.getHost(); in ProxyInfo()
170 inetSocketAddress = new InetSocketAddress(mHost, mPort); in getSocketAddress()
188 return mHost; in getHost()
230 return Proxy.PROXY_VALID == Proxy.validate(mHost == null ? "" : mHost, in isValid()
[all …]
DWebAddress.java49 private String mHost; field in WebAddress
77 mHost = ""; in WebAddress()
90 if (t != null) mHost = t; in WebAddress()
141 return mScheme + "://" + authInfo + mHost + port + mPath; in toString()
156 mHost = host; in setHost()
161 return mHost; in getHost()
/frameworks/support/core-ui/tests/java/android/support/v4/widget/
DExploreByTouchHelperTest.java41 private View mHost; field in ExploreByTouchHelperTest
51 mHost = mActivityTestRule.getActivity().findViewById(R.id.host_view); in setUp()
57 final ExploreByTouchHelper helper = new ParentBoundsHelper(mHost); in testBoundsInScreen()
58 ViewCompat.setAccessibilityDelegate(mHost, helper); in testBoundsInScreen()
61 helper.getAccessibilityNodeProvider(mHost).createAccessibilityNodeInfo(1); in testBoundsInScreen()
65 mHost.getLocalVisibleRect(hostBounds); in testBoundsInScreen()
72 final Rect hostBoundsOnScreen = getBoundsOnScreen(mHost); in testBoundsInScreen()
79 mHost.scrollTo(scrollX, scrollY); in testBoundsInScreen()
83 helper.getAccessibilityNodeProvider(mHost).createAccessibilityNodeInfo(1); in testBoundsInScreen()
86 mHost.getLocalVisibleRect(hostBounds); in testBoundsInScreen()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DAutoTileManager.java34 private final QSTileHost mHost; field in AutoTileManager
39 mHost = host; in AutoTileManager()
40 mHandler = new Handler(mHost.getLooper()); in AutoTileManager()
53 mHost.addTile("inversion"); in AutoTileManager()
79 if (mHost.getManagedProfileController().hasActiveProfile()) {
80 mHost.addTile("work");
85 mHost.getManagedProfileController().removeCallback(
103 mHost.addTile("saver");
108 mHost.getNetworkController().getDataSaverController().remListener(
120 mHost.addTile("hotspot");
[all …]
DQuickStatusBarHeader.java90 private QSTileHost mHost; field in QuickStatusBarHeader
107 mHost.startRunnableDismissingKeyguard(() -> mQsPanel.showEdit(view))); in onFinishInflate()
238 mHost.getUserInfoController().remListener(this); in onDetachedFromWindow()
239 mHost.getNetworkController().removeEmergencyListener(this); in onDetachedFromWindow()
306 mHost = host; in setupHost()
314 final boolean isAPhone = mHost.getNetworkController().hasVoiceCallingFeature(); in setupHost()
316 mHost.getNetworkController().addEmergencyListener(this); in setupHost()
327 mHost.startRunnableDismissingKeyguard(() -> post(() -> { in onClick()
/frameworks/support/core-ui/java/android/support/v4/widget/
DExploreByTouchHelper.java115 private final View mHost; field in ExploreByTouchHelper
140 mHost = host; in ExploreByTouchHelper()
384 ViewCompat.getLayoutDirection(mHost) == ViewCompat.LAYOUT_DIRECTION_RTL; in moveFocus()
405 guessPreviouslyFocusedRect(mHost, direction, selectedRect); in moveFocus()
510 final ViewParent parent = mHost.getParent(); in sendEventForVirtualView()
516 return ViewParentCompat.requestSendAccessibilityEvent(parent, mHost, event); in sendEventForVirtualView()
568 final ViewParent parent = mHost.getParent(); in invalidateVirtualView()
574 ViewParentCompat.requestSendAccessibilityEvent(parent, mHost, event); in invalidateVirtualView()
655 ViewCompat.onInitializeAccessibilityEvent(mHost, event); in createEventForHost()
701 record.setSource(mHost, virtualViewId); in createEventForChild()
[all …]
/frameworks/base/tests/appwidgets/AppWidgetHostTest/src/com/android/tests/appwidgethost/
DAppWidgetHostActivity.java58 mHost = new AppWidgetHost(this, HOST_ID) { in onCreate()
70 mHost.deleteHost(); in onCreate()
85 intent.putExtra(AppWidgetManager.EXTRA_APPWIDGET_ID, mHost.allocateAppWidgetId()); in discoverAppWidget()
115 mHost.deleteAppWidgetId(appWidgetId); in handleAppWidgetPickResult()
130 mHost.deleteAppWidgetId(appWidgetId); in handleAppWidgetConfigureResult()
136 AppWidgetHostView view = mHost.createView(this, appWidgetId, appWidget); in addAppWidgetView()
159 mHost.startListening(); in onStart()
164 mHost.stopListening(); in onStop()
179 mHost.deleteAppWidgetId(view.appWidgetId); in onContextItemSelected()
199 AppWidgetHost mHost; field in AppWidgetHostActivity
/frameworks/base/core/java/android/view/
DInputFilter.java119 private IInputFilterHost mHost; field in InputFilter
169 if (mHost == null) { in sendInputEvent()
177 mHost.sendInputEvent(event, policyFlags); in sendInputEvent()
228 mHost = (IInputFilterHost) msg.obj; in handleMessage()
242 mHost = null; in handleMessage()
/frameworks/base/packages/SystemUI/src/com/android/systemui/doze/
DDozeService.java61 private DozeHost mHost; field in DozeService
87 pw.print(" mHost: "); pw.println(mHost); in dumpOnHandler()
107 mHost = app.getComponent(DozeHost.class); in onCreate()
109 if (mHost == null) Log.w(TAG, "No doze service host found."); in onCreate()
138 if (mHost == null) { in onDreamingStarted()
143 mPowerSaveActive = mHost.isPowerSaveActive(); in onDreamingStarted()
162 mHost.startDozing(new Runnable() { in onDreamingStarted()
181 if (mHost == null) { in onDreamingStopped()
189 mHost.stopDozing(); in onDreamingStopped()
197 if (mHost != null && mDreaming && !mPulsing) { in requestPulse()
[all …]
/frameworks/support/percent/src/android/support/percent/
DPercentLayoutHelper.java81 private final ViewGroup mHost; field in PercentLayoutHelper
87 mHost = host; in PercentLayoutHelper()
109 Log.d(TAG, "adjustChildren: " + mHost + " widthMeasureSpec: " in adjustChildren()
115 int widthHint = View.MeasureSpec.getSize(widthMeasureSpec) - mHost.getPaddingLeft() in adjustChildren()
116 - mHost.getPaddingRight(); in adjustChildren()
117 int heightHint = View.MeasureSpec.getSize(heightMeasureSpec) - mHost.getPaddingTop() in adjustChildren()
118 - mHost.getPaddingBottom(); in adjustChildren()
119 for (int i = 0, N = mHost.getChildCount(); i < N; i++) { in adjustChildren()
120 View view = mHost.getChildAt(i); in adjustChildren()
256 for (int i = 0, N = mHost.getChildCount(); i < N; i++) { in restoreOriginalParams()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/external/
DTileServices.java61 private final QSTileHost mHost; field in TileServices
66 mHost = host; in TileServices()
67 mContext = mHost.getContext(); in TileServices()
79 return mHost; in getHost()
108 mHost.getIconController().removeIcon(slot); in freeService()
212 mHost.collapsePanels(); in onShowDialog()
232 mHost.collapsePanels(); in onStartActivity()
255 StatusBarIconController iconController = mHost.getIconController(); in updateStatusIcon()
287 KeyguardMonitor keyguardMonitor = mHost.getKeyguardMonitor(); in isLocked()
293 KeyguardMonitor keyguardMonitor = mHost.getKeyguardMonitor(); in isSecure()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/customize/
DQSCustomizer.java65 private QSTileHost mHost; field in QSCustomizer
120 mHost = host; in setHost()
140 new TileQueryHelper(mContext, mHost).setListener(mTileAdapter); in show()
145 mHost.getKeyguardMonitor().addCallback(mKeyguardCallback); in show()
161 mHost.getKeyguardMonitor().removeCallback(mKeyguardCallback); in hide()
196 for (QSTile tile : mHost.getTiles()) { in setTileSpecs()
204 mTileAdapter.saveSpecs(mHost); in save()
210 if (mHost.getKeyguardMonitor().isShowing()) {
/frameworks/native/services/inputflinger/host/
DInputFlinger.cpp43 mHost = new InputHost(); in InputFlinger()
44 mHost->registerInputDriver(new InputDriver(INPUT_INSTANCE_EVDEV)); in InputFlinger()
68 mHost->dump(result); in dumpInternal()
/frameworks/base/core/java/android/net/nsd/
DNsdServiceInfo.java48 private InetAddress mHost; field in NsdServiceInfo
83 return mHost; in getHost()
88 mHost = s; in setHost()
313 .append(", host: ").append(mHost) in toString()
332 if (mHost != null) { in writeToParcel()
334 dest.writeByteArray(mHost.getAddress()); in writeToParcel()
365 info.mHost = InetAddress.getByAddress(in.createByteArray());
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
DQSPanel.java64 protected QSTileHost mHost; field in QSPanel
118 if (mHost != null) { in onAttachedToWindow()
119 setTiles(mHost.getTiles()); in onAttachedToWindow()
126 mHost.removeCallback(this); in onDetachedFromWindow()
135 setTiles(mHost.getTiles()); in onTilesChanged()
157 return mHost.createTile(subPanel); in getTile()
177 mHost = host; in setHost()
178 mHost.addCallback(this); in setHost()
179 setTiles(mHost.getTiles()); in setHost()
183 mCustomizePanel.setHost(mHost); in setHost()
[all …]
DQSFooter.java54 private QSTileHost mHost; field in QSFooter
75 mHost = host; in setHost()
106 mHost.collapsePanels(); in handleClick()
141 mHost.startActivityDismissingKeyguard(settingsIntent); in onClick()
257 mHost.warn(error, t); in handleMessage()
DQSDetail.java61 private QSTileHost mHost; field in QSDetail
123 mHost = host; in setHost()
176 mHost.animateToggleQSExpansion(); in handleShowingDetail()
187 mHost.animateToggleQSExpansion(); in handleShowingDetail()
206 mHost.startActivityDismissingKeyguard(settingsIntent); in handleShowingDetail()

12