Searched refs:Utils (Results 1 - 25 of 246) sorted by relevance

12345678910

/packages/apps/Gallery2/tests/src/com/android/gallery3d/common/
H A DUtilsTest.java117 Utils.assertTrue(true);
121 Utils.assertTrue(false);
130 Utils.checkNotNull(new Object());
131 Utils.checkNotNull(0);
132 Utils.checkNotNull("");
136 Utils.checkNotNull(null);
147 assertTrue(Utils.equals(null, null));
148 assertTrue(Utils.equals(a, a));
149 assertFalse(Utils.equals(null, a));
150 assertFalse(Utils
[all...]
/packages/apps/Calendar/src/com/android/calendar/
H A DCalendarApplication.java34 Utils.setSharedPreference(this, GeneralPreferences.KEY_VERSION,
35 Utils.getVersionCode(this));
H A DCalendarRecentSuggestionsProvider.java29 setupSuggestions(Utils.getSearchAuthority(getContext()), MODE);
H A DSearchActivity.java99 Utils.setMidnightUpdater(mHandler, mTimeChangesUpdater,
100 Utils.getTimeZone(SearchActivity.this, mTimeChangesUpdater));
112 mIsMultipane = Utils.getConfigBool(this, R.bool.multiple_pane_config);
114 Utils.getConfigBool(this, R.bool.show_event_details_with_agenda);
148 millis = Utils.timeFromIntentInMillis(getIntent());
160 Utils.tardis();
215 Utils.getSearchAuthority(this),
256 if (Utils.isJellybeanOrLater()) {
258 Utils.setTodayIcon(
259 icon, this, Utils
[all...]
H A DQuickResponseSettings.java47 mResponses = Utils.getQuickResponses(getActivity());
93 Utils.setSharedPreference(getActivity(), Utils.KEY_QUICK_RESPONSES, mResponses);
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
H A DSynchronizedHandler.java22 import com.android.gallery3d.common.Utils;
29 mRoot = Utils.checkNotNull(root);
/packages/apps/Gallery2/src/com/android/gallery3d/anim/
H A DAlphaAnimation.java19 import com.android.gallery3d.common.Utils;
45 mCurrentAlpha = Utils.clamp(mStartAlpha
H A DAnimation.java21 import com.android.gallery3d.common.Utils;
84 float x = Utils.clamp((float) elapse / mDuration, 0f, 1f);
/packages/apps/Gallery2/src/com/android/gallery3d/util/
H A DUpdateHelper.java18 import com.android.gallery3d.common.Utils;
49 if (!Utils.equals(original, update)) {
H A DInterruptableOutputStream.java19 import com.android.gallery3d.common.Utils;
33 mOutputStream = Utils.checkNotNull(outputStream);
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/spellcheck/
H A DSpellCheckerSettingsFragment.java24 import com.android.inputmethod.latin.Utils;
42 preferenceScreen.setTitle(Utils.getAcitivityTitleResId(
/packages/apps/DeskClock/src/com/android/deskclock/
H A DScreensaverActivity.java34 import com.android.deskclock.Utils.ScreensaverMoveSaverRunnable;
72 } else if (intent.getAction().equals(Utils.ACTION_ON_QUARTER_HOUR) || changed) {
73 Utils.updateDate(mDateFormat, mDateFormatForAccessibility, mContentView);
77 Utils.refreshAlarm(ScreensaverActivity.this, mContentView);
78 mQuarterlyIntent = Utils.refreshAlarmOnQuarterHour(
97 filter.addAction(Utils.ACTION_ON_QUARTER_HOUR);
120 mQuarterlyIntent = Utils.startAlarmOnQuarterHour(this);
126 Utils.cancelAlarmOnQuarterHour(this, mQuarterlyIntent);
164 Utils.setClockStyle(this, mDigitalClock, mAnalogClock,
168 Utils
[all...]
H A DClockFragment.java68 if (changed || action.equals(Utils.ACTION_ON_QUARTER_HOUR)) {
69 Utils.updateDate(mDateFormat, mDateFormatForAccessibility,mClockFrame);
86 Utils.refreshAlarm(getActivity(), mClockFrame);
89 mQuarterlyIntent = Utils.refreshAlarmOnQuarterHour(getActivity(), mQuarterlyIntent);
129 long time = Utils.getTimeNow();
164 mQuarterlyIntent = Utils.startAlarmOnQuarterHour(getActivity());
167 IntentFilter filter = new IntentFilter(Utils.ACTION_ON_QUARTER_HOUR);
183 View clockView = Utils.setClockStyle(getActivity(), mDigitalClock, mAnalogClock,
186 Utils.CLOCK_TYPE_DIGITAL : Utils
[all...]
/packages/apps/Gallery2/src/com/android/gallery3d/glrenderer/
H A DColorTexture.java19 import com.android.gallery3d.common.Utils;
46 return Utils.isOpaque(mColor);
H A DFadeTexture.java19 import com.android.gallery3d.common.Utils;
75 return Utils.clamp(1.0f - r, 0.0f, 1.0f);
/packages/apps/Calendar/tests/src/com/android/calendar/alerts/
H A DUtils.java21 class Utils { class
/packages/apps/Calendar/tests/src/com/android/calendar/
H A DUtilsTests.java19 import com.android.calendar.Utils;
52 * Test class for verifying helper functions in Calendar's Utils
63 private final TimeZoneUtils timezoneUtils = new TimeZoneUtils(Utils.SHARED_PREFS_NAME);
194 Utils.checkForDuplicateNames(mIsDuplicateName, mDuplicateNameCursor, NAME_COLUMN);
203 Utils.getWeeksSinceEpochFromJulianDay(JULIAN_DAYS[i], Time.MONDAY));
205 Utils.getWeeksSinceEpochFromJulianDay(JULIAN_DAYS[i], Time.SUNDAY));
207 Utils.getWeeksSinceEpochFromJulianDay(JULIAN_DAYS[i], Time.SATURDAY));
216 Utils.getJulianMondayFromWeeksSinceEpoch(WEEKS_FOR_JULIAN_MONDAYS[i]));
223 assertTrue(Utils.equals(null, null));
224 assertFalse(Utils
[all...]
/packages/apps/Settings/src/com/android/settings/users/
H A DProfileUpdateReceiver.java27 import com.android.settings.Utils;
42 Utils.copyMeProfilePhoto(context, null);
56 String profileName = Utils.getMeProfileName(context, false /* partial name */);
/packages/apps/Settings/src/com/android/settings/
H A DDeviceInfoSettings.java110 if (Utils.isWifiOnly(getActivity())) {
121 Utils.updatePreferenceToSpecificActivityOrRemove(act, parentPreference, KEY_TERMS,
122 Utils.UPDATE_PREFERENCE_FLAG_SET_TITLE_TO_MATCHING_ACTIVITY);
123 Utils.updatePreferenceToSpecificActivityOrRemove(act, parentPreference, KEY_LICENSE,
124 Utils.UPDATE_PREFERENCE_FLAG_SET_TITLE_TO_MATCHING_ACTIVITY);
125 Utils.updatePreferenceToSpecificActivityOrRemove(act, parentPreference, KEY_COPYRIGHT,
126 Utils.UPDATE_PREFERENCE_FLAG_SET_TITLE_TO_MATCHING_ACTIVITY);
127 Utils.updatePreferenceToSpecificActivityOrRemove(act, parentPreference, KEY_TEAM,
128 Utils.UPDATE_PREFERENCE_FLAG_SET_TITLE_TO_MATCHING_ACTIVITY);
133 Utils
[all...]
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/
H A DActionBatch.java101 Utils.l("New download action for client ", clientId, " : ", wordList);
113 Utils.l("Downloading word list");
135 Utils.l("Upgrade word list, downloading", mWordList.mRemoteFilename);
145 + com.android.inputmethod.latin.Utils.getVersionName(context) + ".dict";
181 Utils.l("Starting download of", uri, "with id", downloadId);
198 Utils.l("New InstallAfterDownloadAction for client ", clientId, " : ", wordListValues);
216 Utils.l("Setting word list as installed");
232 Utils.l("New EnableAction for client ", clientId, " : ", wordList);
243 Utils.l("Enabling word list");
267 Utils
[all...]
/packages/apps/Calendar/src/com/android/calendar/event/
H A DEditEventFragment.java65 import com.android.calendar.Utils;
115 int mModification = Utils.MODIFY_UNINITIALIZED;
181 mOnDone.setDoneCode(Utils.DONE_EXIT);
331 MatrixCursor matrixCursor = Utils.matrixCursorFromCursor(cursor);
355 int displayColor = Utils.getDisplayColorFromColor(rawColor);
419 if (mShowModifyDialogOnLaunch && mModification == Utils.MODIFY_UNINITIALIZED) {
423 mModification = Utils.MODIFY_ALL;
540 mModification = Utils.MODIFY_ALL;
556 mUseCustomActionBar = !Utils.getConfigBool(mContext, R.bool.multiple_pane_config);
659 if (mModification == Utils
[all...]
/packages/apps/Gallery2/src/com/android/gallery3d/data/
H A DDownloadUtils.java19 import com.android.gallery3d.common.Utils;
42 Utils.closeSilently(fos);
76 Utils.closeSilently(input);
H A DImageCacheService.java23 import com.android.gallery3d.common.Utils;
59 long cacheKey = Utils.crc64Long(key);
81 long cacheKey = Utils.crc64Long(key);
96 long cacheKey = Utils.crc64Long(key);
/packages/apps/DeskClock/src/com/android/deskclock/widget/swipeablelistview/
H A DUtils.java21 public class Utils { class
/packages/apps/Calendar/src/com/android/calendar/widget/
H A DCalendarAppWidgetProvider.java40 import com.android.calendar.Utils;
62 if (Utils.getWidgetUpdateAction(context).equals(action)) {
71 || action.equals(Utils.getWidgetScheduledUpdateAction(context))) {
134 Time time = new Time(Utils.getTimeZone(context, null));
139 final String date = Utils.formatDateRange(context, millis, millis,
170 * widgets. Uses {@link Utils#getWidgetScheduledUpdateAction(Context)} to
177 Intent intent = new Intent(Utils.getWidgetScheduledUpdateAction(context));
178 intent.setDataAndType(CalendarContract.CONTENT_URI, Utils.APPWIDGET_DATA_TYPE);
211 fillInIntent.putExtra(Utils.INTENT_KEY_DETAIL_VIEW, true);

Completed in 495 milliseconds

12345678910