Searched refs:id (Results 76 - 100 of 1901) sorted by relevance

1234567891011>>

/frameworks/base/core/java/android/content/pm/
H A DUserInfo.java92 public int id; field in class:UserInfo
107 public UserInfo(int id, String name, int flags) { argument
108 this(id, name, null, flags);
111 public UserInfo(int id, String name, String iconPath, int flags) { argument
112 this.id = id;
162 return isSystemOnly(id);
192 return (!hideSystemUser || id != UserHandle.USER_SYSTEM) && supportsSwitchTo();
201 return id != UserHandle.USER_SYSTEM;
203 return id
[all...]
/frameworks/base/core/jni/
H A Dandroid_hardware_UsbDevice.cpp33 int id = usb_device_get_unique_id_from_name(nameStr); local
35 return id;
39 android_hardware_UsbDevice_get_device_name(JNIEnv *env, jobject clazz, jint id) argument
41 char* name = usb_device_get_name_from_unique_id(id);
/frameworks/base/core/tests/coretests/src/android/widget/focus/
H A DLinearLayoutGrid.java36 return (ViewGroup) findViewById(R.id.layout);
54 return (LinearLayout) findViewById(R.id.column1);
56 return (LinearLayout) findViewById(R.id.column2);
58 return (LinearLayout) findViewById(R.id.column3);
/frameworks/base/services/core/java/com/android/server/lights/
H A DLightsManager.java30 public abstract Light getLight(int id); argument
/frameworks/base/tests/HierarchyViewerTest/src/com/android/test/hierarchyviewer/
H A DMainActivity.java19 View textView = findViewById(R.id.textView);
35 int id = item.getItemId();
38 if (id == R.id.action_settings) {
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
H A DViewPropertyAlphaActivity.java53 startAnim(R.id.button);
54 startAnim(R.id.textview);
55 startAnim(R.id.spantext);
56 startAnim(R.id.edittext);
57 startAnim(R.id.selectedtext);
58 startAnim(R.id.textviewbackground);
59 startAnim(R.id.layout);
60 startAnim(R.id.imageview);
63 EditText selectedText = (EditText) findViewById(R.id.selectedtext);
68 Button invalidator = (Button) findViewById(R.id
112 startAnim(int id) argument
[all...]
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
H A DOnChildLaidOutListener.java31 * @param id The id of the child.
33 void onChildLaidOut(ViewGroup parent, View view, int position, long id); argument
H A DOnChildSelectedListener.java35 * @param id The id of the child that is selected, or NO_ID if no view is
38 void onChildSelected(ViewGroup parent, View view, int position, long id); argument
H A DRow.java35 * @param id The id of the row.
39 public Row(long id, HeaderItem headerItem) { argument
40 setId(id);
80 * Sets the id for this row.
82 * @param id The id of the row.
84 public final void setId(long id) { argument
85 mId = id;
90 * Returns a unique identifier for this row. This id ca
[all...]
/frameworks/base/docs/html/ndk/reference/
H A Ddynsections.js3 var base = $(linkObj).attr('id');
30 var l = this.id.split('_').length-1;
31 var i = $('#img'+this.id.substring(3));
32 var a = $('#arr'+this.id.substring(3));
48 function toggleFolder(id)
51 var currentRow = $('#row_'+id);
59 var re = new RegExp('^row_'+id+'\\d+_$', "i"); //only one sub
60 return this.id.match(re);
65 currentRowImages.filter("[id^=arr]").attr('src', 'ftv2pnode.png');
66 currentRowImages.filter("[id
[all...]
/frameworks/support/v4/tests/java/android/support/v4/view/
H A DViewPagerWithTabStripTest.java50 onView(allOf(isDescendantOfA(withId(R.id.titles)), withText("Red"))).perform(click());
54 onView(allOf(isDescendantOfA(withId(R.id.titles)), withText("Green"))).perform(click());
58 onView(allOf(isDescendantOfA(withId(R.id.titles)), withText("Red"))).perform(click());
62 onView(withId(R.id.pager)).perform(scrollRight(smoothScroll));
65 onView(allOf(isDescendantOfA(withId(R.id.titles)), withText("Green"))).perform(click());
69 onView(allOf(isDescendantOfA(withId(R.id.titles)), withText("Blue"))).perform(click());
76 onView(withId(R.id.pager)).perform(scrollToPage(0, smoothScroll));
79 onView(withId(R.id.titles)).perform(clickBetweenTwoTitles("Red", "Green"));
83 onView(withId(R.id.titles)).perform(clickBetweenTwoTitles("Red", "Green"));
87 onView(withId(R.id
[all...]
H A DViewPagerWithTitleStripTest.java51 onView(allOf(isDescendantOfA(withId(R.id.titles)), withText("Red"))).perform(click());
55 onView(allOf(isDescendantOfA(withId(R.id.titles)), withText("Green"))).perform(click());
58 onView(withId(R.id.pager)).perform(scrollRight(smoothScroll));
61 onView(allOf(isDescendantOfA(withId(R.id.titles)), withText("Red"))).perform(click());
65 onView(allOf(isDescendantOfA(withId(R.id.titles)), withText("Green"))).perform(click());
69 onView(allOf(isDescendantOfA(withId(R.id.titles)), withText("Blue"))).perform(click());
77 onView(withId(R.id.pager)).perform(scrollToPage(0, smoothScroll));
80 onView(withId(R.id.titles)).perform(clickBetweenTwoTitles("Red", "Green"));
84 onView(withId(R.id.pager)).perform(scrollRight(smoothScroll));
87 onView(withId(R.id
[all...]
H A DBaseViewPagerTest.java82 view.setId(R.id.page_0);
85 view.setId(R.id.page_1);
88 view.setId(R.id.page_2);
91 view.setId(R.id.page_3);
94 view.setId(R.id.page_4);
97 view.setId(R.id.page_5);
100 view.setId(R.id.page_6);
103 view.setId(R.id.page_7);
106 view.setId(R.id.page_8);
109 view.setId(R.id
[all...]
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/items/
H A DAbstractItem.java47 public ItemHierarchy findItemById(int id) { argument
48 if (id == getId()) {
H A DItemAdapter.java97 public ItemHierarchy findItemById(int id) { argument
98 return mItemHierarchy.findItemById(id);
115 public int add(int id) { argument
116 if (mPositionMap.indexOfKey(id) < 0) {
117 mPositionMap.put(id, nextPosition);
120 return mPositionMap.get(id);
127 public int get(int id) { argument
128 return mPositionMap.get(id);
/frameworks/support/design/tests/src/android/support/design/widget/
H A DCoordinatorLayoutActivity.java34 mContainer = (FrameLayout) findViewById(R.id.container);
35 mCoordinatorLayout = (CoordinatorLayout) findViewById(R.id.coordinator);
H A DNavigationViewTest.java54 private static final int[] MENU_CONTENT_ITEM_IDS = { R.id.destination_home,
55 R.id.destination_profile, R.id.destination_people, R.id.destination_settings };
69 mDrawerLayout = (DrawerLayout) activity.findViewById(R.id.drawer_layout);
70 mNavigationView = (NavigationView) mDrawerLayout.findViewById(R.id.start_drawer);
73 onView(withId(R.id.drawer_layout)).perform(closeDrawer(GravityCompat.START));
77 mMenuStringContent.put(R.id.destination_home, res.getString(R.string.navigate_home));
78 mMenuStringContent.put(R.id.destination_profile, res.getString(R.string.navigate_profile));
79 mMenuStringContent.put(R.id
[all...]
/frameworks/support/v4/api21/android/support/v4/content/
H A DContextCompatApi21.java25 public static Drawable getDrawable(Context context, int id) { argument
26 return context.getDrawable(id);
/frameworks/support/v4/ics-mr1/android/support/v4/content/res/
H A DResourcesCompatIcsMr1.java25 public static Drawable getDrawableForDensity(Resources res, int id, int density) argument
27 return res.getDrawableForDensity(id, density);
/frameworks/support/v7/appcompat/src/android/support/v7/app/
H A DNavItemSelectedListener.java35 public void onItemSelected(AdapterView<?> parent, View view, int position, long id) { argument
37 mListener.onNavigationItemSelected(position, id);
/frameworks/base/core/java/android/hardware/location/
H A DIFusedLocationHardware.aidl54 * @param id An Id associated with the request.
59 void startBatching(in int id, in FusedBatchOptions batchOptions) = 3;
64 * @param id The request that needs to be stopped.
67 void stopBatching(in int id) = 4;
72 * @param id The Id of the operation to update.
77 void updateBatchingOptions(in int id, in FusedBatchOptions batchOptions) = 5;
H A DIGeofenceHardware.aidl35 boolean removeGeofence(int id, int monitoringType);
36 boolean pauseGeofence(int id, int monitoringType);
37 boolean resumeGeofence(int id, int monitoringType, int monitorTransitions);
/frameworks/av/media/libstagefright/codecs/common/include/
H A DvoIndex.h33 #define _MAKE_SOURCE_ID(id, name) \
34 VO_INDEX_SRC_##name = _VO_INDEX_SOURCE | id,
36 #define _MAKE_CODEC_ID(id, name) \
37 VO_INDEX_DEC_##name = _VO_INDEX_DEC | id, \
38 VO_INDEX_ENC_##name = _VO_INDEX_ENC | id,
40 #define _MAKE_EFFECT_ID(id, name) \
41 VO_INDEX_EFT_##name = _VO_INDEX_EFFECT | id,
43 #define _MAKE_SINK_ID(id, name) \
44 VO_INDEX_SNK_##name = _VO_INDEX_SINK | id,
46 #define _MAKE_FILTER_ID(id, nam
[all...]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/
H A DCdmaInformationRecords.java40 int id = p.readInt();
41 switch (id) {
44 record = new CdmaDisplayInfoRec(id, p.readString());
50 record = new CdmaNumberInfoRec(id, p.readString(), p.readInt(), p.readInt(),
80 + CdmaInformationRecords.idToString(id) + " ");
85 public static String idToString(int id) { argument
86 switch(id) {
132 public int id; field in class:CdmaInformationRecords.CdmaDisplayInfoRec
135 public CdmaDisplayInfoRec(int id, String alpha) { argument
136 this.id
150 public int id; field in class:CdmaInformationRecords.CdmaNumberInfoRec
157 CdmaNumberInfoRec(int id, String number, int numberType, int numberPlan, int pi, int si) argument
[all...]
/frameworks/support/v7/appcompat/tests/src/android/support/v7/app/
H A DDrawerLayoutDoubleTest.java54 mDrawerLayout = (CustomDrawerLayout) activity.findViewById(R.id.drawer_layout);
55 mStartDrawer = mDrawerLayout.findViewById(R.id.start_drawer);
56 mEndDrawer = mDrawerLayout.findViewById(R.id.end_drawer);
57 mContentView = mDrawerLayout.findViewById(R.id.content);
60 onView(withId(R.id.drawer_layout)).perform(closeDrawer(mStartDrawer));
61 onView(withId(R.id.drawer_layout)).perform(closeDrawer(mEndDrawer));
87 onView(withId(R.id.drawer_layout)).perform(openDrawer(mContentView));
95 onView(withId(R.id.drawer_layout)).perform(closeDrawer(mContentView));
103 onView(withId(R.id.drawer_layout)).perform(
118 onView(withId(R.id
[all...]

Completed in 552 milliseconds

1234567891011>>