/packages/apps/QuickSearchBox/tests/src/com/android/quicksearchbox/ |
H A D | MockTextAppearanceFactory.java | 48 public MockStyleSpan(int id) { argument 49 mId = id;
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ |
H A D | WordListInfo.java | 26 public WordListInfo(final String id, final String locale, final String rawChecksum) { argument 27 mId = id;
|
/packages/apps/Launcher3/src/com/android/launcher3/accessibility/ |
H A D | FolderAccessibilityHelper.java | 43 protected int intersectsValidDropTarget(int id) { argument 44 return Math.min(id, mParent.getAllocatedContentSize() - mStartPosition - 1); 48 protected String getLocationDescriptionForIconDrop(int id) { argument 49 return mContext.getString(R.string.move_to_position, id + mStartPosition + 1); 53 protected String getConfirmationForIconDrop(int id) { argument
|
/packages/apps/UnifiedEmail/src/com/android/mail/browse/ |
H A D | MessageInviteView.java | 53 findViewById(R.id.invite_calendar_view).setOnClickListener(this); 54 findViewById(R.id.accept).setOnClickListener(this); 55 findViewById(R.id.tentative).setOnClickListener(this); 56 findViewById(R.id.decline).setOnClickListener(this); 67 final int id = v.getId(); 69 if (id == R.id.invite_calendar_view) { 75 } else if (id == R.id.accept) { 77 } else if (id [all...] |
H A D | SelectedConversationsActionMenu.java | 129 if (itemId == R.id.delete) { 131 performDestructiveAction(R.id.delete, undoCallback); 132 } else if (itemId == R.id.discard_drafts) { 134 performDestructiveAction(R.id.discard_drafts, undoCallback); 135 } else if (itemId == R.id.discard_outbox) { 137 performDestructiveAction(R.id.discard_outbox, undoCallback); 138 } else if (itemId == R.id.archive) { 140 performDestructiveAction(R.id.archive, undoCallback); 141 } else if (itemId == R.id.remove_folder) { 142 destroy(R.id [all...] |
/packages/services/Telephony/src/com/android/phone/settings/ |
H A D | VoicemailDialogUtil.java | 39 public static Dialog getDialog(VoicemailSettingsActivity parent, int id) { argument 40 if ((id == VM_RESPONSE_ERROR_DIALOG) || (id == VM_NOCHANGE_ERROR_DIALOG) || 41 (id == FWD_SET_RESPONSE_ERROR_DIALOG) || (id == FWD_GET_RESPONSE_ERROR_DIALOG) || 42 (id == VM_CONFIRM_DIALOG) || (id == TTY_SET_RESPONSE_ERROR)) { 48 switch (id) { 102 } else if (id == VM_FWD_SAVING_DIALOG || id [all...] |
/packages/apps/Launcher2/ |
H A D | fill_screens.py | 60 id = 0; 64 id += 1 66 insert = insert % (id, "title", "", -100, s, x, y, 1, 1, 2, -1, 0) 68 folder_id = id 71 id += 1 72 intent = intentFormat % (APPLICATION_COMPONENTS[id % len(APPLICATION_COMPONENTS)]) 74 insert = insert % (id, "title", intent, folder_id, 0, 0, 0, 1, 1, 0, -1, 0)
|
/packages/apps/Launcher3/ |
H A D | fill_screens.py | 60 id = 0; 64 id += 1 66 insert = insert % (id, "title", "", -100, s, x, y, 1, 1, 2, -1, 0) 68 folder_id = id 71 id += 1 72 intent = intentFormat % (APPLICATION_COMPONENTS[id % len(APPLICATION_COMPONENTS)]) 74 insert = insert % (id, "title", intent, folder_id, 0, 0, 0, 1, 1, 0, -1, 0)
|
/packages/apps/TV/tests/unit/src/com/android/tv/util/ |
H A D | TestUtils.java | 31 public static TvInputInfo createTvInputInfo(ResolveInfo service, String id, String parentId, argument 37 return createTvInputInfoForLmp(service, id, parentId, type); 41 return createTvInputInfoForMnc(service, id, parentId, type, isHardwareInput); 44 private static TvInputInfo createTvInputInfoForLmp(ResolveInfo service, String id, argument 49 return constructor.newInstance(service, id, parentId, type); 52 private static TvInputInfo createTvInputInfoForMnc(ResolveInfo service, String id, argument 57 return constructor.newInstance(service, id, parentId, type, isHardwareInput); 60 private static TvInputInfo createTvInputInfoForNpreview(ResolveInfo service, String id, argument 65 return constructor.newInstance(service, id, parentId, type);
|
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/util/ |
H A D | UserUtilsTest.java | 55 um.myUser = MockUserManager.PRIMARY_USER.id; 56 assertEquals(MockUserManager.CORP_USER.id, UserUtils.getCorpUserId(c)); 58 um.myUser = MockUserManager.CORP_USER.id; 65 um.myUser = MockUserManager.PRIMARY_USER.id; 66 assertEquals(MockUserManager.CORP_USER.id, UserUtils.getCorpUserId(c)); 68 um.myUser = MockUserManager.CORP_USER.id; 71 um.myUser = MockUserManager.SECONDARY_USER.id; 77 um.myUser = MockUserManager.PRIMARY_USER.id; 80 um.myUser = MockUserManager.SECONDARY_USER.id;
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/editors/ |
H A D | ImageOnlyEditor.java | 29 public final static int ID = R.id.imageOnlyEditor; 36 protected ImageOnlyEditor(int id) { argument 37 super(id);
|
/packages/apps/Gallery2/src/com/android/photos/data/ |
H A D | AlbumSetLoader.java | 40 int id = (int) (500 * random); 42 id, 43 "Fun times " + id,
|
/packages/apps/TV/tests/common/src/com/android/tv/testing/uihelper/ |
H A D | ByResource.java | 32 public static BySelector id(Resources resources, int resId) { method in class:ByResource 33 String id = resources.getResourceName(resId); 34 return By.res(id);
|
/packages/apps/Camera2/src/com/android/camera/app/ |
H A D | CameraController.java | 146 public boolean isFrontFacingCamera(int id) { argument 150 if (id >= mInfo.getNumberOfCameras() || mInfo.getCharacteristics(id) == null) { 151 Log.e(TAG, "Camera info not available:" + id); 154 return mInfo.getCharacteristics(id).isFacingFront(); 158 public boolean isBackFacingCamera(int id) { argument 162 if (id >= mInfo.getNumberOfCameras() || mInfo.getCharacteristics(id) == null) { 163 Log.e(TAG, "Camera info not available:" + id); 166 return mInfo.getCharacteristics(id) 211 requestCamera(int id) argument 216 requestCamera(int id, boolean useNewApi) argument 271 releaseCamera(int id) argument [all...] |
/packages/apps/Calculator/src/com/android/calculator2/ |
H A D | CalculatorNumericPadLayout.java | 61 case R.id.digit_0: 64 case R.id.digit_1: 67 case R.id.digit_2: 70 case R.id.digit_3: 73 case R.id.digit_4: 76 case R.id.digit_5: 79 case R.id.digit_6: 82 case R.id.digit_7: 85 case R.id.digit_8: 88 case R.id [all...] |
/packages/apps/Email/emailcommon/src/com/android/emailcommon/ |
H A D | Device.java | 37 * EAS requires a unique device id, so that sync is possible from a variety of different 40 * This would work on a real device as well, but it would be better to use the "real" id if 56 String id; 60 id = rdr.readLine(); 62 if (id == null) { 63 // It's very bad if we read a null device id; let's delete that file 69 return id; 83 id = "androidc" + consistentDeviceId; 85 id = "android" + System.currentTimeMillis(); 87 w.write(id); [all...] |
/packages/apps/TV/common/src/com/android/tv/common/ui/setup/ |
H A D | SetupMultiPaneFragment.java | 39 .replace(R.id.guided_step_fragment_container, contentFragment).commit(); 41 setOnClickAction(view.findViewById(R.id.button_done), getActionCategory(), ACTION_DONE); 43 View doneButtonContainer = view.findViewById(R.id.done_button_container); 55 view.findViewById(R.id.button_done).setFocusable(false); 75 return new int[] {R.id.content_fragment, R.id.guidedactions_list}; 80 return new int[] {R.id.action_fragment_background, R.id.done_button_container};
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/name/ |
H A D | DeviceNameSetFragment.java | 53 .id(i) 58 .id(options.length) 65 final long id = action.getId(); 67 if (id < 0 || id > options.length) { 69 } else if (id < options.length) { 70 DeviceManager.setDeviceName(getActivity(), options[(int)id]); 72 } else if (id == options.length) {
|
/packages/services/Car/car-lib/src/android/car/app/menu/ |
H A D | CarMenuCallbacks.java | 28 * @return The {@link RootMenu} which contains the root id and any hints 34 * the specified id and subscribes to receive updates when they change. 36 * @param parentId The id of the parent menu item whose list of children 43 * Unsubscribe for changes to the children of the specified id. 44 * @param parentId The id of the parent menu item whose list of children 60 * Called when a car menu item with the specified id has been clicked. 62 public abstract void onItemClicked(String id); argument 65 * Called when a car menu item with the specified id has been long clicked. 67 public abstract boolean onItemLongClicked(String id); argument
|
/packages/apps/Dialer/src/com/android/dialer/calllog/ |
H A D | PhoneCallDetailsViews.java | 51 * The view should contain three text views with identifiers {@code R.id.name}, 52 * {@code R.id.date}, and {@code R.id.number}, and a linear layout with identifier 53 * {@code R.id.call_types}. 56 return new PhoneCallDetailsViews((TextView) view.findViewById(R.id.name), 57 view.findViewById(R.id.call_type), 58 (CallTypeIconsView) view.findViewById(R.id.call_type_icons), 59 (TextView) view.findViewById(R.id.call_location_and_date), 60 (TextView) view.findViewById(R.id.voicemail_transcription), 61 (TextView) view.findViewById(R.id [all...] |
/packages/apps/Music/src/com/android/music/ |
H A D | MusicBrowserActivity.java | 43 int activeTab = MusicUtils.getIntPref(this, "activetab", R.id.artisttab); 44 if (activeTab != R.id.artisttab 45 && activeTab != R.id.albumtab 46 && activeTab != R.id.songtab 47 && activeTab != R.id.playlisttab) { 48 activeTab = R.id.artisttab;
|
/packages/inputmethods/LatinIME/native/jni/src/utils/ |
H A D | profiler.h | 45 void startTimer(const int id) { argument 46 mStartTimes[id] = getTimeInMicroSec(); 49 void endTimer(const int id) { argument 50 mTimes[id] += static_cast<float>(getTimeInMicroSec() - mStartTimes[id]) / 1000.0f; 51 mCounters[id]++;
|
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/ |
H A D | WnnWord.java | 26 public int id; field in class:WnnWord 92 * @param id The ID of word 98 public WnnWord(int id, String candidate, String stroke, WnnPOS posTag, int frequency) { argument 99 this(id, candidate, stroke, posTag, frequency, 0); 105 * @param id The ID of word 112 public WnnWord(int id, String candidate, String stroke, WnnPOS posTag, int frequency, int attribute) { argument 113 this.id = id;
|
/packages/apps/MusicFX/src/com/android/musicfx/ |
H A D | ActivityMusic.java | 128 { R.id.EQBand0TextView, R.id.EQBand0SeekBar }, 129 { R.id.EQBand1TextView, R.id.EQBand1SeekBar }, 130 { R.id.EQBand2TextView, R.id.EQBand2SeekBar }, 131 { R.id.EQBand3TextView, R.id.EQBand3SeekBar }, 132 { R.id.EQBand4TextView, R.id [all...] |
/packages/apps/Dialer/tests/src/com/android/dialer/dialpad/ |
H A D | DialpadFragmentInstrumentationTest.java | 98 return R.id.zero; 100 return R.id.one; 102 return R.id.two; 104 return R.id.three; 106 return R.id.four; 108 return R.id.five; 110 return R.id.six; 112 return R.id.seven; 114 return R.id.eight; 116 return R.id [all...] |