Home
last modified time | relevance | path

Searched refs:setId (Results 1 – 25 of 75) sorted by relevance

123

/packages/apps/TV/tuner/tests/unittests/javatests/com/android/tv/tuner/layout/tests/
DScaledLayoutActivity.java43 view1.setId(R.id.view1); in createScaledLayoutTestcaseLayout()
47 view2.setId(R.id.view2); in createScaledLayoutTestcaseLayout()
51 view3.setId(R.id.view3); in createScaledLayoutTestcaseLayout()
55 view4.setId(R.id.view4); in createScaledLayoutTestcaseLayout()
71 view1.setId(R.id.view1); in createScaledLayoutTestcaseBounceY()
75 view2.setId(R.id.view2); in createScaledLayoutTestcaseBounceY()
/packages/apps/PermissionController/src/com/android/packageinstaller/permission/ui/
DGrantPermissionsWatchViewHandler.java143 .setId(R.id.permission_allow_button); in showDialog()
145 .setId(R.id.permission_deny_button); in showDialog()
147 .setId(R.id.permission_deny_dont_ask_again_button); in showDialog()
158 .setId(R.id.permission_allow_button); in showDialog()
160 .setId(R.id.permission_deny_button); in showDialog()
/packages/apps/Car/Settings/src/com/android/car/settings/common/
DBaseFragment.java134 items.get(0).setId(R.id.toolbar_menu_item_0); in onActivityCreated()
136 items.get(0).setId(R.id.toolbar_menu_item_0); in onActivityCreated()
137 items.get(1).setId(R.id.toolbar_menu_item_1); in onActivityCreated()
DSettingsFragment.java191 items.get(0).setId(R.id.toolbar_menu_item_0); in onActivityCreated()
193 items.get(0).setId(R.id.toolbar_menu_item_0); in onActivityCreated()
194 items.get(1).setId(R.id.toolbar_menu_item_1); in onActivityCreated()
/packages/apps/Contacts/src/com/android/contacts/drawer/
DDrawerAdapter.java232 result.setId(item.id); in getPrimaryItemView()
242 result.setId(item.id); in getHeaderItemView()
249 result.setId(item.id); in getGroupEntryView()
271 result.setId(item.id); in getAccountItemView()
303 result.setId(item.id); in getDrawerItemView()
/packages/apps/TV/tests/robotests/src/com/android/tv/dvr/recorder/
DSeriesRecordingSchedulerTest.java89 SeriesRecording.buildFrom(mBaseSeriesRecording).setId(SERIES_RECORDING_ID1).build(); in testPickOneProgramPerEpisode_onePerEpisode()
113 SeriesRecording.buildFrom(mBaseSeriesRecording).setId(SERIES_RECORDING_ID1).build(); in testPickOneProgramPerEpisode_manyPerEpisode()
142 SeriesRecording.buildFrom(mBaseSeriesRecording).setId(SERIES_RECORDING_ID1).build(); in testPickOneProgramPerEpisode_nullEpisode()
/packages/apps/TV/src/com/android/tv/dvr/data/
DSeriesRecording.java110 .setId(r.mId) in buildFrom()
153 .setId(c.getLong(++index)) in fromCursor()
262 public Builder setId(long id) { in setId() method in SeriesRecording.Builder
380 .setId(in.readLong()) in fromParcel()
445 public void setId(long id) { in setId() method in SeriesRecording
DRecordedProgram.java92 .setId(cursor.getLong(index++)) in fromCursor()
206 public abstract Builder setId(long id); in setId() method in RecordedProgram.Builder
327 .setId(ID_NOT_SET) in builder()
461 return toBuilder().setId(id).build(); in withId()
DScheduledRecording.java166 public Builder setId(long id) { in setId() method in ScheduledRecording.Builder
306 .setId(orig.mId) in buildFrom()
456 .setId(c.getLong(++index)) in fromCursor()
482 .setId(c.getLong(++index)) in fromCursorWithTimeOffset()
570 .setId(in.readLong()) in fromParcel()
811 public void setId(long id) { in setId() method in ScheduledRecording
/packages/apps/TV/src/com/android/tv/data/
DPreviewProgramContent.java73 .setId(program.getId()) in createFromProgram()
96 .setId(recordedProgram.getId()) in createFromRecordedProgram()
214 public Builder setId(long id) { in setId() method in PreviewProgramContent.Builder
/packages/apps/TV/tests/robotests/src/com/android/tv/data/
DPreviewDataManagerTest.java148 .setId(FAKE_PROGRAM_ID) in createPreviewProgram_fromProgram()
154 .setId(FAKE_CHANNEL_ID) in createPreviewProgram_fromProgram()
187 .setId(FAKE_PROGRAM_ID) in createPreviewProgram_fromRecordedProgram()
DWatchedHistoryManagerTest.java76 ChannelImpl channel = new ChannelImpl.Builder().setId(fakeId).build(); in testLogChannelViewStop()
97 ChannelImpl channel = new ChannelImpl.Builder().setId(startChannelId + i).build(); in testCircularHistoryQueue()
/packages/apps/Settings/tests/robotests/src/com/android/settings/testutils/shadow/
DShadowInputDevice.java66 shadowInputDevice.setId(id); in makeInputDevicebyId()
70 public void setId(int id) { in setId() method in ShadowInputDevice
/packages/apps/TV/tests/robotests/src/com/android/tv/dvr/ui/browse/
DDvrBrowseFragmentTest.java53 return ScheduledRecording.builder("test", 1, start, end).setId(id).build(); in buildScheduledRecordingForTest()
58 .setId(id) in buildRecordedProgramForTest()
/packages/apps/TV/tests/common/src/com/android/tv/testing/dvr/
DRecordingTestUtils.java30 .setId(id) in createTestRecordingWithIdAndPeriod()
52 .setId(id) in createTestRecordingWithIdAndPriorityAndPeriod()
/packages/apps/Settings/tests/robotests/src/com/android/settings/widget/
DTwoStateButtonPreferenceTest.java52 mButtonOn.setId(R.id.state_on_button); in setUp()
54 mButtonOff.setId(R.id.state_off_button); in setUp()
/packages/services/Car/tests/BugReportApp/src/com/google/android/car/bugreport/
DMetaBugReport.java159 .setId(id)
181 public abstract Builder setId(int id); in setId() method in MetaBugReport.Builder
/packages/apps/TV/tests/robotests/src/com/android/tv/guide/
DProgramTableAdapterTest.java113 channels.add(new ChannelImpl.Builder().setId(id).build()); in buildChannelForTesting()
120 .setId(id) in buildProgramForTesting()
/packages/apps/Settings/tests/robotests/src/com/android/settings/network/
DActiveSubsciptionsListenerTest.java90 .newBuilder().setId(SUB_ID1).buildSubscriptionInfo()); in setUp()
92 .newBuilder().setId(SUB_ID2).buildSubscriptionInfo()); in setUp()
/packages/apps/EmergencyInfo/tests/robolectric/src/com/android/emergency/preferences/
DEmergencyNamePreferenceTest.java142 mNameView.setId(R.id.user_name); in createLayout()
146 mIconView.setId(R.id.user_photo); in createLayout()
/packages/apps/Dialer/java/com/android/voicemail/impl/
DVoicemail.java81 return new Builder().setId(id).setSourceData(sourceData); in createForUpdate()
122 public Builder setId(long id) { in setId() method in Voicemail.Builder
/packages/apps/TV/tests/robotests/src/com/android/tv/dvr/ui/list/
DDvrHistoryRowAdapterTest.java233 .setId(id) in buildScheduledRecordingForTest()
242 .setId(id) in buildRecordedProgramForTest()
/packages/services/BuiltInPrintService/src/com/android/bips/ipp/
DBackend.java129 mCurrentJobStatus = new JobStatus.Builder(mCurrentJobStatus).setId(result) in print()
192 builder.setId(params.jobId); in jobCallback()
/packages/apps/Car/libs/car-media-common/src/com/android/car/media/common/
DMediaButtonController.java93 mSkipPrevButton.setId(R.id.skip_prev); in MediaButtonController()
98 mSkipNextButton.setId(R.id.skip_next); in MediaButtonController()
/packages/apps/Settings/tests/robotests/src/com/android/settings/enterprise/
DActionDisabledByAdminDialogHelperTest.java111 textView.setId(R.id.admin_support_dialog_title); in testSetAdminSupportTitle()
159 textView.setId(R.id.admin_support_msg); in testSetAdminSupportDetails()

123