Home
last modified time | relevance | path

Searched refs:isDefault (Results 1 – 25 of 27) sorted by relevance

12

/frameworks/base/core/java/com/android/internal/app/
DMediaRouteDialogPresenter.java48 if (route.isDefault() || !route.matchesTypes(routeTypes)) { in showDialogFragment()
75 if (route.isDefault() || !route.matchesTypes(routeTypes)) { in createDialog()
DMediaRouteControllerDialog.java240 if (!mRoute.isSelected() || mRoute.isDefault()) { in update()
DResolverActivity.java788 r0.priority + "/" + r0.isDefault + " vs " + in rebuildList()
790 ri.priority + "/" + ri.isDefault); in rebuildList()
792 r0.isDefault != ri.isDefault) { in rebuildList()
DMediaRouteChooserDialog.java117 return !route.isDefault() && route.isEnabled() && route.matchesTypes(mRouteTypes); in onFilterRoute()
/frameworks/base/core/java/android/print/
DPrinterCapabilitiesInfo.java405 public Builder addMediaSize(MediaSize mediaSize, boolean isDefault) { in addMediaSize() argument
411 if (isDefault) { in addMediaSize()
433 public Builder addResolution(Resolution resolution, boolean isDefault) { in addResolution() argument
439 if (isDefault) { in addResolution()
/frameworks/base/core/java/android/net/
DNetworkConfig.java77 public boolean isDefault() { in isDefault() method in NetworkConfig
/frameworks/base/services/core/java/com/android/server/display/
DDisplayManagerService.java721 boolean isDefault = (deviceInfo.flags in addLogicalDisplayLocked()
723 if (isDefault && mLogicalDisplays.get(Display.DEFAULT_DISPLAY) != null) { in addLogicalDisplayLocked()
725 isDefault = false; in addLogicalDisplayLocked()
728 if (!isDefault && mSingleDisplayDemoMode) { in addLogicalDisplayLocked()
734 final int displayId = assignDisplayIdLocked(isDefault); in addLogicalDisplayLocked()
749 if (isDefault) { in addLogicalDisplayLocked()
756 private int assignDisplayIdLocked(boolean isDefault) { in assignDisplayIdLocked() argument
757 return isDefault ? Display.DEFAULT_DISPLAY : mNextNonDefaultDisplayId++; in assignDisplayIdLocked()
/frameworks/base/core/java/android/content/pm/
DResolveInfo.java103 public boolean isDefault; field in ResolveInfo
246 + " isDefault=" + isDefault); in dump()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DCastControllerImpl.java237 if (selected != null && !selected.isDefault()) { in updateRemoteDisplays()
266 if (route.isDefault()) sb.append(",default"); in routeToString()
/frameworks/support/v7/mediarouter/src/android/support/v7/app/
DMediaRouteButton.java232 if (route.isDefault() || !route.matchesSelector(mSelector)) { in showDialog()
490 final boolean isRemote = !route.isDefault() && route.matchesSelector(mSelector); in refreshRoute()
DMediaRouteControllerDialog.java242 if (!mRoute.isSelected() || mRoute.isDefault()) { in update()
DMediaRouteChooserDialog.java134 return !route.isDefault() && route.isEnabled() && route.matchesSelector(mSelector); in onFilterRoute()
/frameworks/base/core/tests/inputmethodtests/src/android/os/
DInputMethodTest.java196 CharSequence label, boolean isAuxIme, boolean isDefault, in createDummyInputMethodInfo() argument
211 return new InputMethodInfo(ri, isAuxIme, "", subtypes, 1, isDefault); in createDummyInputMethodInfo()
/frameworks/base/core/java/com/android/internal/inputmethod/
DInputMethodUtils.java134 if (isSystemIme(imi) && imi.isDefault(context) && in getFallbackLocaleForDefaultIme()
179 if (isSystemIme(imi) && imi.isDefault(context) && in getDefaultEnabledImes()
197 if (!isSystemIme(imi) || !imi.isDefault(context)) { in getDefaultEnabledImes()
217 if (!isSystemIme(imi) || !imi.isDefault(context)) { in getDefaultEnabledImes()
273 if (imi.isDefault(context) && containsSubtypeOf( in isValidSystemDefaultIme()
/frameworks/base/core/jni/
Dandroid_util_Process.cpp187 bool isDefault = false; in android_os_Process_setProcessGroup() local
190 isDefault = true; in android_os_Process_setProcessGroup()
245 if (isDefault) { in android_os_Process_setProcessGroup()
/frameworks/support/v7/mediarouter/src/android/support/v7/media/
DSystemMediaRouteProvider.java334 boolean isDefault = (getDefaultRoute() == routeObj); in assignRouteId()
335 String id = isDefault ? DEFAULT_ROUTE_ID : in assignRouteId()
DMediaRouter.java332 if (!route.isDefault() && !route.matchesSelector(selector)) { in updateSelectedRoute()
857 public boolean isDefault() { in isDefault() method in MediaRouter.RouteInfo
1664 && route.isDefault()) { in isRouteAvailable()
/frameworks/av/media/libmediaplayerservice/nuplayer/
DGenericSource.cpp931 int32_t isAutoselect = 1, isDefault = 0, isForced = 0; in getTrackInfo() local
933 meta->findInt32(kKeyTrackIsDefault, &isDefault); in getTrackInfo()
937 format->setInt32("default", !!isDefault); in getTrackInfo()
DNuPlayer.cpp351 int32_t isAuto, isDefault, isForced; in writeTrackInfo() local
353 CHECK(format->findInt32("default", &isDefault)); in writeTrackInfo()
358 reply->writeInt32(isDefault); in writeTrackInfo()
/frameworks/base/media/java/android/media/
DRingtoneManager.java655 public static boolean isDefault(Uri ringtoneUri) { in isDefault() method in RingtoneManager
DMediaRouter.java1924 public boolean isDefault() { in isDefault() method in MediaRouter.RouteInfo
/frameworks/base/core/java/android/app/
DMediaRouteButton.java393 final boolean isRemote = !route.isDefault() && route.matchesTypes(mRouteTypes); in refreshRoute()
/frameworks/base/core/java/android/view/inputmethod/
DInputMethodInfo.java415 public boolean isDefault(Context context) { in isDefault() method in InputMethodInfo
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
DAccessibilityManagerService.java868 private boolean notifyGestureLocked(int gestureId, boolean isDefault) { in notifyGestureLocked() argument
881 if (service.mRequestTouchExplorationMode && service.mIsDefault == isDefault) { in notifyGestureLocked()
889 private boolean notifyKeyEventLocked(KeyEvent event, int policyFlags, boolean isDefault) { in notifyKeyEventLocked() argument
906 if (service.mIsDefault == isDefault) { in notifyKeyEventLocked()
1020 boolean isDefault) { in notifyAccessibilityServicesDelayedLocked() argument
1026 if (service.mIsDefault == isDefault) { in notifyAccessibilityServicesDelayedLocked()
/frameworks/base/services/core/java/com/android/server/pm/
DPackageManagerService.java3059 || r0.isDefault != r1.isDefault) { in chooseBestActivity()
3460 forwardingResolveInfo.isDefault = true; in createForwardingResolveInfo()
7346 res.isDefault = info.hasDefault; in newResult()
7549 res.isDefault = info.hasDefault; in newResult()
7755 res.isDefault = info.hasDefault; in newResult()
7799 if (r1.isDefault != r2.isDefault) {
7800 return r1.isDefault ? -1 : 1;

12