Searched defs:mHost (Results 1 - 25 of 41) sorted by last modified time

12

/frameworks/support/v17/leanback/tests/java/android/support/v17/leanback/widget/
H A DPlaybackTransportRowPresenterTest.java52 PlaybackGlueHostImplWithViewHolder mHost; field in class:PlaybackTransportRowPresenterTest
63 mHost = new PlaybackGlueHostImplWithViewHolder(mContext);
69 mGlue.setHost(mHost);
73 mViewHolder = (PlaybackTransportRowPresenter.ViewHolder) mHost.mViewHolder;
88 mHost.sendKeyDownUp(keyCode, repeat);
/frameworks/support/core-ui/java/android/support/v4/widget/
H A DExploreByTouchHelper.java113 private final View mHost; field in class:ExploreByTouchHelper
138 mHost = host;
382 ViewCompat.getLayoutDirection(mHost) == ViewCompat.LAYOUT_DIRECTION_RTL;
403 guessPreviouslyFocusedRect(mHost, direction, selectedRect);
508 final ViewParent parent = mHost.getParent();
514 return ViewParentCompat.requestSendAccessibilityEvent(parent, mHost, event);
566 final ViewParent parent = mHost.getParent();
572 ViewParentCompat.requestSendAccessibilityEvent(parent, mHost, event);
653 ViewCompat.onInitializeAccessibilityEvent(mHost, event);
698 AccessibilityRecordCompat.setSource(event, mHost, virtualViewI
[all...]
/frameworks/support/core-ui/tests/java/android/support/v4/widget/
H A DExploreByTouchHelperTest.java43 private View mHost; field in class:ExploreByTouchHelperTest
53 mHost = mActivityTestRule.getActivity().findViewById(R.id.host_view);
59 final ExploreByTouchHelper helper = new ParentBoundsHelper(mHost);
60 ViewCompat.setAccessibilityDelegate(mHost, helper);
63 helper.getAccessibilityNodeProvider(mHost).createAccessibilityNodeInfo(1);
67 mHost.getLocalVisibleRect(hostBounds);
74 final Rect hostBoundsOnScreen = getBoundsOnScreen(mHost);
81 mHost.scrollTo(scrollX, scrollY);
85 helper.getAccessibilityNodeProvider(mHost).createAccessibilityNodeInfo(1);
101 ViewCompat.setAccessibilityDelegate(mHost, nul
117 private final View mHost; field in class:ExploreByTouchHelperTest.ParentBoundsHelper
[all...]
/frameworks/support/fragment/java/android/support/v4/app/
H A DFragment.java253 FragmentHostCallback mHost; field in class:Fragment
675 return mHost == null ? null : mHost.getContext();
684 return mHost == null ? null : (FragmentActivity) mHost.getActivity();
692 return mHost == null ? null : mHost.onGetHost();
699 if (mHost == null) {
702 return mHost.getContext().getResources();
792 return mHost !
[all...]
H A DFragmentController.java41 private final FragmentHostCallback<?> mHost; field in class:FragmentController
51 mHost = callbacks;
58 return mHost.getFragmentManagerImpl();
65 return mHost.getLoaderManagerImpl();
73 return mHost.mFragmentManager.findFragmentByWho(who);
80 return mHost.mFragmentManager.getActiveFragmentCount();
87 return mHost.mFragmentManager.getActiveFragments();
95 mHost.mFragmentManager.attachController(
96 mHost, mHost /*containe
[all...]
H A DFragmentManager.java668 FragmentHostCallback mHost; field in class:FragmentManagerImpl
757 if (mHost != null) {
759 mHost.onDump(" ", null, pw, new String[] { });
976 DebugUtils.buildShortClassTag(mHost, sb);
1074 writer.print(prefix); writer.print(" mHost="); writer.println(mHost);
1135 String dir = mHost.getContext().getResources().getResourceTypeName(nextAnim);
1141 animation = AnimationUtils.loadAnimation(mHost.getContext(), nextAnim);
1156 animator = AnimatorInflater.loadAnimator(mHost.getContext(), nextAnim);
1166 animation = AnimationUtils.loadAnimation(mHost
[all...]
H A DLoaderManager.java209 FragmentHostCallback mHost; field in class:LoaderManagerImpl
352 if (mHost != null) {
353 lastBecause = mHost.mFragmentManager.mNoTransactionsBecause;
354 mHost.mFragmentManager.mNoTransactionsBecause = "onLoaderReset";
359 if (mHost != null) {
360 mHost.mFragmentManager.mNoTransactionsBecause = lastBecause;
461 if (mHost != null && !hasRunningLoaders()) {
462 mHost.mFragmentManager.startPendingDeferredFragments();
469 if (mHost != null) {
470 lastBecause = mHost
[all...]
/frameworks/support/frameworks/support/samples/SupportLeanbackDemos/src/com/example/android/leanback/
H A DSampleVideoFragment.java49 final VideoFragmentGlueHost mHost = new VideoFragmentGlueHost(SampleVideoFragment.this); field in class:SampleVideoFragment
96 mMediaPlayerGlue.setHost(mHost);
142 mMediaPlayerGlue.setHost(mHost);
H A DSampleVideoSupportFragment.java52 final VideoSupportFragmentGlueHost mHost = new VideoSupportFragmentGlueHost(SampleVideoSupportFragment.this); field in class:SampleVideoSupportFragment
99 mMediaPlayerGlue.setHost(mHost);
145 mMediaPlayerGlue.setHost(mHost);
/frameworks/support/percent/src/android/support/percent/
H A DPercentLayoutHelper.java129 private final ViewGroup mHost; field in class:PercentLayoutHelper
135 mHost = host;
157 Log.d(TAG, "adjustChildren: " + mHost + " widthMeasureSpec: "
163 int widthHint = View.MeasureSpec.getSize(widthMeasureSpec) - mHost.getPaddingLeft()
164 - mHost.getPaddingRight();
165 int heightHint = View.MeasureSpec.getSize(heightMeasureSpec) - mHost.getPaddingTop()
166 - mHost.getPaddingBottom();
167 for (int i = 0, N = mHost.getChildCount(); i < N; i++) {
168 View view = mHost.getChildAt(i);
304 for (int i = 0, N = mHost
[all...]
/frameworks/support/samples/SupportLeanbackDemos/src/com/example/android/leanback/
H A DSampleVideoFragment.java49 final VideoFragmentGlueHost mHost = new VideoFragmentGlueHost(SampleVideoFragment.this); field in class:SampleVideoFragment
96 mMediaPlayerGlue.setHost(mHost);
142 mMediaPlayerGlue.setHost(mHost);
H A DSampleVideoSupportFragment.java52 final VideoSupportFragmentGlueHost mHost = new VideoSupportFragmentGlueHost(SampleVideoSupportFragment.this); field in class:SampleVideoSupportFragment
99 mMediaPlayerGlue.setHost(mHost);
145 mMediaPlayerGlue.setHost(mHost);
/frameworks/native/services/inputflinger/host/
H A DInputFlinger.h48 sp<InputHostInterface> mHost; member in class:android::InputFlinger
/frameworks/base/tests/appwidgets/AppWidgetHostTest/src/com/android/tests/appwidgethost/
H A DAppWidgetHostActivity.java58 mHost = new AppWidgetHost(this, HOST_ID) {
70 mHost.deleteHost();
85 intent.putExtra(AppWidgetManager.EXTRA_APPWIDGET_ID, mHost.allocateAppWidgetId());
115 mHost.deleteAppWidgetId(appWidgetId);
130 mHost.deleteAppWidgetId(appWidgetId);
136 AppWidgetHostView view = mHost.createView(this, appWidgetId, appWidget);
159 mHost.startListening();
164 mHost.stopListening();
179 mHost.deleteAppWidgetId(view.appWidgetId);
199 AppWidgetHost mHost; field in class:AppWidgetHostActivity
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DAutoTileManager.java40 private final QSTileHost mHost; field in class:AutoTileManager
45 mHost = host;
59 mHost.addTile("inversion");
90 mHost.addTile("work");
108 mHost.addTile("saver");
120 mHost.addTile("hotspot");
147 mHost.addTile("night");
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/doze/
H A DDozeTriggersTest.java51 private DozeHostFake mHost; field in class:DozeTriggersTest
69 mHost = new DozeHostFake();
77 mTriggers = new DozeTriggers(mContext, mMachine, mHost,
91 mHost.callback.onNotificationHeadsUp();
102 mHost.callback.onNotificationHeadsUp();
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/
H A DQSPanelTest.java46 private QSTileHost mHost; field in class:QSPanelTest
54 mHost = mock(QSTileHost.class);
55 when(mHost.getTiles()).thenReturn(Collections.emptyList());
57 mQsPanel.setHost(mHost, mCustomizer);
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/tileimpl/
H A DQSTileImplTest.java58 private QSTileHost mHost; field in class:QSTileImplTest
67 mHost = mock(QSTileHost.class);
68 when(mHost.indexOf(spec)).thenReturn(POSITION);
70 mTile = new TileImpl(mHost);
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
H A DKeyguardMessageArea.java155 private final WeakReference<View> mHost; field in class:KeyguardMessageArea.AnnounceRunnable
159 mHost = new WeakReference<View>(host);
165 final View host = mHost.get();
/frameworks/base/packages/SystemUI/src/com/android/systemui/doze/
H A DDozeUi.java39 private final DozeHost mHost; field in class:DozeUi
54 mHost = host;
61 mHost.pulseWhileDozing(
89 mHost.abortPulsing();
91 mHost.startDozing();
94 mHost.stopDozing();
98 mHost.setAnimateWakeup(shouldAnimateWakeup(newState));
160 mHost.dozeTimeTick();
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
H A DQSAnimator.java68 private QSTileHost mHost; field in class:QSAnimator
101 mHost = qsh;
114 if (mHost != null) {
115 mHost.removeCallback(this);
H A DQSDetail.java65 protected QSTileHost mHost; field in class:QSDetail
129 mHost = host;
H A DQSPanel.java74 protected QSTileHost mHost; field in class:QSPanel
152 if (mHost != null) {
153 setTiles(mHost.getTiles());
160 if (mHost != null) {
161 mHost.removeCallback(this);
171 setTiles(mHost.getTiles());
193 return mHost.createTile(subPanel);
214 mHost = host;
215 mHost.addCallback(this);
216 setTiles(mHost
[all...]
H A DQSSecurityFooter.java62 private QSTileHost mHost; field in class:QSSecurityFooter
86 mHost = host;
119 mHost.collapsePanels();
431 mHost.warn(error, t);
H A DQuickStatusBarHeader.java49 protected QSTileHost mHost; field in class:QuickStatusBarHeader
148 mHost = host;

Completed in 2595 milliseconds

12