Searched defs:mHost (Results 1 - 25 of 41) sorted by relevance

12

/frameworks/native/services/inputflinger/host/
H A DInputFlinger.h48 sp<InputHostInterface> mHost; member in class:android::InputFlinger
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tileimpl/
H A DQSFactoryImpl.java4 * Licensed under the Apache License, Version 2.0 (the "License"); you may not use mHost file
46 private final QSTileHost mHost; field in class:QSFactoryImpl
49 mHost = host;
53 if (tileSpec.equals("wifi")) return new WifiTile(mHost);
54 else if (tileSpec.equals("bt")) return new BluetoothTile(mHost);
55 else if (tileSpec.equals("cell")) return new CellularTile(mHost);
56 else if (tileSpec.equals("dnd")) return new DndTile(mHost);
57 else if (tileSpec.equals("inversion")) return new ColorInversionTile(mHost);
58 else if (tileSpec.equals("airplane")) return new AirplaneModeTile(mHost);
59 else if (tileSpec.equals("work")) return new WorkModeTile(mHost);
[all...]
/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/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/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/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/core/java/android/view/
H A DInputFilter.java113 private IInputFilterHost mHost; field in class:InputFilter
163 if (mHost == null) {
171 mHost.sendInputEvent(event, policyFlags);
222 mHost = (IInputFilterHost) msg.obj;
236 mHost = null;
/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/base/core/java/android/net/
H A DProxyInfo.java41 private String mHost; field in class:ProxyInfo
95 mHost = host;
106 mHost = LOCAL_HOST;
120 mHost = LOCAL_HOST;
131 mHost = LOCAL_HOST;
141 mHost = host;
154 mHost = source.getHost();
170 inetSocketAddress = new InetSocketAddress(mHost, mPort);
188 return mHost;
230 return Proxy.PROXY_VALID == Proxy.validate(mHost
[all...]
H A DWebAddress.java49 private String mHost; field in class:WebAddress
77 mHost = "";
90 if (t != null) mHost = t;
141 return mScheme + "://" + authInfo + mHost + port + mPath;
156 mHost = host;
161 return mHost;
/frameworks/base/core/java/android/net/nsd/
H A DNsdServiceInfo.java48 private InetAddress mHost; field in class:NsdServiceInfo
83 return mHost;
88 mHost = s;
314 .append(", host: ").append(mHost)
333 if (mHost != null) {
335 dest.writeByteArray(mHost.getAddress());
366 info.mHost = InetAddress.getByAddress(in.createByteArray());
/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 DQuickStatusBarHeader.java49 protected QSTileHost mHost; field in class:QuickStatusBarHeader
148 mHost = host;
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/customize/
H A DTileQueryHelper.java52 private final QSTileHost mHost; field in class:TileQueryHelper
59 mHost = host;
80 final QSTile tile = mHost.createTile(spec);
112 Collection<QSTile> params = mHost.getTiles();
H A DQSCustomizer.java67 private QSTileHost mHost; field in class:QSCustomizer
126 mHost = host;
163 new TileQueryHelper(mContext, mHost, mTileAdapter, tileQueryFetchCompletion);
212 mTileAdapter.resetTileSpecs(mHost, tiles);
217 for (QSTile tile : mHost.getTiles()) {
226 mTileAdapter.saveSpecs(mHost);
/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/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/core/java/android/app/
H A DFragmentController.java42 private final FragmentHostCallback<?> mHost; field in class:FragmentController
52 mHost = callbacks;
59 return mHost.getFragmentManagerImpl();
66 return mHost.getLoaderManagerImpl();
74 return mHost.mFragmentManager.findFragmentByWho(who);
82 mHost.mFragmentManager.attachController(
83 mHost, mHost /*container*/, parent);
98 return mHost.mFragmentManager.onCreateView(parent, name, context, attrs);
105 mHost
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/external/
H A DTileServices.java61 private final QSTileHost mHost; field in class:TileServices
66 mHost = host;
67 mContext = mHost.getContext();
79 return mHost;
105 mMainHandler.post(() -> mHost.getIconController().removeIcon(slot));
207 mHost.forceCollapsePanels();
227 mHost.forceCollapsePanels();
250 StatusBarIconController iconController = mHost.getIconController();
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
H A DDragDownHelper.java52 private View mHost; field in class:DragDownHelper
66 mHost = host;
227 mHost.getLocationOnScreen(mTemp2);
/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...]

Completed in 1504 milliseconds

12