Home
last modified time | relevance | path

Searched refs:group (Results 1 – 25 of 73) sorted by relevance

123

/packages/providers/CalendarProvider/
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(2) + m.group(3) + "T" + m.group(4) \
68 + m.group(5) + m.group(6) + "Z"
91 dtstart = re_dtstart.group(2)
92 tzid = re_dtstart.group(1)
95 dtstart = re_dtstart.group(1)
98 duration = re_duration.group(1)
[all …]
/packages/apps/Camera/src/com/android/camera/
DCameraSettings.java81 PreferenceGroup group = in getPreferenceGroup() local
83 initPreference(group); in getPreferenceGroup()
84 return group; in getPreferenceGroup()
117 PreferenceGroup group, String key) { in removePreferenceFromScreen() argument
118 removePreference(group, key); in removePreferenceFromScreen()
136 private void initPreference(PreferenceGroup group) { in initPreference() argument
137 ListPreference videoQuality = group.findPreference(KEY_VIDEO_QUALITY); in initPreference()
138 … ListPreference timeLapseInterval = group.findPreference(KEY_VIDEO_TIME_LAPSE_FRAME_INTERVAL); in initPreference()
139 ListPreference pictureSize = group.findPreference(KEY_PICTURE_SIZE); in initPreference()
140 ListPreference whiteBalance = group.findPreference(KEY_WHITE_BALANCE); in initPreference()
[all …]
/packages/apps/LegacyCamera/src/com/android/camera/
DCameraSettings.java80 PreferenceGroup group = in getPreferenceGroup() local
82 initPreference(group); in getPreferenceGroup()
83 return group; in getPreferenceGroup()
116 PreferenceGroup group, String key) { in removePreferenceFromScreen() argument
117 removePreference(group, key); in removePreferenceFromScreen()
135 private void initPreference(PreferenceGroup group) { in initPreference() argument
136 ListPreference videoQuality = group.findPreference(KEY_VIDEO_QUALITY); in initPreference()
137 … ListPreference timeLapseInterval = group.findPreference(KEY_VIDEO_TIME_LAPSE_FRAME_INTERVAL); in initPreference()
138 ListPreference pictureSize = group.findPreference(KEY_PICTURE_SIZE); in initPreference()
139 ListPreference whiteBalance = group.findPreference(KEY_WHITE_BALANCE); in initPreference()
[all …]
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/makedict/
DBinaryDictInputOutput.java351 private static int getGroupCharactersSize(CharGroup group) { in getGroupCharactersSize() argument
352 int size = CharEncoding.getCharArraySize(group.mChars); in getGroupCharactersSize()
353 if (group.hasSeveralChars()) size += GROUP_TERMINATOR_SIZE; in getGroupCharactersSize()
418 private static int getCharGroupMaximumSize(CharGroup group) { in getCharGroupMaximumSize() argument
419 int size = getGroupCharactersSize(group) + GROUP_FLAGS_SIZE; in getCharGroupMaximumSize()
421 if (group.isTerminal()) size += GROUP_FREQUENCY_SIZE; in getCharGroupMaximumSize()
423 size += getShortcutListSize(group.mShortcutTargets); in getCharGroupMaximumSize()
424 if (null != group.mBigrams) { in getCharGroupMaximumSize()
426 * group.mBigrams.size(); in getCharGroupMaximumSize()
508 for (CharGroup group : branches) {
[all …]
DFusionDictionary.java550 CharGroup group = node.mData.get(i); in countCharGroups() local
551 if (null != group.mChildren) in countCharGroups()
552 size += countCharGroups(group.mChildren); in countCharGroups()
566 CharGroup group = node.mData.get(i); in countNodes() local
567 if (null != group.mChildren) in countNodes()
568 size += countNodes(group.mChildren); in countNodes()
579 CharGroup group = node.mData.get(i); in hasBigramsInternal() local
580 if (null != group.mBigrams) return true; in hasBigramsInternal()
581 if (hasBigramsInternal(group.mChildren)) return true; in hasBigramsInternal()
/packages/apps/Gallery2/src/com/android/gallery3d/data/
DSizeClustering.java53 final ArrayList<Path>[] group = in run() local
66 ArrayList<Path> list = group[i]; in run()
69 group[i] = list; in run()
76 for (int i = 0; i < group.length; i++) { in run()
77 if (group[i] != null) { in run()
90 for (int i = group.length - 1; i >= 0; i--) { in run()
91 if (group[i] == null) continue; in run()
93 mClusters[k] = group[i]; in run()
97 } else if (i == group.length - 1) { in run()
DDataManager.java213 ArrayList<PathId> group = map.get(prefix); in mapMediaItems() local
214 if (group == null) { in mapMediaItems()
215 group = new ArrayList<PathId>(); in mapMediaItems()
216 map.put(prefix, group); in mapMediaItems()
218 group.add(new PathId(path, i + startIndex)); in mapMediaItems()
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/preferences/
DSettingsFragmentBase.java66 protected void handlePreferenceGroup(PreferenceGroup group) { in handlePreferenceGroup() argument
67 for (int i = 0; i < group.getPreferenceCount(); ++i) { in handlePreferenceGroup()
68 Preference p = group.getPreference(i); in handlePreferenceGroup()
72 mController.handlePreference(group.getPreference(i)); in handlePreferenceGroup()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
DAdditionalSubtypeSettings.java431 final PreferenceGroup group = getPreferenceScreen();
432 group.removePreference(subtypePref);
448 final PreferenceGroup group = getPreferenceScreen();
449 group.removePreference(subtypePref);
451 group.addPreference(subtypePref);
468 final PreferenceGroup group = getPreferenceScreen();
469 group.removePreference(subtypePref);
523 final PreferenceGroup group = getPreferenceScreen(); in setPrefSubtypes() local
524 group.removeAll(); in setPrefSubtypes()
530 group.addPreference(pref); in setPrefSubtypes()
[all …]
/packages/apps/Browser/src/com/android/browser/
DUrlUtils.java65 return m.group(1); in stripUrl()
111 String scheme = matcher.group(1); in smartUrlFilter()
114 inUrl = lcScheme + matcher.group(2); in smartUrlFilter()
DDateSortedExpandableListAdapter.java164 int group = -1; in groupFromChildId() local
175 group = 0; in groupFromChildId()
178 group++; in groupFromChildId()
184 return group; in groupFromChildId()
/packages/providers/DownloadProvider/ui/src/com/android/providers/downloads/ui/
DDateSortedExpandableListAdapter.java180 int group = -1; in groupFromChildId() local
189 group = 0; in groupFromChildId()
191 if (mItemMap[i] != 0) group++; in groupFromChildId()
196 return group; in groupFromChildId()
/packages/apps/Settings/src/com/android/settings/
DDeviceInfoSettings.java213 return (new StringBuilder(m.group(1)).append("\n").append( in getFormattedKernelVersion()
214 m.group(2)).append(" ").append(m.group(3)).append("\n") in getFormattedKernelVersion()
215 .append(m.group(4))).toString(); in getFormattedKernelVersion()
/packages/apps/Camera/src/com/android/camera/ui/
DIndicatorControlBarContainer.java70 public void initialize(Context context, PreferenceGroup group, in initialize() argument
74 mIndicatorControlBar.initialize(context, group, isZoomSupported); in initialize()
76 mSecondLevelIndicatorControlBar.initialize(context, group, in initialize()
DIndicatorControl.java79 public void setPreferenceGroup(PreferenceGroup group) { in setPreferenceGroup() argument
80 mPreferenceGroup = group; in setPreferenceGroup()
82 String title = group.getTitle(); in setPreferenceGroup()
DIndicatorControlBar.java53 public void initialize(Context context, PreferenceGroup group, in initialize() argument
55 setPreferenceGroup(group); in initialize()
/packages/apps/LegacyCamera/src/com/android/camera/ui/
DIndicatorControlBarContainer.java68 public void initialize(Context context, PreferenceGroup group, in initialize() argument
72 mIndicatorControlBar.initialize(context, group, isZoomSupported); in initialize()
74 mSecondLevelIndicatorControlBar.initialize(context, group, in initialize()
DIndicatorControl.java79 public void setPreferenceGroup(PreferenceGroup group) { in setPreferenceGroup() argument
80 mPreferenceGroup = group; in setPreferenceGroup()
82 String title = group.getTitle(); in setPreferenceGroup()
DIndicatorControlBar.java54 public void initialize(Context context, PreferenceGroup group, in initialize() argument
56 setPreferenceGroup(group); in initialize()
DOtherSettingsPopup.java96 public void initialize(PreferenceGroup group, String[] keys) { in initialize() argument
99 ListPreference pref = group.findPreference(keys[i]); in initialize()
/packages/apps/Contacts/src/com/android/contacts/list/
DCustomContactListFilterActivity.java157 final GroupDelta group = GroupDelta.fromBefore(values); in loadInBackground() local
158 accountDisplay.addGroup(group); in loadInBackground()
476 private void addGroup(GroupDelta group) { in addGroup() argument
477 if (group.getShouldSync()) { in addGroup()
478 mSyncedGroups.add(group); in addGroup()
480 mUnsyncedGroups.add(group); in addGroup()
527 for (GroupDelta group : mSyncedGroups) { in buildDiff()
528 final ContentProviderOperation oper = group.buildDiff(); in buildDiff()
531 for (GroupDelta group : mUnsyncedGroups) { in buildDiff()
532 final ContentProviderOperation oper = group.buildDiff(); in buildDiff()
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ui/
DClusteredSuggestionsAdapter.java188 SuggestionCursor group = getGroup(groupPosition); in getChildrenCount() local
189 return group == null ? 0 : group.getCount(); in getChildrenCount()
/packages/apps/Contacts/tests/src/com/android/contacts/calllog/
DCallLogGroupBuilderTest.java313 private void assertGroupIs(int cursorPosition, int size, boolean expanded, GroupSpec group) { in assertGroupIs() argument
314 assertEquals(cursorPosition, group.cursorPosition); in assertGroupIs()
315 assertEquals(size, group.size); in assertGroupIs()
316 assertEquals(expanded, group.expanded); in assertGroupIs()
/packages/apps/Settings/src/com/android/settings/wifi/
DWifiConfigController.java192 ViewGroup group = (ViewGroup) mView.findViewById(R.id.info); in WifiConfigController() local
196 addRow(group, R.string.wifi_status, Summary.get(mConfigUi.getContext(), state)); in WifiConfigController()
202 addRow(group, R.string.wifi_signal, signal[level]); in WifiConfigController()
207 addRow(group, R.string.wifi_speed, info.getLinkSpeed() + WifiInfo.LINK_SPEED_UNITS); in WifiConfigController()
210 addRow(group, R.string.wifi_security, mAccessPoint.getSecurityString(false)); in WifiConfigController()
223 addRow(group, R.string.wifi_ip_address, a.getHostAddress()); in WifiConfigController()
268 private void addRow(ViewGroup group, int name, String value) { in addRow() argument
269 View row = mConfigUi.getLayoutInflater().inflate(R.layout.wifi_dialog_row, group, false); in addRow()
272 group.addView(row); in addRow()
/packages/apps/Browser/src/com/android/browser/homepages/
DTemplate.java194 String type = m.group(1); in parseTemplate()
195 String name = m.group(2); in parseTemplate()
243 String name = m.group(1); in replaceConsts()

123