/packages/modules/Connectivity/framework/src/android/net/ |
D | ProxyInfo.java | 46 private final String mHost; field in ProxyInfo 112 mHost = host; in ProxyInfo() 124 mHost = LOCAL_HOST; in ProxyInfo() 139 mHost = LOCAL_HOST; in ProxyInfo() 158 mHost = host; in ProxyInfo() 170 mHost = source.getHost(); in ProxyInfo() 176 mHost = null; in ProxyInfo() 190 inetSocketAddress = new InetSocketAddress(mHost, mPort); in getSocketAddress() 208 return mHost; in getHost() 241 return ProxyUtils.PROXY_VALID == ProxyUtils.validate(mHost == null ? "" : mHost, in isValid() [all …]
|
/packages/apps/DocumentsUI/src/com/android/documentsui/ |
D | ViewAutoScroller.java | 33 private ScrollHost mHost; field in ViewAutoScroller 40 mHost = scrollHost; in ViewAutoScroller() 58 final int topBottomThreshold = (int) (mHost.getViewHeight() in run() 61 if (mHost.getCurrentPosition().y <= topBottomThreshold) { in run() 62 pixelsPastView = mHost.getCurrentPosition().y - topBottomThreshold; in run() 63 } else if (mHost.getCurrentPosition().y >= mHost.getViewHeight() in run() 65 pixelsPastView = mHost.getCurrentPosition().y - mHost.getViewHeight() in run() 69 if (!mHost.isActive() || pixelsPastView == 0) { in run() 96 (int) (mHost.getViewHeight() * TOP_BOTTOM_THRESHOLD_RATIO); in computeScrollDistance()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/search/actionbar/ |
D | SearchMenuControllerTest.java | 59 private InstrumentedFragment mHost; field in SearchMenuControllerTest 66 mHost = spy(new InstrumentedFragment() { in setUp() 75 when(mHost.getActivity()).thenReturn(mActivity); in setUp() 83 SearchMenuController.init(mHost); in init_observableFragment_shouldAddMenu() 84 mHost.getSettingsLifecycle().onCreateOptionsMenu(mMenu, null /* inflater */); in init_observableFragment_shouldAddMenu() 94 mHost.setArguments(args); in init_doNotNeedSearchIcon_shouldNotAddMenu() 96 SearchMenuController.init(mHost); in init_doNotNeedSearchIcon_shouldNotAddMenu() 97 mHost.getSettingsLifecycle().onCreateOptionsMenu(mMenu, null /* inflater */); in init_doNotNeedSearchIcon_shouldNotAddMenu() 104 SearchMenuController.init(mHost); in init_deviceNotProvisioned_shouldNotAddMenu() 105 mHost.getSettingsLifecycle().onCreateOptionsMenu(mMenu, null /* inflater */); in init_deviceNotProvisioned_shouldNotAddMenu() [all …]
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/support/actionbar/ |
D | HelpMenuControllerTest.java | 40 private TestFragment mHost; field in HelpMenuControllerTest 45 mHost = spy(new TestFragment()); in setUp() 46 doReturn(mContext).when(mHost).getContext(); in setUp() 53 mHost.setArguments(bundle); in onCreateOptionsMenu_withArgumentOverride_shouldPrepareHelpUsingOverride() 55 HelpMenuController.init(mHost); in onCreateOptionsMenu_withArgumentOverride_shouldPrepareHelpUsingOverride() 57 mHost.getSettingsLifecycle().onCreateOptionsMenu(null /* menu */, null /* inflater */); in onCreateOptionsMenu_withArgumentOverride_shouldPrepareHelpUsingOverride() 64 HelpMenuController.init(mHost); in onCreateOptionsMenu_noArgumentOverride_shouldPrepareHelpUsingProvider() 66 mHost.getSettingsLifecycle().onCreateOptionsMenu(null /* menu */, null /* inflater */); in onCreateOptionsMenu_noArgumentOverride_shouldPrepareHelpUsingProvider() 68 verify(mContext).getString(mHost.getHelpResource()); in onCreateOptionsMenu_noArgumentOverride_shouldPrepareHelpUsingProvider()
|
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/util/ |
D | WallpaperSurfaceCallback.java | 63 private SurfaceControlViewHost mHost; field in WallpaperSurfaceCallback 124 if (mHost != null && mHost.getView() != null) { in surfaceCreated() 125 mWidth = mHost.getView().getWidth(); in surfaceCreated() 126 mHeight = mHost.getView().getHeight(); in surfaceCreated() 160 if (mHost != null) { in releaseHost() 161 mHost.release(); in releaseHost() 162 mHost = null; in releaseHost() 175 if (mHost != null) { in resetHomeImageWallpaper() 203 mHost = new SurfaceControlViewHost(mContext, in setupSurfaceWallpaper() 206 mHost.setView(mHomeImageWallpaper, mHomeImageWallpaper.getWidth(), in setupSurfaceWallpaper() [all …]
|
D | WallpaperSurfaceCallback2.java | 62 private SurfaceControlViewHost mHost; field in WallpaperSurfaceCallback2 137 if (mHost != null) { in releaseHost() 138 mHost.release(); in releaseHost() 139 mHost = null; in releaseHost() 152 if (mHost != null) { in resetHomeImageWallpaper() 166 mHost = new SurfaceControlViewHost(mAppContext, in setupSurfaceWallpaper() 170 if (mHost != null) { in setupSurfaceWallpaper() 171 mHost.setView(mHomeImageWallpaper, mHomeImageWallpaper.getWidth(), in setupSurfaceWallpaper() 173 mWallpaperSurface.setChildSurfacePackage(mHost.getSurfacePackage()); in setupSurfaceWallpaper()
|
/packages/apps/Settings/src/com/android/settings/support/actionbar/ |
D | HelpMenuController.java | 40 private final Fragment mHost; field in HelpMenuController 51 mHost = host; in HelpMenuController() 56 final Bundle arguments = mHost.getArguments(); in onCreateOptionsMenu() 60 } else if (mHost instanceof HelpResourceProvider) { in onCreateOptionsMenu() 61 helpResourceId = ((HelpResourceProvider) mHost).getHelpResource(); in onCreateOptionsMenu() 66 helpUri = mHost.getContext().getString(helpResourceId); in onCreateOptionsMenu() 68 final Activity activity = mHost.getActivity(); in onCreateOptionsMenu() 70 HelpUtils.prepareHelpMenuItem(activity, menu, helpUri, mHost.getClass().getName()); in onCreateOptionsMenu()
|
/packages/apps/Messaging/src/com/android/messaging/ui/conversation/ |
D | ConversationInputManager.java | 81 private final ConversationInputHost mHost; field in ConversationInputManager 126 mHost = host; in ConversationInputManager() 313 mHost.dismissActionMode(); in handleOnShow() 316 mHost.onStartComposeMessage(); in handleOnShow() 331 mHost.invalidateActionBar(); in endUpdate() 336 mHost.setOptionsMenuVisibility(!mMediaInput.isOpen()); in updateHostOptionsMenu() 354 mMediaPicker.setSubscriptionDataProvider(mHost); in show() 381 mHost.invalidateActionBar(); in show() 389 mHost.invalidateActionBar(); in show() 398 mHost.invalidateActionBar(); in show() [all …]
|
D | ComposeMessageView.java | 129 private IComposeMessageViewHost mHost; field in ComposeMessageView 171 mHost = host; in bind() 176 final int counterColor = mHost.overrideCounterColor(); in bind() 187 mHost = null; in unbind() 201 mHost.onComposeEditTextFocused(); in onFinishInflate() 208 if (mHost.shouldHideAttachmentsWhenSimSelectorShown()) { in onFinishInflate() 232 if (mHost.shouldShowSubjectEditor()) { in onFinishInflate() 279 if (mHost.shouldShowSubjectEditor()) { in onFinishInflate() 321 if (!mHost.shouldHideAttachmentsWhenSimSelectorShown()) { in hideAttachmentsWhenShowingSims() 326 mHost.onAttachmentsChanged(false); in hideAttachmentsWhenShowingSims() [all …]
|
D | ConversationFragment.java | 166 private ConversationFragmentHost mHost; field in ConversationFragment 322 mHost.dismissActionMode(); 337 mHost.dismissActionMode(); 343 mHost.dismissActionMode(); 352 mHost.dismissActionMode(); 358 mHost.dismissActionMode(); 362 mHost.dismissActionMode(); 370 mHost.dismissActionMode(); 457 getActivity(), this, mComposeMessageView, mHost, getFragmentManagerToUse(), in onActivityCreated() 461 mHost.invalidateActionBar(); in onActivityCreated() [all …]
|
/packages/apps/Messaging/src/com/android/messaging/ui/mediapicker/ |
D | CameraPreview.java | 45 private final CameraPreviewHost mHost; field in CameraPreview 50 mHost = host; in CameraPreview() 66 mHost.getView().requestLayout(); in setSize() 106 return mHost.getView().getContext(); in getContext() 110 mHost.getView().setOnTouchListener(listener); in setOnTouchListener() 114 return mHost.getView().getHeight(); in getHeight() 141 return mHost.isValid(); in isValid() 150 mHost.startPreview(camera); in startPreview()
|
/packages/apps/Messaging/src/com/android/messaging/ui/conversationlist/ |
D | ConversationListFragment.java | 91 private ConversationListFragmentHost mHost; field in ConversationListFragment 136 Assert.notNull(mHost); in onResume() 146 && mHost.hasWindowFocus()) { in setScrolledToNewestConversationIfNeeded() 164 mHost = null; in onDestroy() 230 mHost.onCreateConversationClick(); in onCreateView() 280 Assert.isNull(mHost); in setHost() 281 mHost = host; in setHost() 347 mHost.onConversationClick(listData, conversationListItemData, isLongClick, in onConversationClicked() 356 return mHost.isConversationSelected(conversationId); in isConversationSelected() 361 return mHost.isSwipeAnimatable(); in isSwipeAnimatable() [all …]
|
/packages/apps/Settings/src/com/android/settings/security/ |
D | LockUnificationPreferenceController.java | 74 private final SettingsPreferenceFragment mHost; field in LockUnificationPreferenceController 97 mHost = host; in LockUnificationPreferenceController() 133 new ChooseLockSettingsHelper.Builder(mHost.getActivity(), mHost); in onPreferenceChange() 184 .setSourceMetricsCategory(mHost.getMetricsCategory()) in ununifyLocks() 199 new ChooseLockSettingsHelper.Builder(mHost.getActivity(), mHost); in startUnification() 242 .setSourceMetricsCategory(mHost.getMetricsCategory()) in promptForNewDeviceLockAndThenUnify()
|
D | ChangeScreenLockPreferenceController.java | 45 protected final SettingsPreferenceFragment mHost; field in ChangeScreenLockPreferenceController 62 mHost = host; in ChangeScreenLockPreferenceController() 108 mScreenLockPreferenceDetailUtils.openScreenLockSettings(mHost.getMetricsCategory()); in onGearClick() 118 mHost.getMetricsCategory()); in handlePreferenceTreeClick()
|
/packages/apps/Settings/src/com/android/settings/development/ |
D | RebootConfirmationDialogFragment.java | 39 private final RebootConfirmationDialogHost mHost; field in RebootConfirmationDialogFragment 64 mHost = host; in RebootConfirmationDialogFragment() 84 mHost.onRebootConfirmed(getContext()); in onClick() 86 mHost.onRebootCancelled(); in onClick() 93 mHost.onRebootDialogDismissed(); in onDismiss()
|
D | EnableExt4WarningDialog.java | 40 private EnableExt4DialogHost mHost; field in EnableExt4WarningDialog 44 this.mHost = host; in setHost() 83 mHost.onExt4DialogConfirmed(); in onClick() 85 mHost.onExt4DialogDismissed(); in onClick() 92 mHost.onExt4DialogDismissed(); in onDismiss()
|
D | Enable16kPagesWarningDialog.java | 40 private Enable16kbPagesDialogHost mHost; field in Enable16kPagesWarningDialog 43 mHost = host; in setHost() 94 mHost.on16kPagesDialogConfirmed(); in onClick() 96 mHost.on16kPagesDialogDismissed(); in onClick() 103 mHost.on16kPagesDialogDismissed(); in onDismiss()
|
/packages/apps/Settings/src/com/android/settings/applications/intentpicker/ |
D | SupportedLinkWrapper.java | 37 private String mHost; field in SupportedLinkWrapper 44 mHost = host; in SupportedLinkWrapper() 93 return mHost; in getDisplayTitle() 95 return mHost + System.lineSeparator() + context.getString( in getDisplayTitle() 101 return mHost; in getHost()
|
/packages/apps/Settings/src/com/android/settings/search/actionbar/ |
D | SearchMenuController.java | 47 private final Fragment mHost; field in SearchMenuController 61 mHost = host; in SearchMenuController() 67 final Activity activity = mHost.getActivity(); in onCreateOptionsMenu() 80 final Bundle arguments = mHost.getArguments(); in onCreateOptionsMenu() 105 mHost.startActivityForResult(intent, SearchFeatureProvider.REQUEST_CODE); in onCreateOptionsMenu()
|
/packages/apps/Contacts/src/com/android/contacts/quickcontact/ |
D | WebAddress.java | 45 private String mHost; field in WebAddress 71 mHost = ""; in WebAddress() 84 if (t != null) mHost = t; in WebAddress() 135 return mScheme + "://" + authInfo + mHost + port + mPath; in toString()
|
/packages/apps/Settings/src/com/android/settings/wifi/savedaccesspoints2/ |
D | SavedAccessPointsPreferenceController2.java | 41 private SavedAccessPointsWifiSettings2 mHost; field in SavedAccessPointsPreferenceController2 53 mHost = host; in setHost() 82 if (mHost != null) { in onPreferenceClick() 83 mHost.showWifiPage(preference.getKey(), preference.getTitle()); in onPreferenceClick()
|
/packages/apps/Settings/src/com/android/settings/security/trustagent/ |
D | TrustAgentListPreferenceController.java | 67 private final SettingsPreferenceFragment mHost; field in TrustAgentListPreferenceController 80 mHost = host; in TrustAgentListPreferenceController() 128 new ChooseLockSettingsHelper.Builder(mHost.getActivity(), mHost); in handlePreferenceTreeClick() 139 mHost.startActivity(mTrustAgentClickIntent); in handlePreferenceTreeClick() 236 mHost.startActivity(mTrustAgentClickIntent); in handleActivityResult()
|
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/ |
D | AppbarFragment.java | 64 private AppbarFragmentHost mHost; field in AppbarFragment 96 mHost = (AppbarFragmentHost) context; in onAttach() 151 if (upArrow && mHost.isUpArrowSupported()) { in setUpToolbar() 211 mToolbar.setNavigationOnClickListener(v -> mHost.onUpArrowPressed()); in setUpUpArrow() 267 mUpArrowEnabled && mHost.isUpArrowSupported() ? GONE : VISIBLE); in onBottomActionBarReady()
|
/packages/apps/Settings/src/com/android/settings/datetime/ |
D | TimePreferenceController.java | 50 private TimePreferenceHost mHost; field in TimePreferenceController 59 mHost = host; in setHost() 89 mHost.showTimePicker(); in handlePreferenceTreeClick() 97 mHost.updateTimeAndDateDisplay(mContext); in onTimeSet()
|
/packages/apps/Messaging/src/com/android/messaging/datamodel/action/ |
D | BackgroundWorkerService.java | 49 private final ActionService mHost; field in BackgroundWorkerService 53 mHost = DataModel.get().getActionService(); in BackgroundWorkerService() 142 mHost.handleResponseFromBackgroundWorker(action, response); in doBackgroundWork() 156 mHost.handleFailureFromBackgroundWorker(action, exception); in doBackgroundWork()
|