Searched refs:set (Results 1 - 25 of 427) sorted by relevance

1234567891011>>

/packages/apps/UnifiedEmail/src/com/android/mail/ui/
H A DConversationSetObserver.java21 * Interface for classes that want to respond to changes in conversation sets. A conversation set
23 * five conversations and delete them. The five conversations form a set. Constructing such a set
29 // implementation, the observers can wreck the selection set unknowingly!!
32 * Called when the selection set becomes empty.
37 * Handle when the selection set is populated with some items. The observer should not make any
38 * modifications to the set while handling this event.
40 void onSetPopulated(ConversationCheckedSet set); argument
43 * Handle when the selection set gets an element added or removed. The observer should not
44 * make any modifications to the set whil
46 onSetChanged(ConversationCheckedSet set) argument
[all...]
/packages/apps/Calendar/src/com/android/calendar/alerts/
H A DAlarmManagerInterface.java25 public void set(int type, long triggerAtMillis, PendingIntent operation); method in interface:AlarmManagerInterface
/packages/apps/Gallery2/src/com/android/gallery3d/data/
H A DComboAlbumSet.java35 for (MediaSet set : mSets) {
36 set.addContentListener(this);
44 for (MediaSet set : mSets) {
45 int size = set.getSubMediaSetCount();
47 return set.getSubMediaSet(index);
57 for (MediaSet set : mSets) {
58 count += set.getSubMediaSetCount();
H A DDataSourceType.java30 public static int identifySourceType(MediaSet set) { argument
31 if (set == null) {
35 Path path = set.getPath();
H A DChangeNotifier.java31 public ChangeNotifier(MediaSet set, Uri uri, GalleryApp application) { argument
32 mMediaSet = set;
36 public ChangeNotifier(MediaSet set, Uri[] uris, GalleryApp application) { argument
37 mMediaSet = set;
H A DComboAlbum.java35 for (MediaSet set : mSets) {
36 set.addContentListener(this);
44 for (MediaSet set : mSets) {
45 int size = set.getMediaItemCount();
49 ArrayList<MediaItem> fetchItems = set.getMediaItem(start, fetchCount);
63 for (MediaSet set : mSets) {
64 count += set.getMediaItemCount();
H A DSnailAlbum.java41 mDirty.set(true);
H A DLocationClustering.java153 ReverseGeocoder.SetLatLong set = new ReverseGeocoder.SetLatLong();
161 if (set.mMinLatLatitude > itemLatitude) {
162 set.mMinLatLatitude = itemLatitude;
163 set.mMinLatLongitude = itemLongitude;
165 if (set.mMaxLatLatitude < itemLatitude) {
166 set.mMaxLatLatitude = itemLatitude;
167 set.mMaxLatLongitude = itemLongitude;
169 if (set.mMinLonLongitude > itemLongitude) {
170 set.mMinLonLatitude = itemLatitude;
171 set
[all...]
H A DLocalMergeAlbum.java57 for (MediaSet set : mSources) {
58 set.addContentListener(this);
66 for(MediaSet set : mSources) {
67 if (!set.isCameraRoll()) return false;
169 for (MediaSet set : mSources) {
170 count += set.getTotalMediaItemCount();
201 for (MediaSet set : mSources) {
202 set.delete();
208 for (MediaSet set : mSources) {
209 set
[all...]
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/
H A DWifiConfig.java69 wifiConf.allowedKeyManagement.set(WifiConfiguration.KeyMgmt.NONE);
70 wifiConf.allowedAuthAlgorithms.set(WifiConfiguration.AuthAlgorithm.OPEN);
94 wifiConf.allowedKeyManagement.set(WifiConfiguration.KeyMgmt.WPA_PSK);
95 wifiConf.allowedAuthAlgorithms.set(WifiConfiguration.AuthAlgorithm.OPEN);
96 wifiConf.allowedProtocols.set(WifiConfiguration.Protocol.WPA); // For WPA
97 wifiConf.allowedProtocols.set(WifiConfiguration.Protocol.RSN); // For WPA2
98 wifiConf.allowedPairwiseCiphers.set(WifiConfiguration.PairwiseCipher.TKIP);
99 wifiConf.allowedPairwiseCiphers.set(WifiConfiguration.PairwiseCipher.CCMP);
100 wifiConf.allowedGroupCiphers.set(WifiConfiguration.GroupCipher.TKIP);
101 wifiConf.allowedGroupCiphers.set(WifiConfiguratio
[all...]
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/filters/
H A DRedEyeCandidate.java26 mRect.set(candidate.mRect);
27 mBounds.set(candidate.mBounds);
31 mRect.set(rect);
32 mBounds.set(bounds);
/packages/apps/Gallery2/src/com/android/gallery3d/util/
H A DHolder.java22 public void set(T object) { method in class:Holder
/packages/experimental/SELinux/CTS/test/
H A Dtestrunner.py9 types = set([
15 'domain': set(['bluetooth', 'healthd', 'testTYPE']),
16 'unconfineddomain': set(['bluetooth']),
17 'appdomain': set(['bluetooth', 'testTYPE']),
18 'file_type': set(['healthd_exec']),
19 'exec_type': set(['healthd_exec']) }
21 'file': set([
40 'capability': set([
73 'file': (set([
83 'set'
[all...]
/packages/apps/Contacts/tests/src/com/android/contacts/interactions/
H A DContactInteractionUtilTest.java41 // Time/Date utilities rely on specific locales. Forace US and set back in tearDown()
67 calendar.set(Calendar.HOUR_OF_DAY, 8);
68 calendar.set(Calendar.MINUTE, 8);
76 calendar.set(Calendar.HOUR_OF_DAY, 22);
77 calendar.set(Calendar.MINUTE, 18);
93 calendar.set(Calendar.YEAR, 1999);
94 calendar.set(Calendar.DAY_OF_YEAR, 365);
111 calendar.set(Calendar.DAY_OF_YEAR, 1);
122 calendar.set(
/packages/apps/Nfc/nci/jni/
H A DIntervalTimer.h31 bool set(int ms, TIMER_FUNC cb);
/packages/apps/Camera2/src/com/android/camera/
H A DCaptureLayoutHelper.java32 * things are set, the layout of bottom bar and preview rect will be calculated
252 config.mPreviewRect.set(0, 0, width, height);
255 config.mBottomBarRect.set(width - mBottomBarOptimalHeight, 0, width, height);
257 config.mBottomBarRect.set(0, height - mBottomBarOptimalHeight, width, height);
282 config.mPreviewRect.set(0, height / 2 - previewShorterEdge / 2, previewLongerEdge,
284 config.mBottomBarRect.set(width - barSize, height / 2 - previewShorterEdge / 2,
287 config.mPreviewRect.set(width / 2 - previewShorterEdge / 2, 0,
289 config.mBottomBarRect.set(width / 2 - previewShorterEdge / 2, height - barSize,
303 config.mPreviewRect.set(left, 0, right, previewShorterEdge);
304 config.mBottomBarRect.set(widt
[all...]
/packages/apps/UnifiedEmail/src/com/android/mail/preferences/
H A DSimpleBackupSharedPreference.java61 final Set<?> set = (Set<?>) mValue;
63 for (final Object o : set) {
76 final Set<Object> set = Sets.newHashSet();
79 set.add(array.get(i));
81 value = set;
/packages/apps/UnifiedEmail/src/com/android/emailcommon/mail/
H A DMessage.java113 public final void setFlagDirectlyForTest(Flag flag, boolean set) throws MessagingException { argument
114 if (set) {
121 public void setFlag(Flag flag, boolean set) throws MessagingException { argument
122 setFlagDirectlyForTest(flag, set);
128 * @param set
130 public void setFlags(Flag[] flags, boolean set) throws MessagingException { argument
132 setFlag(flag, set);
/packages/apps/Calendar/tests/src/com/android/calendar/alerts/
H A DUtils.java25 t.set(second, minute, hour, monthDay, month, year);
/packages/apps/ContactsCommon/src/com/android/contacts/common/interactions/
H A DTouchPointManager.java32 mPoint.set(x, y);
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/dictionary/
H A Dbloom_filter.h39 mFilter.set(getIndex(position));
/packages/apps/ContactsCommon/src/com/android/contacts/common/util/
H A DDateUtils.java109 calendar.set(Calendar.YEAR, 0);
117 calendar.set(Calendar.YEAR, year);
118 calendar.set(Calendar.MONTH, month);
119 calendar.set(Calendar.DAY_OF_MONTH, dayOfMonth);
124 // use the Calendar.YEAR field to track whether or not the year is set instead of
132 * longForm set to {@code true} by default.
237 // today against the target date, both dates are set to exactly 0000H.
238 today.set(Calendar.HOUR_OF_DAY, 0);
239 today.set(Calendar.MINUTE, 0);
240 today.set(Calenda
[all...]
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
H A DPhotoFallbackEffect.java115 mTarget.set(cx - ch / 2, cy - ch / 2, cx + ch / 2, cy + ch / 2);
116 mSource.set((w - h) / 2, 0, (w + h) / 2, h);
123 mTarget.set(cx - cw / 2, cy - ch / 2, cx - ch / 2, cy + ch / 2);
124 mSource.set(0, 0, (w - h) / 2, h);
128 mTarget.set(cx + ch / 2, cy - ch / 2, cx + cw / 2, cy + ch / 2);
129 mSource.set((w + h) / 2, 0, w, h);
135 mTarget.set(cx - cw / 2, cy - cw / 2, cx + cw / 2, cy + cw / 2);
136 mSource.set(0, (h - w) / 2, w, (h + w) / 2);
143 mTarget.set(cx - cw / 2, cy - ch / 2, cx + cw / 2, cy - cw / 2);
144 mSource.set(
[all...]
H A DSelectionManager.java150 private static boolean expandMediaSet(ArrayList<Path> items, MediaSet set, int maxSelection) { argument
151 int subCount = set.getSubMediaSetCount();
153 if (!expandMediaSet(items, set.getSubMediaSet(i), maxSelection)) {
157 int total = set.getMediaItemCount();
165 ArrayList<MediaItem> list = set.getMediaItem(index, count);
188 MediaSet set = mSourceMediaSet.getSubMediaSet(i);
189 Path id = set.getPath();
192 if (!expandMediaSet(selected, set, maxSelection)) {
248 public void setSourceMediaSet(MediaSet set) { argument
249 mSourceMediaSet = set;
[all...]
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
H A DContactsDatabaseHelperTest.java167 final HashSet<Long> set = new HashSet<>();
168 set.add(packageId1);
169 set.add(packageId2);
170 set.add(packageId3);
172 assertEquals(3, set.size());
180 set.clear();
181 set.add(mimetypeId1);
182 set.add(mimetypeId2);
183 set.add(mimetypeId3);
185 assertEquals(3, set
[all...]

Completed in 594 milliseconds

1234567891011>>