/packages/providers/ContactsProvider/src/com/android/providers/contacts/util/ |
H A D | Clock.java | 29 static void injectInstance(Clock clock) { argument 30 sInstance = clock;
|
/packages/apps/DeskClock/src/com/android/alarmclock/ |
H A D | DigitalWidgetViewsFactory.java | 48 // An adapter to provide the view for the list of cities in the world clock. 69 // Always how the left clock 72 // Show the right clock if any, make it invisible if there is no 73 // clock on the right 94 private void updateView(RemoteViews clock, CityObj cityObj, int clockId, argument 104 WidgetUtils.setTimeFormat(clock, 108 clock.setTextViewTextSize(clockId, TypedValue.COMPLEX_UNIT_PX, fontSize * mFontScale); 109 clock.setString(clockId, "setTimeZone", cityObj.mTimeZone); 112 clock.setTextViewText(labelId, Utils.getCityName(cityObj, cityInDb)); 115 clock 127 hideView( RemoteViews clock, int clockId, int labelId, int dayId) argument [all...] |
H A D | WidgetUtils.java | 36 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/UnifiedEmail/src/com/android/mail/utils/ |
H A D | Throttle.java | 84 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
|
/packages/apps/DeskClock/src/com/android/deskclock/worldclock/ |
H A D | WorldClockAdapter.java | 111 // 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. 214 // The world clock list item can hold two world clocks 218 // rightClock may be null (landscape phone layout has only one clock per row) so only 224 // To make sure the spacing is right , make sure that the right clock style is 225 // selected even if the clock is invisible. 248 private void updateView(View clock, CityObj cityObj) { argument 249 View nameLayout= clock.findViewById(R.id.city_name_layout); 252 TextClock dclock = (TextClock)(clock.findViewById(R.id.digital_clock)); 253 AnalogClock aclock = (AnalogClock)(clock [all...] |
/packages/apps/DeskClock/src/com/android/deskclock/ |
H A D | Utils.java | 81 /** Types that may be used for clock displays. **/ 237 /** Runnable for use with screensaver and dream, to move the clock every minute. 413 * For screensavers to set whether the digital or analog clock should be displayed. 448 public static void refreshAlarm(Context context, View clock) { argument 452 nextAlarmView = (TextView) clock.findViewById(R.id.nextAlarm); 466 String dateFormat, String dateFormatForAccessibility, View clock) { 470 dateDisplay = (TextView) clock.findViewById(R.id.date); 486 * @param clock - TextClock to format 488 * than the clock time size. 490 public static void setTimeFormat(TextClock clock, in argument 465 updateDate( String dateFormat, String dateFormatForAccessibility, View clock) argument [all...] |
H A D | AlarmClockFragment.java | 711 TextTime clock; field in class:AlarmClockFragment.AlarmItemAdapter.ItemHolder 979 holder.clock = (TextTime) view.findViewById(R.id.digital_clock); 1047 itemHolder.clock.setFormat( 1049 itemHolder.clock.setTime(alarm.hour, alarm.minutes); 1050 itemHolder.clock.setClickable(true); 1051 itemHolder.clock.setOnClickListener(new View.OnClickListener() { 1295 holder.clock.setAlpha(alpha);
|
/packages/apps/Email/tests/src/com/android/email/ |
H A D | ThrottleTest.java | 41 * Advance the clock. 178 public MockTimer(Clock clock) { argument 179 mClock = clock; 195 * {@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 D | UIControllerTwoPaneRefreshTaskTest.java | 162 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/inputmethods/LatinIME/native/jni/src/ |
H A D | defines.h | 180 PROF_COUNT(prof_buf_id); profile_old[prof_buf_id] = (clock()); } while (0) 182 #define PROF_END(prof_buf_id) profile_buf[prof_buf_id] += ((clock()) - profile_old[prof_buf_id]) 184 AKLOGI("%s : clock is %f", __FUNCTION__, (clock() - profile_old[prof_buf_id]))
|
/packages/apps/Email/src/com/android/email/ |
H A D | NotificationController.java | 91 private NotificationController(Context context, Clock clock) { argument 96 mClock = clock;
|