Searched defs:always (Results 1 - 25 of 30) sorted by relevance

12

/frameworks/base/services/core/java/com/android/server/pm/
H A DPreferredActivity.java39 boolean always) {
41 mPref = new PreferredComponent(this, match, set, activity, always);
38 PreferredActivity(IntentFilter filter, int match, ComponentName[] set, ComponentName activity, boolean always) argument
H A DPreferredComponent.java38 private static final String ATTR_ALWAYS = "always"; // boolean
45 // Whether this is to be the one that's always chosen. If false, it's the most recently chosen.
62 ComponentName component, boolean always) {
66 mAlways = always;
61 PreferredComponent(Callbacks callbacks, int match, ComponentName[] set, ComponentName component, boolean always) argument
/frameworks/support/compat/src/main/java/androidx/core/util/
H A DTimeUtils.java43 static private int accumField(int amt, int suffix, boolean always, int zeropad) { argument
44 if (amt > 99 || (always && zeropad >= 3)) {
47 if (amt > 9 || (always && zeropad >= 2)) {
50 if (always || amt > 0) {
57 boolean always, int zeropad) {
58 if (always || amt > 0) {
60 if ((always && zeropad >= 3) || amt > 99) {
66 if ((always && zeropad >= 2) || amt > 9 || startPos != pos) {
56 printField(char[] formatStr, int amt, char suffix, int pos, boolean always, int zeropad) argument
/frameworks/base/core/java/android/util/
H A DTimeUtils.java101 static private int accumField(int amt, int suffix, boolean always, int zeropad) { argument
110 if (amt > 99 || (always && zeropad >= 3)) {
113 if (amt > 9 || (always && zeropad >= 2)) {
116 if (always || amt > 0) {
124 boolean always, int zeropad) {
125 if (always || amt > 0) {
142 if ((always && zeropad >= 3) || amt > 99) {
148 if ((always && zeropad >= 2) || amt > 9 || startPos != pos) {
123 printFieldLocked(char[] formatStr, int amt, char suffix, int pos, boolean always, int zeropad) argument
/frameworks/base/tools/split-select/
H A DRuleGenerator.cpp68 // SDK_VERSION is handled elsewhere, so we always pick DENSITY_ANY if it's
70 sp<Rule> always = new Rule(); local
71 always->op = Rule::ALWAYS_TRUE;
72 return always;
/frameworks/base/core/java/android/widget/
H A DSlidingDrawer.java508 private void performFling(int position, float velocity, boolean always, argument
514 if (always || (velocity > mMaximumMajorVelocity ||
531 if (!always && (velocity > mMaximumMajorVelocity ||
961 // mAllowSingleTap isn't relevant here; you're *always*
H A DRemoteViewsAdapter.java334 private boolean sendNotifyDataSetChange(boolean always) { argument
336 if (always || !mRemoteViewsFactory.isCreated()) {
370 * @param forceApplyAsync when true, the host will always try to inflate the view
505 // We +1 because the loading view always has view type id of 0
/frameworks/base/core/java/com/android/internal/app/procstats/
H A DProcessState.java458 public void addPss(long pss, long uss, long rss, boolean always, int type, long duration, argument
483 if (!always) {
/frameworks/base/services/core/java/com/android/server/wm/
H A DSession.java300 boolean always) {
306 effectId, always);
299 performHapticFeedback(IWindow window, int effectId, boolean always) argument
/frameworks/base/tools/bit/
H A Dmain.cpp113 InstallApk(const string& filename, bool always);
128 InstallApk::InstallApk(const string& filename, bool always) argument
130 alwaysInstall(always),
675 // it won't change we will always need to do adb sync
/frameworks/base/core/java/android/service/wallpaper/
H A DWallpaperService.java439 * it is being shown in low power mode, in always on display.
543 * The default implementation does nothing, and always returns null
1093 void doOffsetsChanged(boolean always) { argument
1098 if (!always && !mOffsetsChanged) {
/frameworks/base/core/java/com/android/internal/app/
H A DChooserActivity.java448 public void startSelected(int which, boolean always, boolean filtered) { argument
450 super.startSelected(which, always, filtered);
H A DResolverActivity.java611 public void startSelected(int which, boolean always, boolean hasIndexBeenFiltered) { argument
628 if (onTargetSelected(target, always)) {
629 if (always && mSupportsAlwaysUseOption) {
902 // of the last used choice to highlight it in the list. We need to always
/frameworks/base/services/tests/servicestests/src/com/android/server/wm/
H A DTestWindowManagerPolicy.java420 public void showBootMessage(CharSequence msg, boolean always) { argument
446 boolean always) {
445 performHapticFeedbackLw(WindowState win, int effectId, boolean always) argument
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/mocks/
H A DConnectivityServiceMock.java516 public void setAcceptUnvalidated(Network network, boolean accept, boolean always) { argument
/frameworks/base/core/java/android/app/
H A DFragmentManager.java1612 * changes state or {@code always} is {@code true}, any fragments within it have their
1616 * @param always If {@code true}, all fragments update their state, even
1619 void moveToState(int newState, boolean always) { argument
1624 if (!always && mCurState == newState) {
/frameworks/base/core/java/com/android/internal/widget/
H A DViewPager.java490 boolean setCurrentItemInternal(int item, boolean smoothScroll, boolean always) { argument
491 return setCurrentItemInternal(item, smoothScroll, always, 0);
494 boolean setCurrentItemInternal(int item, boolean smoothScroll, boolean always, int velocity) { argument
501 if (!always && mCurItem == item && mItems.size() != 0) {
1362 // For simple implementation, our internal size is always 0.
1898 * ACTION_DOWN always refers to pointer index 0.
/frameworks/base/services/core/java/com/android/server/content/
H A DSyncManager.java1729 // request. Retries of the request will always honor the backoff, so clear the
2134 boolean always) {
2135 if (!always && (value == 0)) {
2138 if (always && (value < 10)) {
2133 printTwoDigitNumber(StringBuilder sb, long value, char unit, boolean always) argument
/frameworks/support/fragment/src/main/java/androidx/fragment/app/
H A DFragmentManager.java1828 * changes state or {@code always} is {@code true}, any fragments within it have their
1832 * @param always If {@code true}, all fragments update their state, even
1835 void moveToState(int newState, boolean always) { argument
1840 if (!always && newState == mCurState) {
/frameworks/support/viewpager/src/main/java/androidx/viewpager/widget/
H A DViewPager.java443 // children are always full-height, we do not want to use the standard
630 void setCurrentItemInternal(int item, boolean smoothScroll, boolean always) { argument
631 setCurrentItemInternal(item, smoothScroll, always, 0);
634 void setCurrentItemInternal(int item, boolean smoothScroll, boolean always, int velocity) { argument
639 if (!always && mCurItem == item && mItems.size() != 0) {
960 // whether that scrolling has actually started (if we always call getStartX
1550 // For simple implementation, our internal size is always 0.
2116 * ACTION_DOWN always refers to pointer index 0.
2687 * @return Whether this ViewPager can be scrolled in the specified direction. It will always
/frameworks/base/core/java/android/net/
H A DConnectivityManager.java169 * should always obtain network information through
869 * You should always check {@link NetworkInfo#isConnected()} before initiating
935 * Checks if a VPN app supports always-on mode.
937 * In order to support the always-on feature, an app has to
946 * @return {@code true} if and only if the VPN app exists and supports always-on mode.
958 * Configures an always-on VPN connection through a specific application.
965 * @param userId The identifier of the user to set an always-on VPN for.
967 * to remove an existing always-on VPN configuration.
970 * @return {@code true} if the package is set as always-on VPN controller;
984 * Returns the package name of the currently set always
3531 setAcceptUnvalidated(Network network, boolean accept, boolean always) argument
[all...]
/frameworks/base/services/core/java/com/android/server/policy/
H A DWindowManagerPolicy.java1196 * @return Whether to always consume the navigation bar.
1496 public void showBootMessage(final CharSequence msg, final boolean always); argument
1521 public boolean performHapticFeedbackLw(WindowState win, int effectId, boolean always); argument
/frameworks/base/core/java/android/view/
H A DViewGroup.java2611 final int actionIndex = ev.getActionIndex(); // always 0 for down
3729 * <p>Subclasses should always call <code>super.onNestedPrePerformAccessibilityAction</code></p>
4447 // Clearing a pressed state always propagates.
4650 * <p>Transient views must always be explicitly {@link #removeTransientView(View) removed}
4924 * Called when a new child is added to this ViewGroup. Overrides should always
4940 * Called when a child view is removed from this ViewGroup. Overrides should always
6298 * Indicates whether this ViewGroup will always try to draw its children using their
6316 * Indicates whether this ViewGroup will always try to draw its children using their
6325 * @param always true to always dra
6336 setAlwaysDrawnWithCacheEnabled(boolean always) argument
[all...]
H A DViewRootImpl.java274 // make sure that we always call relayout for the corresponding window.
1471 // that the screen be kept on, then it is always set; otherwise, it is
1751 // However, windows are now always 32 bits by default, so choose 32 bits
2144 // Note that frame size change doesn't always imply surface size change (eg.
3273 // If accessibility focus moved, always invalidate the root.
6613 public boolean performHapticFeedback(int effectId, boolean always) { argument
6615 return mWindowSession.performHapticFeedback(mWindow, effectId, always);
8420 // a removed view, hence in this case always prefer the source.
/frameworks/base/services/core/java/com/android/server/
H A DConnectivityService.java401 * used internally to (re)configure mobile data always-on settings.
993 // Watch for whether or not to keep mobile data always on.
1824 // Configure whether mobile data is always on.
2790 public void setAcceptUnvalidated(Network network, boolean accept, boolean always) { argument
2793 encodeBool(accept), encodeBool(always), network));
2802 private void handleSetAcceptUnvalidated(Network network, boolean accept, boolean always) { argument
2804 " accept=" + accept + " always=" + always);
2828 if (always) {
3880 * Starts the always
[all...]

Completed in 1653 milliseconds

12