Searched defs:clock (Results 1 - 11 of 11) sorted by last modified time

/packages/providers/ContactsProvider/src/com/android/providers/contacts/util/
H A DClock.java29 static void injectInstance(Clock clock) { argument
30 sInstance = clock;
/packages/apps/UnifiedEmail/src/com/android/mail/utils/
H A DThrottle.java86 int maxTimeout, Clock clock, Timer timer) {
92 mClock = clock;
85 Throttle(String name, Runnable callback, Handler handler,int minTimeout, int maxTimeout, Clock clock, Timer timer) argument
/packages/apps/OMA-DM/engine/dmlib/portlib/lj/src/
H A Dxpl_Time.cc28 XPL_CLK_RET_STATUS_T XPL_CLK_UnpackTime(XPL_CLK_CLOCK_T clock, XPL_CLK_TM_T *parsed_clock) argument
31 time_t tt = clock;
/packages/apps/OMA-DM/engine/xpl/src/
H A Dxpl_Time.cc28 XPL_CLK_RET_STATUS_T XPL_CLK_UnpackTime(XPL_CLK_CLOCK_T clock, XPL_CLK_TM_T *parsed_clock) argument
31 time_t tt = clock;
/packages/apps/Email/src/com/android/email/
H A DNotificationController.java89 protected NotificationController(Context context, Clock clock) { argument
94 mClock = clock;
/packages/apps/Email/tests/src/com/android/email/
H A DThrottleTest.java44 * Advance the clock.
181 public MockTimer(Clock clock) { argument
182 mClock = clock;
198 * {@link MockTimer} can't know when the clock advances. This method must be called
/packages/apps/DeskClock/src/com/android/alarmclock/
H A DDigitalWidgetViewsFactory.java48 // 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
96 private void updateView(RemoteViews clock, CityObj cityObj, int clockId, argument
106 WidgetUtils.setTimeFormat(clock,
110 clock.setTextViewTextSize(clockId, TypedValue.COMPLEX_UNIT_PX, fontSize * mFontScale);
111 clock.setString(clockId, "setTimeZone", cityObj.mTimeZone);
114 clock.setTextViewText(labelId, Utils.getCityName(cityObj, cityInDb));
117 clock
129 hideView( RemoteViews clock, int clockId, int labelId, int dayId) argument
[all...]
H A DWidgetUtils.java36 public static void setClockSize(Context context, RemoteViews clock, float scale) { argument
38 clock.setTextViewTextSize(
103 // Decide if to show the list of world clock.
136 * Set the format of the time on the clock accrding to the locale
137 * @param clock - view to format
139 * @param clockId - id of TextClock view as defined in the clock's layout.
141 public static void setTimeFormat(RemoteViews clock, int amPmFontSize, int clockId) { argument
142 if (clock != null) {
144 clock.setCharSequence(clockId, "setFormat12Hour", Utils.get12ModeFormat(amPmFontSize));
146 clock
[all...]
/packages/apps/DeskClock/src/com/android/deskclock/
H A DAlarmClockFragment.java529 TextTime clock; field in class:AlarmClockFragment.AlarmItemAdapter.ItemHolder
653 holder.clock = (TextTime) view.findViewById(R.id.digital_clock);
708 itemHolder.clock.setFormat(
710 itemHolder.clock.setTime(alarm.hour, alarm.minutes);
711 itemHolder.clock.setClickable(true);
712 itemHolder.clock.setOnClickListener(new View.OnClickListener() {
983 holder.clock.setAlpha(alpha);
H A DUtils.java86 /** Types that may be used for clock displays. **/
248 /** Runnable for use with screensaver and dream, to move the clock every minute.
428 * For screensavers to set whether the digital or analog clock should be displayed.
479 public static void refreshAlarm(Context context, View clock) { argument
482 nextAlarmView = (TextView) clock.findViewById(R.id.nextAlarm);
496 String dateFormat, String dateFormatForAccessibility, View clock) {
500 dateDisplay = (TextView) clock.findViewById(R.id.date);
516 * @param clock - TextClock to format
518 * than the clock time size.
520 public static void setTimeFormat(TextClock clock, in argument
495 updateDate( String dateFormat, String dateFormatForAccessibility, View clock) argument
[all...]
/packages/apps/DeskClock/src/com/android/deskclock/worldclock/
H A DWorldClockAdapter.java111 // Update the "home" label if the home time zone clock is shown
180 // In the special case where we have only 1 clock per view.
218 private void updateView(View clock, CityObj cityObj) { argument
219 View nameLayout= clock.findViewById(R.id.city_name_layout);
222 TextClock dclock = (TextClock)(clock.findViewById(R.id.digital_clock));
223 AnalogClock aclock = (AnalogClock)(clock.findViewById(R.id.analog_clock));

Completed in 402 milliseconds