Home
last modified time | relevance | path

Searched refs:id (Results 1 – 25 of 2426) sorted by relevance

12345678910>>...98

/aosp14/frameworks/base/tests/StatusBar/src/com/android/statusbartest/
H A DNotificationBuilderTest.java67 for (int id: new int[] { in onCreate()
68 R.id.clear_1, in onCreate()
69 R.id.clear_2, in onCreate()
70 R.id.clear_3, in onCreate()
71 R.id.clear_4, in onCreate()
72 R.id.clear_5, in onCreate()
88 R.id.ten, in onCreate()
182 for (int id=1; id<=10; id++) {
188 for (int id=1; id<=10; id++) {
248 case R.id.icon_im: in buildNotification()
[all …]
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/models/player/
H A DMediaViewHolder.kt78 return when (id) {
124 R.id.icon,
134 R.id.action0,
135 R.id.action1,
136 R.id.action2,
137 R.id.action3,
138 R.id.action4,
139 R.id.icon,
146 setOf(R.id.action0, R.id.action1, R.id.action2, R.id.action3, R.id.action4)
153 R.id.action0,
[all …]
/aosp14/frameworks/base/core/java/android/util/proto/
H A DProtoOutputStream.java901 writeDoubleImpl(id, val); in writeDouble()
968 writeFloatImpl(id, val); in writeFloat()
1058 writeInt32Impl(id, val); in writeInt32()
1139 writeInt64Impl(id, val); in writeInt64()
1211 writeUInt32Impl(id, val); in writeUInt32()
1283 writeUInt64Impl(id, val); in writeUInt64()
1355 writeSInt32Impl(id, val); in writeSInt32()
1427 writeSInt64Impl(id, val); in writeSInt64()
1765 writeBoolImpl(id, val); in writeBool()
1900 writeBytesImpl(id, val); in writeBytes()
[all …]
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/shade/
H A DCombinedShadeHeaderConstraintsTest.kt62 assertThat(getConstraint(R.id.clock).layout.startToStart).isEqualTo(R.id.begin_guide)
112 assertThat(getConstraint(R.id.clock).layout.startToEnd).isEqualTo(R.id.begin_guide)
179 assertThat(getConstraint(R.id.date).layout.endToStart).isEqualTo(R.id.barrier)
181 .isEqualTo(R.id.date)
182 assertThat(getConstraint(R.id.privacy_container).layout.startToEnd).isEqualTo(R.id.date)
269 assertThat(getConstraint(R.id.date).layout.endToStart).isEqualTo(R.id.center_left)
280 assertThat(getConstraint(R.id.date).layout.endToStart).isNotEqualTo(R.id.center_left)
281 assertThat(getConstraint(R.id.date).layout.endToStart).isNotEqualTo(R.id.center_right)
308 assertThat(getConstraint(R.id.date).layout.endToStart).isEqualTo(R.id.center_right)
319 assertThat(getConstraint(R.id.date).layout.endToStart).isNotEqualTo(R.id.center_left)
[all …]
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/compat/
H A DCompatConfigBuilder.java42 CompatConfigBuilder addEnableAfterSdkChangeWithId(int sdk, long id) { in addEnableAfterSdkChangeWithId() argument
53 mChanges.add(new CompatChange(id, "", sdk, -1, true, false, "", false)); in addEnableAfterSdkChangeWithIdDefaultDisabled()
63 CompatConfigBuilder addEnableSinceSdkChangeWithId(int sdk, long id) { in addEnableSinceSdkChangeWithId() argument
84 CompatConfigBuilder addEnabledChangeWithId(long id) { in addEnabledChangeWithId() argument
89 CompatConfigBuilder addEnabledChangeWithIdAndName(long id, String name) { in addEnabledChangeWithIdAndName() argument
98 CompatConfigBuilder addDisabledChangeWithId(long id) { in addDisabledChangeWithId() argument
103 CompatConfigBuilder addDisabledChangeWithIdAndName(long id, String name) { in addDisabledChangeWithIdAndName() argument
113 CompatConfigBuilder addLoggingOnlyChangeWithId(long id) { in addLoggingOnlyChangeWithId() argument
118 CompatConfigBuilder addEnabledOverridableChangeWithId(long id) { in addEnabledOverridableChangeWithId() argument
123 CompatConfigBuilder addDisabledOverridableChangeWithId(long id) { in addDisabledOverridableChangeWithId() argument
[all …]
/aosp14/frameworks/base/tests/JankBench/app/src/main/java/com/android/benchmark/app/
H A DRunLocalBenchmarksActivity.java72 R.id.benchmark_overdraw,
84 public void setRunId(int id) { in setRunId() argument
85 mRunId = id; in setRunId()
106 int id; field in RunLocalBenchmarksActivity.LocalBenchmark
112 this.id = id; in LocalBenchmark()
163 int id = enabledIds[i]; in initLocalBenchmarks() local
167 id = translateBenchmarkIndex(id); in initLocalBenchmarks()
174 if (isCompute(id)) { in initLocalBenchmarks()
178 idString.append(id); in initLocalBenchmarks()
187 switch (id) { in isCompute()
[all …]
/aosp14/frameworks/base/services/tests/InputMethodSystemServerTests/test-apps/SimpleTestIme/src/com/android/apps/inputmethod/simpleime/
H A DSimpleKeyboard.java34 R.id.key_pos_0_0,
35 R.id.key_pos_0_1,
36 R.id.key_pos_0_2,
37 R.id.key_pos_0_3,
38 R.id.key_pos_0_4,
39 R.id.key_pos_0_5,
40 R.id.key_pos_0_6,
41 R.id.key_pos_0_7,
42 R.id.key_pos_0_8,
43 R.id.key_pos_0_9,
[all …]
/aosp14/frameworks/base/core/tests/coretests/src/android/view/autofill/
H A DAutofillIdTest.java39 assertNonVirtual(id, 42, NO_SESSION); in testNonVirtual()
49 assertThat(id.isVirtualInt()).isTrue(); in testVirtual_int()
51 assertThat(id.isNonVirtual()).isFalse(); in testVirtual_int()
122 id.setSessionId(108); in testFactoryMethod_withoutSession()
123 assertNonVirtual(id, 42, 108); in testFactoryMethod_withoutSession()
158 id.setSessionId(108); in testSetResetSession()
159 assertNonVirtual(id, 42, 108); in testSetResetSession()
164 id.resetSessionId(); in testSetResetSession()
175 assertThat(id).isEqualTo(sameId); in testEqualsHashCode_nonVirtual_same()
176 assertThat(sameId).isEqualTo(id); in testEqualsHashCode_nonVirtual_same()
[all …]
/aosp14/frameworks/base/core/tests/coretests/src/android/widget/
H A DTextViewActivityMouseTest.java87 onView(withId(R.id.textview)).perform( in testSelectTextByDrag()
100 onView(withId(R.id.textview)).perform( in testSelectTextByDrag_reverse()
114 onView(withId(R.id.textview)).perform( in testContextMenu()
127 onView(withId(R.id.textview)).perform( in testContextMenu()
131 onView(withId(R.id.textview)).perform( in testContextMenu()
143 onView(withId(R.id.textview)).perform( in testContextMenu()
145 onView(withId(R.id.textview)).perform( in testContextMenu()
158 onView(withId(R.id.textview)).perform( in testContextMenu()
179 onView(withId(R.id.textview)).perform( in testDragAndDrop()
182 onView(withId(R.id.textview)).perform( in testDragAndDrop()
[all …]
H A DTextViewActivityTest.java197 onView(withId(R.id.textview)).perform(click()); in testLongPressToSelect()
199 onView(withId(R.id.textview)).perform( in testLongPressToSelect()
223 onView(withId(R.id.textview)).perform( in testLongPressAndDragToSelect()
237 onView(withId(R.id.textview)).perform(click()); in testLongPressAndDragToSelect_emoji()
249 onView(withId(R.id.textview)).perform( in testDragAndDrop()
257 onView(withId(R.id.textview)).perform(pressKey( in testDragAndDrop()
268 onView(withId(R.id.textview)).perform( in testDoubleTapToSelect()
288 onView(withId(R.id.textview)).perform( in testDoubleTapAndDragToSelect_multiLine()
297 onView(withId(R.id.textview)).perform( in testSelectBackwordsByTouch()
307 onView(withId(R.id.textview)).perform( in testToolbarAppearsAfterSelection()
[all …]
/aosp14/frameworks/base/core/java/android/view/inspector/
H A DPropertyReader.java59 void readByte(int id, byte value); in readByte() argument
68 void readChar(int id, char value); in readChar() argument
86 void readFloat(int id, float value); in readFloat() argument
95 void readInt(int id, int value); in readInt() argument
104 void readLong(int id, long value); in readLong() argument
113 void readShort(int id, short value); in readShort() argument
195 int id, in PropertyTypeMismatchException() argument
203 int id, in PropertyTypeMismatchException() argument
210 int id, in formatMessage() argument
219 id, in formatMessage()
[all …]
/aosp14/frameworks/base/services/tests/servicestests/res/raw/
H A Da11y_three_finger_swipe_down_gesture.log5 …onButton=0, id[0]=0, x[0]=500.0, y[0]=696.0, toolType[0]=TOOL_TYPE_FINGER, id[1]=1, x[1]=764.0, y[…
6 …onButton=0, id[0]=0, x[0]=500.0, y[0]=696.0, toolType[0]=TOOL_TYPE_FINGER, id[1]=1, x[1]=766.0, y[…
7 …onButton=0, id[0]=0, x[0]=503.0, y[0]=699.0, toolType[0]=TOOL_TYPE_FINGER, id[1]=1, x[1]=773.0, y[…
8 …onButton=0, id[0]=0, x[0]=521.0, y[0]=728.0, toolType[0]=TOOL_TYPE_FINGER, id[1]=1, x[1]=776.0, y[…
9 …onButton=0, id[0]=0, x[0]=535.0, y[0]=765.0, toolType[0]=TOOL_TYPE_FINGER, id[1]=1, x[1]=782.0, y[…
10 …onButton=0, id[0]=0, x[0]=545.0, y[0]=795.0, toolType[0]=TOOL_TYPE_FINGER, id[1]=1, x[1]=786.0, y[…
11 …onButton=0, id[0]=0, x[0]=555.0, y[0]=832.0, toolType[0]=TOOL_TYPE_FINGER, id[1]=1, x[1]=790.0, y[…
12 …onButton=0, id[0]=0, x[0]=560.0, y[0]=870.0, toolType[0]=TOOL_TYPE_FINGER, id[1]=1, x[1]=794.0, y[…
13 …onButton=0, id[0]=0, x[0]=565.0, y[0]=909.0, toolType[0]=TOOL_TYPE_FINGER, id[1]=1, x[1]=797.0, y[…
14 …onButton=0, id[0]=0, x[0]=568.0, y[0]=948.0, toolType[0]=TOOL_TYPE_FINGER, id[1]=1, x[1]=801.0, y[…
[all …]
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/
H A DAnimatableProperty.java34 R.id.x_animator_tag, R.id.x_animator_tag_start_value, R.id.x_animator_tag_end_value);
37 R.id.y_animator_tag, R.id.y_animator_tag_start_value, R.id.y_animator_tag_end_value);
40 View.TRANSLATION_X, R.id.x_animator_tag, R.id.x_animator_tag_start_value,
41 R.id.x_animator_tag_end_value);
44 View.SCALE_X, R.id.scale_x_animator_tag, R.id.scale_x_animator_start_value_tag,
48 View.SCALE_Y, R.id.scale_y_animator_tag, R.id.scale_y_animator_start_value_tag,
52 View.ALPHA, R.id.alpha_animator_tag, R.id.alpha_animator_start_value_tag,
77 R.id.absolute_x_animator_tag,
103 R.id.absolute_y_animator_tag,
124 R.id.view_width_animator_tag,
[all …]
/aosp14/frameworks/base/tests/BiDiTests/src/com/android/bidi/
H A DBiDiTestActivity.java46 onListItemClick((ListView)parent, v, position, id);
50 private void onListItemClick(ListView lv, View v, int position, long id) { in onListItemClick() argument
63 ft.replace(R.id.testframe, fragment); in onListItemClick()
78 mList = findViewById(R.id.testlist); in onCreate()
84 new int[]{android.R.id.text1}); in onCreate()
102 addItem(result, "Basic", BiDiTestBasic.class, R.id.basic); in getTests()
104 addItem(result, "Canvas2", BiDiTestCanvas2.class, R.id.canvas2); in getTests()
106 addItem(result, "TextView LTR", BiDiTestTextViewLtr.class, R.id.textview_ltr); in getTests()
141 addItem(result, "Padding", BiDiTestViewPadding.class, R.id.view_padding); in getTests()
149 addItem(result, "Gallery LTR", BiDiTestGalleryLtr.class, R.id.gallery_ltr); in getTests()
[all …]
/aosp14/frameworks/base/libs/protoutil/src/
H A DProtoOutputStream.cpp64 const uint32_t id = (uint32_t)fieldId; in internalWrite() local
80 writeEnumImpl(id, (int)val); in internalWrite()
87 writeBoolImpl(id, val != 0); in internalWrite()
126 const uint32_t id = (uint32_t)fieldId; in write() local
160 const uint32_t id = (uint32_t)fieldId; in write() local
163 writeBoolImpl(id, val); in write()
176 const uint32_t id = (uint32_t)fieldId; in write() local
192 const uint32_t id = (uint32_t)fieldId; in write() local
260 uint32_t id = (uint32_t)fieldId; in start() local
663 writeLengthDelimitedHeader(id, size); in writeUtf8StringImpl()
[all …]
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/shade/
H A DCombinedShadeHeadersConstraintManagerImpl.kt42 connect(R.id.date, ConstraintSet.END, R.id.barrier, ConstraintSet.START)
44 R.id.barrier,
47 R.id.shade_header_system_icons,
48 R.id.privacy_container
50 connect(R.id.shade_header_system_icons, ConstraintSet.START, R.id.date,
52 connect(R.id.privacy_container, ConstraintSet.START, R.id.date, ConstraintSet.END)
54 constrainedWidth(R.id.date, true)
78 val centerStart = if (!rtl) R.id.center_left else R.id.center_right
79 val centerEnd = if (!rtl) R.id.center_right else R.id.center_left
93 R.id.privacy_container,
[all …]
/aosp14/frameworks/base/test-mock/src/android/test/mock/
H A DMockResources.java56 public CharSequence getText(int id) throws NotFoundException { in getText() argument
66 public String getString(int id) throws NotFoundException { in getString() argument
87 public CharSequence getText(int id, CharSequence def) { in getText() argument
97 public String[] getStringArray(int id) throws NotFoundException { in getStringArray() argument
102 public int[] getIntArray(int id) throws NotFoundException { in getIntArray() argument
112 public float getDimension(int id) throws NotFoundException { in getDimension() argument
127 public Drawable getDrawable(int id) throws NotFoundException { in getDrawable() argument
132 public Movie getMovie(int id) throws NotFoundException { in getMovie() argument
137 public int getColor(int id) throws NotFoundException { in getColor() argument
147 public int getInteger(int id) throws NotFoundException { in getInteger() argument
[all …]
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/util/concurrency/
H A DMessageRouterImpl.java43 public void sendMessageDelayed(int id, long delayMs) { in sendMessageDelayed() argument
44 addCanceler(id, mDelayableExecutor.executeDelayed(() -> onMessage(id), delayMs)); in sendMessageDelayed()
54 public void cancelMessages(int id) { in cancelMessages() argument
56 if (mIdMessageCancelers.containsKey(id)) { in cancelMessages()
62 mIdMessageCancelers.remove(id); in cancelMessages()
136 mIdMessageCancelers.get(id).add(canceler); in addCanceler()
147 private void onMessage(int id) { in onMessage() argument
151 listener.onMessage(id); in onMessage()
157 if (mIdMessageCancelers.containsKey(id) && !mIdMessageCancelers.get(id).isEmpty()) { in onMessage()
158 mIdMessageCancelers.get(id).remove(0); in onMessage()
[all …]
/aosp14/system/core/libutils/
H A DRefBase.cpp346 const void* id; member
363 ref->id = id; in addRef()
380 if (ref->id == id) { in removeRef()
454 refs->incWeak(id); in incStrong()
476 refs->incWeak(id); in incStrongRequireStrong()
518 refs->decWeak(id); in decStrong()
526 refs->incWeak(id); in forceIncStrong()
560 impl->addWeakRef(id); in incWeak()
569 impl->addWeakRef(id); in incWeakRequireWeak()
616 incWeak(id); in attemptIncStrong()
[all …]
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/models/recommendation/
H A DRecommendationViewHolder.kt99 R.id.media_rec_title,
100 R.id.media_cover,
101 R.id.media_cover1_container,
102 R.id.media_cover2_container,
103 R.id.media_cover3_container,
104 R.id.media_title,
105 R.id.media_subtitle,
110 R.id.media_title,
111 R.id.media_subtitle,
118 R.id.media_cover3_container
[all …]
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/ui/view/layout/sections/
H A DAlignShortcutsToUdfpsSection.kt39 constrainWidth(R.id.start_button, width)
40 constrainHeight(R.id.start_button, height)
41 connect(R.id.start_button, LEFT, PARENT_ID, LEFT)
42 connect(R.id.start_button, RIGHT, R.id.lock_icon_view, LEFT)
43 connect(R.id.start_button, TOP, R.id.lock_icon_view, TOP)
44 connect(R.id.start_button, BOTTOM, R.id.lock_icon_view, BOTTOM)
46 constrainWidth(R.id.end_button, width)
47 constrainHeight(R.id.end_button, height)
49 connect(R.id.end_button, LEFT, R.id.lock_icon_view, RIGHT)
50 connect(R.id.end_button, TOP, R.id.lock_icon_view, TOP)
[all …]
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/people/
H A DPeopleTileViewHelperTest.java219 TextView name = (TextView) result.findViewById(R.id.name); in testCreateRemoteViewsWithLastInteractionTime()
266 name = (TextView) largeResult.findViewById(R.id.name); in testCreateRemoteViewsWithLastInteractionTime()
291 TextView name = (TextView) result.findViewById(R.id.name); in testCreateRemoteViewsWithGameTypeOnlyIsIgnored()
338 name = (TextView) largeResult.findViewById(R.id.name); in testCreateRemoteViewsWithGameTypeOnlyIsIgnored()
363 TextView name = (TextView) result.findViewById(R.id.name); in testCreateRemoteViewsWithBirthdayTypeOnlyIsNotIgnored()
419 name = (TextView) largeResult.findViewById(R.id.name); in testCreateRemoteViewsWithBirthdayTypeOnlyIsNotIgnored()
504 name = (TextView) largeResult.findViewById(R.id.name); in testCreateRemoteViewsWithStatusTemplate()
769 name = (TextView) largeResult.findViewById(R.id.name); in testCreateRemoteViewsWithMissedCallNotification()
842 name = (TextView) largeResult.findViewById(R.id.name); in testCreateRemoteViewsWithNotificationTemplate()
923 name = (TextView) largeResult.findViewById(R.id.name); in testCreateRemoteViewsWithNotificationWithSenderTemplate()
[all …]
/aosp14/frameworks/base/tools/aapt2/compile/
H A DIdAssigner.cpp45 Result<Id> ReserveId(Key key, Id id);
82 uint8_t id; member
85 return (type != other.type) ? type < other.type : id < other.id; in operator <()
89 return type == other.type && id == other.id; in operator ==()
132 if (entry->id && !assigned_ids.ReserveId(name, entry->id.value(), entry->visibility, in Consume()
153 entry->id = assigned_id; in Consume()
179 if (entry->id) { in Consume()
183 if (!id.has_value()) { in Consume()
186 entry->id = id.value(); in Consume()
203 return id; in ReserveId()
[all …]
/aosp14/frameworks/base/services/core/java/com/android/server/wm/
H A DLaunchObserverRegistryImpl.java81 public void onIntentFailed(long id) { in onIntentFailed() argument
90 this, id, name, temperature)); in onActivityLaunched()
94 public void onActivityLaunchCancelled(long id) { in onActivityLaunchCancelled() argument
103 this, id, name, timestampNs)); in onActivityLaunchFinished()
107 public void onReportFullyDrawn(long id, long timestampNs) { in onReportFullyDrawn() argument
110 this, id, timestampNs)); in onReportFullyDrawn()
132 private void handleOnIntentFailed(long id) { in handleOnIntentFailed() argument
135 mList.get(i).onIntentFailed(id); in handleOnIntentFailed()
147 private void handleOnActivityLaunchCancelled(long id) { in handleOnActivityLaunchCancelled() argument
150 mList.get(i).onActivityLaunchCancelled(id); in handleOnActivityLaunchCancelled()
[all …]
/aosp14/frameworks/base/media/tests/SoundPoolTest/src/com/android/
H A DSoundPoolTest.java97 if (id == 0) { in loadSound()
100 return id; in loadSound()
137 if (id == 0) { in TestSounds()
159 if (id == 0) { in TestScales()
180 if (id == 0) { in TestRates()
191 mSoundPool.stop(id); in TestRates()
214 if (id != 0) { in TestPriority()
226 if (id == 0) { in TestPriority()
254 if (id == 0) { in TestPauseResume()
271 mSoundPool.stop(id); in TestPauseResume()
[all …]

12345678910>>...98