Home
last modified time | relevance | path

Searched refs:set (Results 1 – 25 of 80) sorted by relevance

1234

/packages/apps/Email/src/com/android/email/mail/
DMessage.java109 public void setFlag(Flag flag, boolean set) throws MessagingException { in setFlag() argument
110 if (set) { in setFlag()
122 public void setFlags(Flag[] flags, boolean set) throws MessagingException { in setFlags() argument
124 setFlag(flag, set); in setFlags()
/packages/providers/CalendarProvider/src/com/android/providers/calendar/
DAppWidgetShared.java105 Set<Long> set = new HashSet<Long>(); in collectChangedEventIdsLocked() local
107 set.add(value); in collectChangedEventIdsLocked()
110 return set; in collectChangedEventIdsLocked()
DRecurrenceProcessor.java329 t.set(day, realMonth, realYear); in get()
349 t.set(day, realMonth, realYear); in get()
531 mIterator.set(rangeStartMillis); in expand()
536 mIterator.set(rangeEndMillis); in expand()
554 mIterator.set(dt); in expand()
569 mIterator.set(dt); in expand()
697 iterator.set(dtstart); in expand()
762 generated.set(iterator); in expand()
837 … generated.set(second, minute, hour, day, month, iteratorYear); in expand()
913 generated.set(iterator); // just using generated as a temporary. in expand()
[all …]
DCalendarAppWidgetService.java207 am.set(AlarmManager.RTC, triggerTime, pendingUpdate); in performUpdate()
221 time.set(unixTime); in formatDebugTime()
244 recycle.set(utcTime); in convertUtcToLocal()
367 time.set(start); in getAppWidgetUpdate()
DCalendarProvider.java382 time.set(now); in doUpdateTimezoneDependentFields()
1808 eventTime.set(dtstartMillis); in performInstanceExpansion()
2031 local.set(begin); in computeTimezoneDependentFields()
2035 local.set(end); in computeTimezoneDependentFields()
2970 dtstartLocal.set(dtstartMillis); in calculateLastDate()
3027 time.set(dtstartMillis); in updateEventRawTimesLocked()
3033 time.set(dtendMillis); in updateEventRawTimesLocked()
3046 time.set(originalInstanceMillis); in updateEventRawTimesLocked()
3053 time.set(lastDateMillis); in updateEventRawTimesLocked()
3511 time.set(triggerTime); in scheduleNextAlarmCheck()
[all …]
/packages/apps/AlarmClock/src/com/android/alarmclock/
DRepeatPreference.java68 mDaysOfWeek.set(mOnRepeatChangedObserver.getDaysOfWeek()); in onDialogClosed()
82 mDaysOfWeek.set(mOnRepeatChangedObserver.getDaysOfWeek()); in onPrepareDialogBuilder()
88 mDaysOfWeek.set(which, isChecked); in onPrepareDialogBuilder()
DAlarms.java143 public void set(int day, boolean set) { in set() method in Alarms.DaysOfWeek
144 if (set) { in set()
151 public void set(DaysOfWeek dow) { in set() method in Alarms.DaysOfWeek
626 am.set(AlarmManager.RTC_WAKEUP, atTimeInMillis, sender); in enableAlert()
629 am.set(AlarmManager.RTC_WAKEUP, System.currentTimeMillis() + 5000, in enableAlert()
741 c.set(Calendar.HOUR_OF_DAY, hour); in calculateAlarm()
742 c.set(Calendar.MINUTE, minute); in calculateAlarm()
743 c.set(Calendar.SECOND, 0); in calculateAlarm()
744 c.set(Calendar.MILLISECOND, 0); in calculateAlarm()
/packages/apps/Settings/src/com/android/settings/wifi/
DAccessPointState.java584 config.allowedAuthAlgorithms.set(AuthAlgorithm.OPEN); in setupSecurity()
585 config.allowedAuthAlgorithms.set(AuthAlgorithm.SHARED); in setupSecurity()
587 config.allowedKeyManagement.set(KeyMgmt.NONE); in setupSecurity()
589 config.allowedGroupCiphers.set(GroupCipher.WEP40); in setupSecurity()
590 config.allowedGroupCiphers.set(GroupCipher.WEP104); in setupSecurity()
593 config.allowedGroupCiphers.set(GroupCipher.TKIP); in setupSecurity()
594 config.allowedGroupCiphers.set(GroupCipher.CCMP); in setupSecurity()
596 config.allowedKeyManagement.set(KeyMgmt.WPA_PSK); in setupSecurity()
598 config.allowedPairwiseCiphers.set(PairwiseCipher.CCMP); in setupSecurity()
599 config.allowedPairwiseCiphers.set(PairwiseCipher.TKIP); in setupSecurity()
[all …]
/packages/apps/Camera/tests/src/com/android/camera/
DBitmapManagerUnitTests.java144 BitmapManager.ThreadSet set = new BitmapManager.ThreadSet(); in testThreadSetDecoding() local
145 set.add(t1); in testThreadSetDecoding()
146 set.add(t2); in testThreadSetDecoding()
147 mBitmapManager.cancelThreadDecoding(set); in testThreadSetDecoding()
/packages/apps/Calendar/src/com/android/calendar/
DMonthView.java214 mViewCalendar.set(now); in init()
218 mViewCalendar.set(now); in init()
223 mToday.set(System.currentTimeMillis()); in init()
278 time.set(mViewCalendar); in init()
431 monthStart.set(mViewCalendar); in reloadEvents()
571 time.set(mViewCalendar); in getSelectedMillisFor()
942 calendar.set(Calendar.DAY_OF_MONTH, mCursor.getDayAt(row, column)); in getWeekOfYear()
944 calendar.set(Calendar.MONTH, mCursor.getMonth()); in getWeekOfYear()
945 calendar.set(Calendar.YEAR, mCursor.getYear()); in getWeekOfYear()
966 calendar.set(Calendar.MONTH, month); in getWeekOfYear()
[all …]
DAgendaActivity.java219 mTime.set(icicle.getLong(BUNDLE_KEY_RESTORE_TIME)); in onCreate()
221 mTime.set(Utils.timeFromIntent(getIntent())); in onCreate()
403 now.set(System.currentTimeMillis()); in goToToday()
425 mTime.set(cursor.getLong(INDEX_BEGIN)); in getSelectedTime()
/packages/apps/Settings/src/com/android/settings/
DDateTimeSettings.java80 mDummyDate.set(mDummyDate.get(Calendar.YEAR), 11, 31, 13, 0, 0); in initUI()
159 c.set(Calendar.YEAR, year); in onDateSet()
160 c.set(Calendar.MONTH, month); in onDateSet()
161 c.set(Calendar.DAY_OF_MONTH, day); in onDateSet()
173 c.set(Calendar.HOUR_OF_DAY, hourOfDay); in onTimeSet()
174 c.set(Calendar.MINUTE, minute); in onTimeSet()
/packages/apps/Launcher/src/com/android/launcher/
DUtilities.java128 sOldBounds.set(icon.getBounds()); in createIconThumbnail()
140 sOldBounds.set(icon.getBounds()); in createIconThumbnail()
196 sBounds.set((sIconWidth - width) / 2, (sIconHeight - height) / 2, width, height); in createBitmapThumbnail()
197 sOldBounds.set(0, 0, bitmapWidth, bitmapHeight); in createBitmapThumbnail()
/packages/providers/CalendarProvider/tests/src/com/android/providers/calendar/
DTestCalendarSyncAdapter.java82 cal.set(1979, Calendar.APRIL, 6, 0, 0); in getServerDiffs()
98 cal.set(1979, Calendar.APRIL, 6, 0, 0); in getServerDiffs()
121 cal.set(1979, Calendar.APRIL, 6, 0, 0); in getServerDiffs()
DSyncCalendarTest.java150 time.set(dtStart + 2 * ONE_HOUR_IN_MILLIS); in testEditEventDate()
152 time.set(dtStart + 3 * ONE_HOUR_IN_MILLIS); in testEditEventDate()
186 time.set(dtStart); in testEditEventTime()
188 time.set(dtStart + ONE_HOUR_IN_MILLIS); in testEditEventTime()
/packages/apps/Email/src/org/apache/james/mime4j/field/datetime/
DDateTime.java71 c.set(year, month - 1, day, hour, minute, second); in convertToDate()
72 c.set(Calendar.MILLISECOND, 0); in convertToDate()
/packages/apps/Calendar/tests/src/com/android/calendar/
DFormatDateRangeTest.java52 date1.set(System.currentTimeMillis()); in DateTest()
56 date1.set(0, minute1, hour1, day1, month1, year1); in DateTest()
59 date2.set(0, minute2, hour2, day2, month2, year2); in DateTest()
DWeekNumberTest.java41 date.set(0, 0, 0, day, month, year); in DateAndWeekNumber()
44 allDayDate.set(day, month, year); in DateAndWeekNumber()
/packages/apps/Email/src/org/apache/commons/io/input/
DDemuxInputStream.java43 m_streams.set( input ); in bindStream()
/packages/apps/Phone/src/com/android/phone/
DBluetoothHeadsetService.java293 mHeadsetPriority.set(address, BluetoothHeadset.PRIORITY_AUTO);
296 mHeadsetPriority.set(address, BluetoothHeadset.PRIORITY_OFF);
643 mHeadsetPriority.set(address.toUpperCase(), priority);
704 public synchronized void set(String address, int priority) { in set() method in BluetoothHeadsetService.HeadsetPriority
731 set(address, p); in bump()
748 set(address, priority); in rebalance()
/packages/apps/Mms/src/com/android/mms/activity/
DVCalManager.java258 time.set(start); in getDateTimeStart()
272 time.set(end); in getDateTimeEnd()
302 time.set(complete); in getCompleted()
379 time.set(mills); in convertLongToRFC2445DateTime()
/packages/apps/Email/src/org/apache/commons/io/output/
DDemuxOutputStream.java43 m_streams.set( output ); in bindStream()
/packages/apps/Camera/src/com/android/camera/
DImageGallery.java864 mSrcRect.set(0 + halfDeltaW, 0 + halfDeltaH,
866 mDstRect.set(xPos, yPos, xPos + w, yPos + h);
869 mSrcRect.set(0, 0, bw, bh);
870 mDstRect.set(xPos, yPos, xPos + w, yPos + h);
879 mSrcRect.set(0, 0, width, height);
882 mDstRect.set(left, top, left + width, top + height);
909 mSrcRect.set(left, top, left + width, top + height);
931 mSrcRect.set(left, top, left + width, top + height);
DCamera.java385 mLastLocation.set(newLocation); in onLocationChanged()
619 mParameters.set(PARM_ROTATION, orientation); in capture()
636 mParameters.set(PARM_GPS_LATITUDE, latString); in capture()
637 mParameters.set(PARM_GPS_LONGITUDE, lonString); in capture()
639 mParameters.set(PARM_GPS_ALTITUDE, in capture()
645 mParameters.set(PARM_GPS_ALTITUDE, "0"); in capture()
651 mParameters.set(PARM_GPS_TIMESTAMP, in capture()
1394 mParameters.set(PARM_PICTURE_SIZE, pictureSize); in setCameraParameter()
1400 mParameters.set(PARM_JPEG_QUALITY, jpegQuality); in setCameraParameter()
/packages/apps/Email/src/org/apache/james/mime4j/
DMimeStreamParser.java65 fieldChars.set(i);
68 fieldChars.set(i);

1234