Searched refs:group (Results 1 - 25 of 57) sorted by relevance

123

/packages/providers/CalendarProvider/
H A Dmaketests.py58 if m.group(7) == "+":
62 hour = int(m.group(4)) + (sign * int(m.group(8)))
63 return m.group(1) + m.group(2) + m.group(3) + "T" + fmt(hour) \
64 + m.group(5) + m.group(6) + "Z"
67 return m.group(1) + m.group(
[all...]
/packages/apps/Gallery2/src/com/android/gallery3d/data/
H A DSizeClustering.java53 final ArrayList<Path>[] group =
66 ArrayList<Path> list = group[i];
69 group[i] = list;
76 for (int i = 0; i < group.length; i++) {
77 if (group[i] != null) {
88 // Go through group in the reverse order, so the group with the largest
90 for (int i = group.length - 1; i >= 0; i--) {
91 if (group[i] == null) continue;
93 mClusters[k] = group[
[all...]
H A DDataManager.java206 ArrayList<PathId> group = map.get(prefix);
207 if (group == null) {
208 group = new ArrayList<PathId>();
209 map.put(prefix, group);
211 group.add(new PathId(path, i + startIndex));
214 // For each group, ask the corresponding media source to map it.
/packages/apps/Camera/src/com/android/camera/
H A DCameraSettings.java80 PreferenceGroup group =
82 initPreference(group);
83 return group;
116 PreferenceGroup group, String key) {
117 removePreference(group, key);
135 private void initPreference(PreferenceGroup group) { argument
136 ListPreference videoQuality = group.findPreference(KEY_VIDEO_QUALITY);
137 ListPreference timeLapseInterval = group.findPreference(KEY_VIDEO_TIME_LAPSE_FRAME_INTERVAL);
138 ListPreference pictureSize = group.findPreference(KEY_PICTURE_SIZE);
139 ListPreference whiteBalance = group
115 removePreferenceFromScreen( PreferenceGroup group, String key) argument
195 buildExposureCompensation( PreferenceGroup group, ListPreference exposure) argument
220 buildCameraId( PreferenceGroup group, IconListPreference preference) argument
242 removePreference(PreferenceGroup group, String key) argument
259 filterUnsupportedOptions(PreferenceGroup group, ListPreference pref, List<String> supported) argument
478 initVideoEffect(PreferenceGroup group, ListPreference videoEffect) argument
[all...]
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/preferences/
H A DSettingsFragmentBase.java66 protected void handlePreferenceGroup(PreferenceGroup group) { argument
67 for (int i = 0; i < group.getPreferenceCount(); ++i) {
68 Preference p = group.getPreference(i);
72 mController.handlePreference(group.getPreference(i));
/packages/apps/Camera/src/com/android/camera/ui/
H A DIndicatorControlContainer.java26 public abstract void initialize(Context context, PreferenceGroup group, argument
H A DIndicatorControlBarContainer.java68 public void initialize(Context context, PreferenceGroup group, argument
72 mIndicatorControlBar.initialize(context, group, isZoomSupported);
74 mSecondLevelIndicatorControlBar.initialize(context, group,
H A DIndicatorControlBar.java54 public void initialize(Context context, PreferenceGroup group, argument
56 setPreferenceGroup(group);
H A DIndicatorControlWheelContainer.java59 public void initialize(Context context, PreferenceGroup group, argument
61 mIndicatorControlWheel.initialize(context, group, isZoomSupported,
H A DOtherSettingsPopup.java96 public void initialize(PreferenceGroup group, String[] keys) { argument
99 ListPreference pref = group.findPreference(keys[i]);
H A DIndicatorControl.java79 public void setPreferenceGroup(PreferenceGroup group) { argument
80 mPreferenceGroup = group;
81 // Preset the current mode from the title of preference group.
82 String title = group.getTitle();
/packages/inputmethods/LatinIME/tools/makedict/src/com/android/inputmethod/latin/
H A DBinaryDictInputOutput.java249 * Compute the binary size of the character array in a group
254 * @param group the group
257 private static int getGroupCharactersSize(CharGroup group) { argument
258 int size = CharEncoding.getCharArraySize(group.mChars);
259 if (group.hasSeveralChars()) size += GROUP_TERMINATOR_SIZE;
266 * @param group the CharGroup to compute the size of.
267 * @return the maximum size of the group.
269 private static int getCharGroupMaximumSize(CharGroup group) { argument
270 int size = getGroupCharactersSize(group)
526 makeCharGroupFlags(final CharGroup group, final int groupAddress, final int childrenOffset) argument
[all...]
H A DFusionDictionary.java71 * A group of characters, with a frequency, shortcuts, bigrams, and children.
411 CharGroup group = node.mData.get(i);
412 if (null != group.mChildren)
413 size += countCharGroups(group.mChildren);
427 CharGroup group = node.mData.get(i);
428 if (null != group.mChildren)
429 size += countNodes(group.mChildren);
488 // CharGroup group = branches.get(i);
489 // if (null != group.children) {
490 // String pseudoHash = getPseudoHash(group
[all...]
/packages/apps/Browser/src/com/android/browser/
H A DUrlUtils.java33 "(" + // begin group for schema
65 return m.group(1);
111 String scheme = matcher.group(1);
114 inUrl = lcScheme + matcher.group(2);
H A DDateSortedExpandableListAdapter.java159 * Determine which group an item belongs to.
161 * @return int Group position of the containing group.
164 int group = -1;
169 // bin is the same as the group if the number of bins is the
174 // There are some empty bins. Find the corresponding group.
175 group = 0;
178 group++;
184 return group;
188 * Translates from a group position in the ExpandableList to a bin. This is
192 * @return The corresponding bin that holds that group
[all...]
/packages/apps/Contacts/src/com/android/contacts/group/
H A DGroupListItem.java16 package com.android.contacts.group;
19 * Meta-data for a contact group. We load all groups associated with the contact's
H A DGroupDetailDisplayUtils.java17 package com.android.contacts.group;
/packages/apps/Gallery2/src/com/android/gallery3d/gadget/
H A DWidgetTypeChooser.java34 public void onCheckedChanged(RadioGroup group, int checkedId) {
/packages/apps/Settings/src/com/android/settings/
H A DDeviceInfoSettings.java92 // These are contained in the "container" preference group
142 // Property is missing so remove preference from group
195 "([^\\s]+)\\s+" + /* group 1: 2.6.22-omap1 */
196 "\\(([^\\s@]+(?:@[^\\s.]+)?)[^)]*\\)\\s+" + /* group 2: (xxxxxx@xxxxx.constant) */
198 "([^\\s]+)\\s+" + /* group 3: #26 */
200 "(.+)"; /* group 4: date */
213 return (new StringBuilder(m.group(1)).append("\n").append(
214 m.group(2)).append(" ").append(m.group(3)).append("\n")
215 .append(m.group(
[all...]
/packages/providers/DownloadProvider/ui/src/com/android/providers/downloads/ui/
H A DDateSortedExpandableListAdapter.java176 * Determine which group an item belongs to.
178 * @return int Group position of the containing group.
180 int group = -1;
185 // bin is the same as the group if the number of bins is the
188 // There are some empty bins. Find the corresponding group.
189 group = 0;
191 if (mItemMap[i] != 0) group++;
196 return group;
200 * Translates from a group position in the ExpandableList to a bin. This is
204 * @return The corresponding bin that holds that group
[all...]
/packages/apps/Contacts/src/com/android/contacts/activities/
H A DGroupDetailActivity.java21 import com.android.contacts.group.GroupDetailDisplayUtils;
22 import com.android.contacts.group.GroupDetailFragment;
/packages/apps/Contacts/tests/src/com/android/contacts/calllog/
H A DCallLogGroupBuilderTest.java112 // Does not group with other types of calls, include voicemail themselves.
122 // Does not group with other types of calls.
134 // Does not group with voicemail and missed calls.
145 // Does not group with voicemail and missed calls.
237 /** Asserts that calls of the given types are grouped together into a single group. */
312 /** Asserts that the group matches the given values. */
313 private void assertGroupIs(int cursorPosition, int size, boolean expanded, GroupSpec group) { argument
314 assertEquals(cursorPosition, group.cursorPosition);
315 assertEquals(size, group.size);
316 assertEquals(expanded, group
[all...]
/packages/apps/Email/emailcommon/src/org/apache/james/mime4j/field/
H A DField.java99 final String name = fieldMatcher.group(1);
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ui/
H A DClusteredSuggestionsAdapter.java134 // add one to the child ID to ensure that the group elements do not have the same ID
135 // as the first child within the group.
167 Log.w(TAG, "Invalid childId " + Long.toHexString(childId) + " (invalid group)");
188 SuggestionCursor group = getGroup(groupPosition);
189 return group == null ? 0 : group.getCount();
233 // don't show the group separator for the first group, to avoid seeing an empty
/packages/apps/Contacts/src/com/android/contacts/list/
H A DCustomContactListFilterActivity.java154 // Create entries for each known group
157 final GroupDelta group = GroupDelta.fromBefore(values);
158 accountDisplay.addGroup(group);
450 * children under a single expandable group.
476 private void addGroup(GroupDelta group) { argument
477 if (group.getShouldSync()) {
478 mSyncedGroups.add(group);
480 mUnsyncedGroups.add(group);
527 for (GroupDelta group : mSyncedGroups) {
528 final ContentProviderOperation oper = group
[all...]

Completed in 973 milliseconds

123