Searched defs:selected (Results 1 - 25 of 34) sorted by relevance

12

/packages/apps/UnifiedEmail/src/com/android/mail/ui/
H A DAddableFolderSelectorAdapter.java35 Set<String> selected, int layout) {
36 super(context, folders, selected, layout);
50 * @param initiallySelected set of folder uris that are previously selected.
81 // Check if the folder is already selected and if we are trying to include only
82 // the ones that were initially selected or only the ones that aren't.
34 AddableFolderSelectorAdapter(Context context, Cursor folders, Set<String> selected, int layout) argument
H A DFolderSelectorAdapter.java96 Set<String> selected, int layout) {
99 createFolderRows(folders, selected);
110 protected void createFolderRows(Cursor folders, Set<String> selected) { argument
124 final boolean isSelected = selected != null
125 && selected.contains(
95 FolderSelectorAdapter(Context context, Cursor folders, Set<String> selected, int layout) argument
/packages/apps/Messaging/src/com/android/messaging/datamodel/media/
H A DSimSelectorAvatarRequest.java69 final int height, final int subColor, final boolean selected, final boolean incoming) {
74 final int backgroundColor = selected ? subColor : Color.WHITE;
75 final int textColor = selected ? subColor : Color.WHITE;
76 final int simColor = selected ? Color.WHITE : subColor;
68 renderSimAvatarInternal(final String identifier, final int width, final int height, final int subColor, final boolean selected, final boolean incoming) argument
/packages/apps/Settings/src/com/android/settings/deviceinfo/
H A DUsbModeChooserActivity.java87 private void inflateOption(final int mode, boolean selected, LinearLayout container) { argument
103 ((Checkable) v).setChecked(selected);
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/
H A DActionBehavior.java48 public Action toAction(String key, Resources resources, boolean selected) { argument
50 .key(key).title(resources.getString(mTitleResource)).checked(selected).build();
/packages/apps/Camera2/src/com/android/camera/ui/
H A DModeIconView.java31 * it is selected by the user. It handles the internal state change like a state
99 * This gets called when the selected state is changed. When selected, the background
102 * @param selected true when selected, false otherwise.
105 public void setSelected(boolean selected) { argument
106 if (selected) {
H A DModeSelectorItem.java98 public void setSelected(boolean selected) { argument
99 mIcon.setSelected(selected);
/packages/apps/Settings/src/com/android/settings/inputmethod/
H A DSpellCheckerPreference.java124 public void setSelected(final boolean selected) { argument
125 mSelected = selected;
126 updateSelectedState(selected);
129 private void updateSelectedState(final boolean selected) { argument
131 mRadioButton.setChecked(selected);
132 enableSettingsButton(isEnabled() && selected);
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/settings/
H A DRadioButtonPreference.java87 public void setSelected(final boolean selected) { argument
88 if (selected == mIsSelected) {
91 mIsSelected = selected;
93 mRadioButton.setChecked(selected);
/packages/apps/Gallery2/src/com/android/photos/
H A DSelectionManager.java78 int itemType, int itemSupportedOperations, boolean selected) {
79 int increment = selected ? 1 : -1;
77 onItemSelectedStateChanged(ShareActionProvider share, int itemType, int itemSupportedOperations, boolean selected) argument
/packages/apps/Messaging/src/com/android/messaging/ui/mediapicker/
H A DAudioMediaChooser.java109 protected void setSelected(final boolean selected) { argument
110 super.setSelected(selected);
111 if (selected && !OsUtil.hasRecordAudioPermission()) {
H A DCameraMediaChooser.java259 protected void setSelected(final boolean selected) { argument
260 super.setSelected(selected);
261 if (selected) {
263 // If an error occurred before the chooser was selected, show it now
H A DGalleryMediaChooser.java195 protected void setSelected(final boolean selected) { argument
196 super.setSelected(selected);
197 if (selected && !OsUtil.hasStoragePermission()) {
H A DMediaChooser.java46 /** True if this is the selected chooser */
71 protected void setSelected(final boolean selected) { argument
72 mSelected = selected;
73 if (selected) {
74 // If we're selected, it must be open
78 mTabButton.setSelected(selected);
79 mTabButton.setAlpha(selected ? 1 : 0.5f);
/packages/apps/Gallery2/src/com/android/gallery3d/ingest/
H A DIngestService.java185 protected void importSelectedItems(SparseBooleanArray selected, Adapter adapter) { argument
187 for (int i = 0; i < selected.size(); i++) {
188 if (selected.valueAt(i)) {
189 Object item = adapter.getItem(selected.keyAt(i));
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
H A DSelectionManager.java49 public void onSelectionChange(Path path, boolean selected); argument
60 // selected items is down to zero.
138 // Convert to inverse selection mode if everything is selected.
183 ArrayList<Path> selected = new ArrayList<Path>();
192 if (!expandMediaSet(selected, set, maxSelection)) {
196 selected.add(id);
197 if (selected.size() > maxSelection) {
206 if (!expandMediaSet(selected, mDataManager.getMediaSet(id),
211 selected.add(id);
212 if (selected
[all...]
H A DActionModeHandler.java272 ArrayList<MediaObject> selected = new ArrayList<MediaObject>();
278 selected.add(manager.getMediaObject(path));
281 return selected;
287 private int computeMenuOptions(ArrayList<MediaObject> selected) { argument
290 for (MediaObject mediaObject: selected) {
296 switch (selected.size()) {
389 public void updateSupportedOperation(Path path, boolean selected) { argument
410 ArrayList<MediaObject> selected = getSelectedMediaObjects(jc);
411 if (selected == null) {
417 // Disable all the operations when no item is selected
[all...]
/packages/apps/Messaging/src/com/android/messaging/ui/
H A DConversationDrawables.java107 public Drawable getBubbleDrawable(final boolean selected, final boolean incoming, argument
112 protoDrawable = isError && !selected ?
124 if (selected) {
/packages/apps/Messaging/src/com/android/messaging/util/
H A DAvatarUriUtil.java88 false /* selected */, Color.TRANSPARENT, true /* incoming */);
90 false /* selected */, Color.TRANSPARENT, false /* incoming */);
193 * @param selected is this the currently selected SIM?
197 @Nullable final String slotIdentifier, final boolean selected, final boolean incoming) {
206 return createSimIconUri(slotIdentifier, selected, participantData.getSubscriptionColor(),
210 private static Uri createSimIconUri(final String slotIdentifier, final boolean selected, argument
218 builder.appendQueryParameter(PARAM_SIM_SELECTED, String.valueOf(selected));
196 createAvatarUri(@onNull final ParticipantData participantData, @Nullable final String slotIdentifier, final boolean selected, final boolean incoming) argument
/packages/apps/Calendar/src/com/android/calendar/selectcalendars/
H A DSelectCalendarsSimpleAdapter.java93 boolean selected; field in class:SelectCalendarsSimpleAdapter.CalendarRow
203 mData[p].selected = c.getInt(mVisibleColumn) != 0;
222 boolean selected = mData[position].selected;
274 if (selected) {
285 syncCheckBox.setChecked(selected);
294 if (selected) {
312 view.findViewById(R.id.color).setEnabled(selected && hasMoreColors(position));
313 view.setBackgroundDrawable(getBackground(position, selected));
323 visibleCheckBox.setChecked(selected);
339 getBackground(int position, boolean selected) argument
[all...]
/packages/apps/Gallery2/src/com/android/gallery3d/app/
H A DManageCachePage.java405 public void onSelectionChange(Path path, boolean selected) { argument
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/crop/
H A DCropObject.java131 public static boolean checkCorner(int selected) { argument
132 return selected == TOP_LEFT || selected == TOP_RIGHT || selected == BOTTOM_RIGHT
133 || selected == BOTTOM_LEFT;
136 public static boolean checkEdge(int selected) { argument
137 return selected == MOVE_LEFT || selected == MOVE_TOP || selected == MOVE_RIGHT
138 || selected
141 checkBlock(int selected) argument
145 checkValid(int selected) argument
[all...]
/packages/apps/Settings/src/com/android/settings/vpn2/
H A DConfigDialog.java335 private void loadCertificates(Spinner spinner, String prefix, int firstId, String selected) { argument
355 if (certificates[i].equals(selected)) {
/packages/apps/Browser/src/com/android/browser/
H A DTabBar.java312 public void setActivated(boolean selected) { argument
313 mSelected = selected;
319 super.setActivated(selected);
321 setFocusable(!selected);
/packages/apps/DeskClock/src/com/android/deskclock/worldclock/
H A DCitiesActivity.java120 // preferred over the names of the selected cities stored in SharedPreferences, which could
153 // If the search query is empty, add in the selected cities
262 // selected language for use with selected cities.
268 // Re-organize the selected cities into an array.
272 // Override the selected city names in the shared preferences with the
352 // Header view: A CityObj with nothing but the "selected cities" label
365 holder.selected = (CheckBox) view.findViewById(R.id.city_onoff);
371 holder.selected.setTag(c);
372 holder.selected
416 CheckBox selected; field in class:CitiesActivity.CityAdapter.CityViewHolder
[all...]

Completed in 912 milliseconds

12