/frameworks/support/fragment/java/android/support/v4/app/ |
D | FragmentController.java | 41 private final FragmentHostCallback<?> mHost; field in FragmentController 51 mHost = callbacks; in FragmentController() 58 return mHost.getFragmentManagerImpl(); in getSupportFragmentManager() 65 return mHost.getLoaderManagerImpl(); in getSupportLoaderManager() 73 return mHost.mFragmentManager.findFragmentByWho(who); in findFragmentByWho() 80 return mHost.mFragmentManager.getActiveFragmentCount(); in getActiveFragmentsCount() 87 return mHost.mFragmentManager.getActiveFragments(); in getActiveFragments() 95 mHost.mFragmentManager.attachController( in attachHost() 96 mHost, mHost /*container*/, parent); in attachHost() 111 return mHost.mFragmentManager.onCreateView(parent, name, context, attrs); in onCreateView() [all …]
|
D | Fragment.java | 253 FragmentHostCallback mHost; field in Fragment 675 return mHost == null ? null : mHost.getContext(); in getContext() 684 return mHost == null ? null : (FragmentActivity) mHost.getActivity(); in getActivity() 692 return mHost == null ? null : mHost.onGetHost(); in getHost() 699 if (mHost == null) { in getResources() 702 return mHost.getContext().getResources(); in getResources() 792 return mHost != null && mAdded; in isAdded() 907 mHost.onSupportInvalidateOptionsMenu(); in setHasOptionsMenu() 925 mHost.onSupportInvalidateOptionsMenu(); in setMenuVisibility() 970 if (mHost == null) { [all …]
|
D | LoaderManager.java | 209 FragmentHostCallback mHost; field in LoaderManagerImpl 352 if (mHost != null) { in destroy() 353 lastBecause = mHost.mFragmentManager.mNoTransactionsBecause; in destroy() 354 mHost.mFragmentManager.mNoTransactionsBecause = "onLoaderReset"; in destroy() 359 if (mHost != null) { in destroy() 360 mHost.mFragmentManager.mNoTransactionsBecause = lastBecause; in destroy() 461 if (mHost != null && !hasRunningLoaders()) { in onLoadComplete() 462 mHost.mFragmentManager.startPendingDeferredFragments(); in onLoadComplete() 469 if (mHost != null) { in callOnLoadFinished() 470 lastBecause = mHost.mFragmentManager.mNoTransactionsBecause; in callOnLoadFinished() [all …]
|
D | FragmentManager.java | 668 FragmentHostCallback mHost; field in FragmentManagerImpl 757 if (mHost != null) { in throwException() 759 mHost.onDump(" ", null, pw, new String[] { }); in throwException() 976 DebugUtils.buildShortClassTag(mHost, sb); in toString() 1074 writer.print(prefix); writer.print(" mHost="); writer.println(mHost); in dump() 1135 String dir = mHost.getContext().getResources().getResourceTypeName(nextAnim); in loadAnimation() 1141 animation = AnimationUtils.loadAnimation(mHost.getContext(), nextAnim); in loadAnimation() 1156 animator = AnimatorInflater.loadAnimator(mHost.getContext(), nextAnim); in loadAnimation() 1166 animation = AnimationUtils.loadAnimation(mHost.getContext(), nextAnim); in loadAnimation() 1185 return makeOpenCloseAnimation(mHost.getContext(), 1.125f, 1.0f, 0, 1); in loadAnimation() [all …]
|
/frameworks/base/core/java/android/app/ |
D | FragmentController.java | 42 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 …]
|
D | Fragment.java | 435 FragmentHostCallback mHost; field in Fragment 837 return mHost == null ? null : mHost.getContext(); in getContext() 844 return mHost == null ? null : mHost.getActivity(); in getActivity() 853 return mHost == null ? null : mHost.onGetHost(); in getHost() 860 if (mHost == null) { in getResources() 863 return mHost.getContext().getResources(); in getResources() 945 return mHost != null && mAdded; in isAdded() 1104 if (mFragmentManager != null && mFragmentManager.mHost != null) { in setUserVisibleHint() 1105 context = mFragmentManager.mHost.getContext(); in setUserVisibleHint() 1143 if (mHost == null) { [all …]
|
D | LoaderManager.java | 225 private FragmentHostCallback mHost; field in LoaderManagerImpl 365 if (mHost != null) { in destroy() 366 lastBecause = mHost.mFragmentManager.mNoTransactionsBecause; in destroy() 367 mHost.mFragmentManager.mNoTransactionsBecause = "onLoaderReset"; in destroy() 372 if (mHost != null) { in destroy() 373 mHost.mFragmentManager.mNoTransactionsBecause = lastBecause; in destroy() 474 if (mHost != null && !hasRunningLoaders()) { in onLoadComplete() 475 mHost.mFragmentManager.startPendingDeferredFragments(); in onLoadComplete() 482 if (mHost != null) { in callOnLoadFinished() 483 lastBecause = mHost.mFragmentManager.mNoTransactionsBecause; in callOnLoadFinished() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tileimpl/ |
D | QSFactoryImpl.java | 46 private final QSTileHost mHost; field in QSFactoryImpl 49 mHost = host; in QSFactoryImpl() 53 if (tileSpec.equals("wifi")) return new WifiTile(mHost); in createTile() 54 else if (tileSpec.equals("bt")) return new BluetoothTile(mHost); in createTile() 55 else if (tileSpec.equals("cell")) return new CellularTile(mHost); in createTile() 56 else if (tileSpec.equals("dnd")) return new DndTile(mHost); in createTile() 57 else if (tileSpec.equals("inversion")) return new ColorInversionTile(mHost); in createTile() 58 else if (tileSpec.equals("airplane")) return new AirplaneModeTile(mHost); in createTile() 59 else if (tileSpec.equals("work")) return new WorkModeTile(mHost); in createTile() 60 else if (tileSpec.equals("rotation")) return new RotationLockTile(mHost); in createTile() [all …]
|
/frameworks/base/core/java/android/net/ |
D | ProxyInfo.java | 41 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 …]
|
D | WebAddress.java | 49 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/ |
D | ExploreByTouchHelperTest.java | 43 private View mHost; field in ExploreByTouchHelperTest 53 mHost = mActivityTestRule.getActivity().findViewById(R.id.host_view); in setUp() 59 final ExploreByTouchHelper helper = new ParentBoundsHelper(mHost); in testBoundsInScreen() 60 ViewCompat.setAccessibilityDelegate(mHost, helper); in testBoundsInScreen() 63 helper.getAccessibilityNodeProvider(mHost).createAccessibilityNodeInfo(1); in testBoundsInScreen() 67 mHost.getLocalVisibleRect(hostBounds); in testBoundsInScreen() 74 final Rect hostBoundsOnScreen = getBoundsOnScreen(mHost); in testBoundsInScreen() 81 mHost.scrollTo(scrollX, scrollY); in testBoundsInScreen() 85 helper.getAccessibilityNodeProvider(mHost).createAccessibilityNodeInfo(1); in testBoundsInScreen() 101 ViewCompat.setAccessibilityDelegate(mHost, null); in testBoundsInScreen() [all …]
|
/frameworks/support/core-ui/java/android/support/v4/widget/ |
D | ExploreByTouchHelper.java | 113 private final View mHost; field in ExploreByTouchHelper 138 mHost = host; in ExploreByTouchHelper() 382 ViewCompat.getLayoutDirection(mHost) == ViewCompat.LAYOUT_DIRECTION_RTL; in moveFocus() 403 guessPreviouslyFocusedRect(mHost, direction, selectedRect); in moveFocus() 508 final ViewParent parent = mHost.getParent(); in sendEventForVirtualView() 514 return ViewParentCompat.requestSendAccessibilityEvent(parent, mHost, event); in sendEventForVirtualView() 566 final ViewParent parent = mHost.getParent(); in invalidateVirtualView() 572 ViewParentCompat.requestSendAccessibilityEvent(parent, mHost, event); in invalidateVirtualView() 653 ViewCompat.onInitializeAccessibilityEvent(mHost, event); in createEventForHost() 698 AccessibilityRecordCompat.setSource(event, mHost, virtualViewId); in createEventForChild() [all …]
|
/frameworks/base/tests/appwidgets/AppWidgetHostTest/src/com/android/tests/appwidgethost/ |
D | AppWidgetHostActivity.java | 58 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/packages/SystemUI/src/com/android/systemui/doze/ |
D | DozeUi.java | 39 private final DozeHost mHost; field in DozeUi 54 mHost = host; in DozeUi() 61 mHost.pulseWhileDozing( in pulseWhileDozing() 89 mHost.abortPulsing(); in transitionTo() 91 mHost.startDozing(); in transitionTo() 94 mHost.stopDozing(); in transitionTo() 98 mHost.setAnimateWakeup(shouldAnimateWakeup(newState)); in transitionTo() 160 mHost.dozeTimeTick(); in onTimeTick()
|
/frameworks/base/core/java/android/view/ |
D | InputFilter.java | 113 private IInputFilterHost mHost; field in InputFilter 163 if (mHost == null) { in sendInputEvent() 171 mHost.sendInputEvent(event, policyFlags); in sendInputEvent() 222 mHost = (IInputFilterHost) msg.obj; in handleMessage() 236 mHost = null; in handleMessage()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | AutoTileManager.java | 40 private final QSTileHost mHost; field in AutoTileManager 45 mHost = host; in AutoTileManager() 59 mHost.addTile("inversion"); in AutoTileManager() 90 mHost.addTile("work"); 108 mHost.addTile("saver"); 120 mHost.addTile("hotspot"); 147 mHost.addTile("night");
|
/frameworks/support/percent/src/android/support/percent/ |
D | PercentLayoutHelper.java | 129 private final ViewGroup mHost; field in PercentLayoutHelper 135 mHost = host; in PercentLayoutHelper() 157 Log.d(TAG, "adjustChildren: " + mHost + " widthMeasureSpec: " in adjustChildren() 163 int widthHint = View.MeasureSpec.getSize(widthMeasureSpec) - mHost.getPaddingLeft() in adjustChildren() 164 - mHost.getPaddingRight(); in adjustChildren() 165 int heightHint = View.MeasureSpec.getSize(heightMeasureSpec) - mHost.getPaddingTop() in adjustChildren() 166 - mHost.getPaddingBottom(); in adjustChildren() 167 for (int i = 0, N = mHost.getChildCount(); i < N; i++) { in adjustChildren() 168 View view = mHost.getChildAt(i); in adjustChildren() 304 for (int i = 0, N = mHost.getChildCount(); i < N; i++) { in restoreOriginalParams() [all …]
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/ |
D | QSPanelTest.java | 46 private QSTileHost mHost; field in QSPanelTest 54 mHost = mock(QSTileHost.class); in setup() 55 when(mHost.getTiles()).thenReturn(Collections.emptyList()); in setup() 57 mQsPanel.setHost(mHost, mCustomizer); in setup()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/doze/ |
D | DozeTriggersTest.java | 51 private DozeHostFake mHost; field in DozeTriggersTest 69 mHost = new DozeHostFake(); in setUp() 77 mTriggers = new DozeTriggers(mContext, mMachine, mHost, in setUp() 91 mHost.callback.onNotificationHeadsUp(); in testOnNotification_stillWorksAfterOneFailedProxCheck() 102 mHost.callback.onNotificationHeadsUp(); in testOnNotification_stillWorksAfterOneFailedProxCheck()
|
/frameworks/native/services/inputflinger/host/ |
D | InputFlinger.cpp | 41 mHost = new InputHost(); in InputFlinger() 42 mHost->registerInputDriver(new InputDriver(INPUT_INSTANCE_EVDEV)); in InputFlinger() 66 mHost->dump(result); in dumpInternal()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/ |
D | QSPanel.java | 74 protected QSTileHost mHost; field in QSPanel 152 if (mHost != null) { in onAttachedToWindow() 153 setTiles(mHost.getTiles()); in onAttachedToWindow() 160 if (mHost != null) { in onDetachedFromWindow() 161 mHost.removeCallback(this); in onDetachedFromWindow() 171 setTiles(mHost.getTiles()); in onTilesChanged() 193 return mHost.createTile(subPanel); in getTile() 214 mHost = host; in setHost() 215 mHost.addCallback(this); in setHost() 216 setTiles(mHost.getTiles()); in setHost() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/external/ |
D | TileServices.java | 61 private final QSTileHost mHost; field in TileServices 66 mHost = host; in TileServices() 67 mContext = mHost.getContext(); in TileServices() 79 return mHost; in getHost() 105 mMainHandler.post(() -> mHost.getIconController().removeIcon(slot)); in freeService() 207 mHost.forceCollapsePanels(); in onShowDialog() 227 mHost.forceCollapsePanels(); in onStartActivity() 250 StatusBarIconController iconController = mHost.getIconController(); in updateStatusIcon()
|
/frameworks/base/core/java/android/net/nsd/ |
D | NsdServiceInfo.java | 48 private InetAddress mHost; field in NsdServiceInfo 83 return mHost; in getHost() 88 mHost = s; in setHost() 314 .append(", host: ").append(mHost) in toString() 333 if (mHost != null) { in writeToParcel() 335 dest.writeByteArray(mHost.getAddress()); in writeToParcel() 366 info.mHost = InetAddress.getByAddress(in.createByteArray());
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/customize/ |
D | QSCustomizer.java | 67 private QSTileHost mHost; field in QSCustomizer 126 mHost = host; in setHost() 163 new TileQueryHelper(mContext, mHost, mTileAdapter, tileQueryFetchCompletion); in queryTiles() 212 mTileAdapter.resetTileSpecs(mHost, tiles); in reset() 217 for (QSTile tile : mHost.getTiles()) { in setTileSpecs() 226 mTileAdapter.saveSpecs(mHost); in save()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/tileimpl/ |
D | QSTileImplTest.java | 58 private QSTileHost mHost; field in QSTileImplTest 67 mHost = mock(QSTileHost.class); in setup() 68 when(mHost.indexOf(spec)).thenReturn(POSITION); in setup() 70 mTile = new TileImpl(mHost); in setup()
|