Searched refs:clock (Results 1 - 14 of 14) sorted by relevance

/packages/providers/ContactsProvider/src/com/android/providers/contacts/util/
H A DClock.java29 static void injectInstance(Clock clock) { argument
30 sInstance = clock;
/packages/apps/DeskClock/src/com/android/alarmclock/
H A DDigitalWidgetViewsFactory.java52 // An adapter to provide the view for the list of cities in the world clock.
71 // Always how the left clock
74 // Show the right clock if any, make it invisible if there is no
75 // clock on the right
87 private void updateView(RemoteViews clock, CityObj cityObj, int clockId1, int clockId2, argument
95 clock.setTextViewTextSize(clockId1, TypedValue.COMPLEX_UNIT_PX, mFontSize * mFontScale);
96 clock.setTextViewTextSize(clockId2, TypedValue.COMPLEX_UNIT_PX, mFontSize * mFontScale);
97 clock.setString(clockId1, "setTimeZone", cityObj.mTimeZone);
98 clock.setString(clockId2, "setTimeZone", cityObj.mTimeZone);
99 clock
114 hideView( RemoteViews clock, int clockId1, int clockId2, int labelId, int dayId) argument
[all...]
H A DWidgetUtils.java32 public static void setClockSize(Context context, RemoteViews clock, float scale) { argument
34 clock.setTextViewTextSize(
36 clock.setTextViewTextSize(
59 // Decide if to show the list of world clock.
H A DDigitalAppWidgetProvider.java62 // scale the fonts of the clock to fit inside the new size
90 private void refreshAlarm(Context c, RemoteViews clock) { argument
94 clock.setTextViewText(R.id.nextAlarm,
96 clock.setViewVisibility(R.id.nextAlarm, View.VISIBLE);
98 clock.setViewVisibility(R.id.nextAlarm, View.GONE);
/packages/apps/Email/src/com/android/email/
H A DThrottle.java84 int maxTimeout, Clock clock, Timer timer) {
90 mClock = clock;
83 Throttle(String name, Runnable callback, Handler handler,int minTimeout, int maxTimeout, Clock clock, Timer timer) argument
H A DRefreshManager.java125 public void onCallback(MessagingException exception, int progress, Clock clock) { argument
133 mLastRefreshTime = clock.getTime();
177 protected RefreshManager(Context context, Controller controller, Clock clock, argument
179 mClock = clock;
H A DNotificationController.java125 NotificationController(Context context, Clock clock) { argument
134 mClock = clock;
/packages/apps/Email/tests/src/com/android/email/
H A DThrottleTest.java39 * Advance the clock.
176 public MockTimer(Clock clock) { argument
177 mClock = clock;
193 * {@link MockTimer} can't know when the clock advances. This method must be called
/packages/apps/Email/tests/src/com/android/email/activity/
H A DUIControllerTwoPaneRefreshTaskTest.java162 Context context, Controller controller, Clock clock, Handler handler) {
163 super(context, controller, clock, handler);
161 MockRefreshManager( Context context, Controller controller, Clock clock, Handler handler) argument
/packages/apps/DeskClock/src/com/android/deskclock/worldclock/
H A DWorldClockAdapter.java182 // The world clock list item can hold two world clocks
189 // To make sure the spacing is right , make sure that the right clock style is selected
190 // even if the clock is invisible.
206 private void updateView(View clock, CityObj cityObj) { argument
207 View nameLayout= clock.findViewById(R.id.city_name_layout);
210 DigitalClock dclock = (DigitalClock)(clock.findViewById(R.id.digital_clock));
211 AnalogClock aclock = (AnalogClock)(clock.findViewById(R.id.analog_clock));
/packages/inputmethods/LatinIME/native/jni/src/
H A Ddefines.h160 PROF_COUNT(prof_buf_id); profile_old[prof_buf_id] = (clock()); } while (0)
162 #define PROF_END(prof_buf_id) profile_buf[prof_buf_id] += ((clock()) - profile_old[prof_buf_id])
164 AKLOGI("%s : clock is %f", __FUNCTION__, (clock() - profile_old[prof_buf_id]))
/packages/apps/DeskClock/src/com/android/deskclock/
H A DUtils.java68 * Intent to be used for checking if a clock's date has changed. Must be every fifteen
73 /** Types that may be used for clock displays. **/
196 /** Runnable for use with screensaver and dream, to move the clock every minute.
326 * For screensavers to set whether the digital or analog clock should be displayed.
361 public static void refreshAlarm(Context context, View clock) { argument
365 nextAlarmView = (TextView) clock.findViewById(R.id.nextAlarm);
379 String dateFormat, String dateFormatForAccessibility, View clock) {
385 dateDisplay = (TextView) clock.findViewById(R.id.date);
378 updateDate( String dateFormat, String dateFormatForAccessibility, View clock) argument
H A DAlarmClock.java454 DigitalClock clock; field in class:AlarmClock.AlarmItemAdapter.ItemHolder
567 holder.clock = (DigitalClock) view.findViewById(R.id.digital_clock);
568 holder.clock.setLive(false);
646 itemHolder.clock.updateTime(alarm.hour, alarm.minutes);
647 itemHolder.clock.setClickable(true);
648 itemHolder.clock.setOnClickListener(new View.OnClickListener() {
660 itemHolder.clock.setOnLongClickListener(mLongClickListener);
/packages/apps/Email/src/com/android/email/activity/
H A DUIControllerTwoPane.java581 long mailboxId, Clock clock, RefreshManager refreshManager) {
583 mClock = clock;
580 RefreshTask(EmailAsyncTask.Tracker tracker, Context context, long accountId, long mailboxId, Clock clock, RefreshManager refreshManager) argument

Completed in 254 milliseconds