/packages/apps/UnifiedEmail/src/com/android/mail/ui/ |
H A D | AddableFolderSelectorAdapter.java | 35 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 D | FolderSelectorAdapter.java | 96 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 D | SimSelectorAvatarRequest.java | 69 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 D | UsbModeChooserActivity.java | 87 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 D | ActionBehavior.java | 48 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 D | ModeIconView.java | 31 * 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 D | ModeSelectorItem.java | 98 public void setSelected(boolean selected) { argument 99 mIcon.setSelected(selected);
|
/packages/apps/Settings/src/com/android/settings/inputmethod/ |
H A D | SpellCheckerPreference.java | 124 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 D | RadioButtonPreference.java | 87 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 D | SelectionManager.java | 78 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 D | AudioMediaChooser.java | 109 protected void setSelected(final boolean selected) { argument 110 super.setSelected(selected); 111 if (selected && !OsUtil.hasRecordAudioPermission()) {
|
H A D | CameraMediaChooser.java | 259 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 D | GalleryMediaChooser.java | 195 protected void setSelected(final boolean selected) { argument 196 super.setSelected(selected); 197 if (selected && !OsUtil.hasStoragePermission()) {
|
H A D | MediaChooser.java | 46 /** 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 D | IngestService.java | 185 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 D | SelectionManager.java | 49 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 D | ActionModeHandler.java | 272 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 D | ConversationDrawables.java | 107 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 D | AvatarUriUtil.java | 88 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 D | SelectCalendarsSimpleAdapter.java | 93 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 D | ManageCachePage.java | 405 public void onSelectionChange(Path path, boolean selected) { argument
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/crop/ |
H A D | CropObject.java | 131 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 D | ConfigDialog.java | 335 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 D | TabBar.java | 312 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 D | CitiesActivity.java | 120 // 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...] |