Searched defs:selected (Results 1 - 25 of 38) 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/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/deviceinfo/
H A DUsbModeChooserActivity.java133 private void inflateOption(final int mode, boolean selected, LinearLayout container, argument
165 ((Checkable) v).setChecked(selected);
/packages/apps/TV/src/com/android/tv/menu/
H A DActionCardView.java63 public void onBind(MenuAction action, boolean selected) { argument
H A DBaseCardView.java81 public void onBind(T item, boolean selected) { argument
84 setFocusAnimatedValue(selected ? SCALE_FACTOR_1F : SCALE_FACTOR_0F);
113 protected void onFocusAnimationStart(boolean selected) { argument
120 protected void onFocusAnimationEnd(boolean selected) { argument
142 final boolean selected = targetAnimatedValue == SCALE_FACTOR_1F;
149 onFocusAnimationStart(selected);
155 onFocusAnimationEnd(selected);
H A DRecordCardView.java72 public void onBind(Channel channel, boolean selected) { argument
73 super.onBind(channel, selected);
H A DAppLinkCardView.java111 public void onBind(Channel channel, boolean selected) { argument
113 Log.d(TAG, "onBind(channelName=" + channel.getDisplayName() + ", selected=" + selected
172 setMetaViewFocusedAlpha(selected ? 1f : 0f);
178 super.onBind(channel, selected);
236 protected void onFocusAnimationStart(boolean selected) { argument
238 setMetaViewFocusedAlpha(selected ? 1f : 0f);
H A DChannelCardView.java99 public void onBind(Channel channel, boolean selected) { argument
101 Log.d(TAG, "onBind(channelName=" + channel.getDisplayName() + ", selected=" + selected
132 setMetaViewFocusedAlpha(selected ? 1f : 0f);
138 super.onBind(channel, selected);
162 protected void onFocusAnimationStart(boolean selected) { argument
164 setMetaViewFocusedAlpha(selected ? 1f : 0f);
H A DItemListRowView.java43 void onBind(T row, boolean selected); argument
146 * The initial position of list that will be selected when the main menu appears.
147 * By default, the first item is initially 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...]
/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/Settings/src/com/android/settings/notification/
H A DNotificationLockscreenPreference.java135 private int checkboxVisibilityForSelectedIndex(int selected, argument
137 return selected == 1 && showRemoteAtAll && mRemoteInputCheckBoxEnabled ? View.VISIBLE
/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/DeskClock/src/com/android/deskclock/worldclock/
H A DCitySelectionActivity.java62 * This activity allows the user to alter the cities selected for display.
76 /** The list of all selected and unselected cities, indexed and possibly filtered. */
79 /** The adapter that presents all of the selected and unselected cities. */
140 // Save the selected cities.
174 * This adapter presents data in 2 possible modes. If selected cities exist the format is:
189 * If selected cities do not exist, that section is removed and all that remains is:
228 /** A mutable set of cities currently selected by the user. */
311 final CheckBox selected = (CheckBox) view.findViewById(R.id.city_onoff);
312 view.setTag(new CityItemHolder(index, name, time, selected));
317 holder.selected
553 private final CheckBox selected; field in class:CitySelectionActivity.CityAdapter.CityItemHolder
555 CityItemHolder(TextView index, TextView name, TextView time, CheckBox selected) argument
[all...]

Completed in 5058 milliseconds

12