Home
last modified time | relevance | path

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

12345678910>>...33

/development/ndk/platforms/android-9/include/linux/
Data.h241 #define ata_id_is_ata(id) (((id)[0] & (1 << 15)) == 0) argument
242 #define ata_id_is_cfa(id) ((id)[0] == 0x848A) argument
243 #define ata_id_is_sata(id) ((id)[93] == 0) argument
244 #define ata_id_rahead_enabled(id) ((id)[85] & (1 << 6)) argument
245 #define ata_id_wcache_enabled(id) ((id)[85] & (1 << 5)) argument
246 #define ata_id_hpa_enabled(id) ((id)[85] & (1 << 10)) argument
247 #define ata_id_has_fua(id) ((id)[84] & (1 << 6)) argument
248 #define ata_id_has_flush(id) ((id)[83] & (1 << 12)) argument
249 #define ata_id_has_flush_ext(id) ((id)[83] & (1 << 13)) argument
250 #define ata_id_has_lba48(id) ((id)[83] & (1 << 10)) argument
[all …]
Dpatchkey.h23 #define _PATCHKEY(id) (0xfd00|id) argument
25 #define _PATCHKEY(id) ((id<<8)|0x00fd) argument
/development/tools/findunused/
Dfind_unused_resources.rb96 findAllOccurrences(re, line).each { |id|
97 @@globalJavaIdUses[id] = FilePosition.new(filename, file.lineno)
115 findAllOccurrences(@@stringIdPattern, line).each {|id|
116 strings[id] = FilePosition.new(filename, file.lineno)
118 findAllOccurrences(@@layoutIdPattern, line).each {|id|
119 layouts[id] = FilePosition.new(filename, file.lineno)
122 findAllOccurrences(re, line).each {|id|
123 xmlIdUses[id] = FilePosition.new(filename, file.lineno)
135 findAllOccurrences(re, line).each {|id|
136 xmlIdUses[id] = FilePosition.new(filename, file.lineno)
[all …]
/development/samples/browseable/Geofencing/Application/src/com.example.android.wearable.geofencing/
DSimpleGeofenceStore.java54 public SimpleGeofence getGeofence(String id) { in getGeofence() argument
57 double lat = mPrefs.getFloat(getGeofenceFieldKey(id, KEY_LATITUDE), in getGeofence()
59 double lng = mPrefs.getFloat(getGeofenceFieldKey(id, KEY_LONGITUDE), in getGeofence()
61 float radius = mPrefs.getFloat(getGeofenceFieldKey(id, KEY_RADIUS), in getGeofence()
64 mPrefs.getLong(getGeofenceFieldKey(id, KEY_EXPIRATION_DURATION), in getGeofence()
66 int transitionType = mPrefs.getInt(getGeofenceFieldKey(id, KEY_TRANSITION_TYPE), in getGeofence()
74 return new SimpleGeofence(id, lat, lng, radius, expirationDuration, transitionType); in getGeofence()
84 public void setGeofence(String id, SimpleGeofence geofence) { in setGeofence() argument
89 prefs.putFloat(getGeofenceFieldKey(id, KEY_LATITUDE), (float) geofence.getLatitude()); in setGeofence()
90 prefs.putFloat(getGeofenceFieldKey(id, KEY_LONGITUDE), (float) geofence.getLongitude()); in setGeofence()
[all …]
/development/ndk/platforms/android-21/include/linux/
Dadb.h22 #define ADB_FLUSH(id) (0x01 | ((id) << 4)) argument
24 #define ADB_WRITEREG(id, reg) (0x08 | (reg) | ((id) << 4)) argument
25 #define ADB_READREG(id, reg) (0x0C | (reg) | ((id) << 4)) argument
Dpatchkey.h29 #define _PATCHKEY(id) (0xfd00|id) argument
31 #define _PATCHKEY(id) ((id<<8)|0x00fd) argument
Dzorro.h22 #define ZORRO_MANUF(id) ((id) >> 16) argument
24 #define ZORRO_PROD(id) (((id) >> 8) & 0xff) argument
25 #define ZORRO_EPC(id) ((id) & 0xff) argument
/development/samples/HelloEffects/src/com/example/android/mediafx/
DHelloEffects.java63 mEffectView = (GLSurfaceView) findViewById(R.id.effectsview); in onCreate()
67 mCurrentEffect = R.id.none; in onCreate()
99 case R.id.none: in initEffect()
102 case R.id.autofix: in initEffect()
108 case R.id.bw: in initEffect()
115 case R.id.brightness: in initEffect()
121 case R.id.contrast: in initEffect()
127 case R.id.crossprocess: in initEffect()
132 case R.id.documentary: in initEffect()
137 case R.id.duotone: in initEffect()
[all …]
/development/samples/ApiDemos/src/com/example/android/apis/animation/
DActivityTransition.java55 R.id.ball,
56 R.id.block,
57 R.id.ducky,
58 R.id.jellies,
59 R.id.mug,
60 R.id.pencil,
61 R.id.scissors,
62 R.id.woot,
76 public static int getIdForKey(String id) { in getIdForKey() argument
77 return IDS[getIndexForKey(id)]; in getIdForKey()
[all …]
DTransitions.java44 mSceneRoot = (ViewGroup) findViewById(R.id.sceneRoot); in onCreate()
62 case R.id.scene1: in selectScene()
65 case R.id.scene2: in selectScene()
68 case R.id.scene3: in selectScene()
71 case R.id.scene4: in selectScene()
76 setNewSize(R.id.view1, 150, 25); in selectScene()
77 setNewSize(R.id.view2, 150, 25); in selectScene()
78 setNewSize(R.id.view3, 150, 25); in selectScene()
79 setNewSize(R.id.view4, 150, 25); in selectScene()
84 private void setNewSize(int id, int width, int height) { in setNewSize() argument
[all …]
/development/samples/browseable/MediaEffects/src/com.example.android.mediaeffects/
DMediaEffectsFragment.java69 mEffectView = (GLSurfaceView) view.findViewById(R.id.effectsview); in onViewCreated()
76 setCurrentEffect(R.id.none); in onViewCreated()
118 if (mCurrentEffect != R.id.none) { in onDrawFrame()
156 case R.id.none: in initEffect()
159 case R.id.autofix: in initEffect()
164 case R.id.bw: in initEffect()
170 case R.id.brightness: in initEffect()
175 case R.id.contrast: in initEffect()
180 case R.id.crossprocess: in initEffect()
184 case R.id.documentary: in initEffect()
[all …]
/development/samples/browseable/NfcProvisioning/src/com.example.android.nfcprovisioning/
DNfcProvisioningFragment.java76 mEditPackageName = (EditText) view.findViewById(R.id.package_name); in onViewCreated()
77 mEditLocale = (EditText) view.findViewById(R.id.locale); in onViewCreated()
78 mEditTimezone = (EditText) view.findViewById(R.id.timezone); in onViewCreated()
79 mEditWifiSsid = (EditText) view.findViewById(R.id.wifi_ssid); in onViewCreated()
80 mEditWifiSecurityType = (EditText) view.findViewById(R.id.wifi_security_type); in onViewCreated()
81 mEditWifiPassword = (EditText) view.findViewById(R.id.wifi_password); in onViewCreated()
83 mEditPackageName.addTextChangedListener(new TextWatcherWrapper(R.id.package_name, this)); in onViewCreated()
84 mEditLocale.addTextChangedListener(new TextWatcherWrapper(R.id.locale, this)); in onViewCreated()
85 mEditTimezone.addTextChangedListener(new TextWatcherWrapper(R.id.timezone, this)); in onViewCreated()
86 mEditWifiSsid.addTextChangedListener(new TextWatcherWrapper(R.id.wifi_ssid, this)); in onViewCreated()
[all …]
/development/samples/ApiDemos/src/com/example/android/apis/app/
DActionBarDisplayOptions.java46 findViewById(R.id.toggle_home_as_up).setOnClickListener(this); in onCreate()
47 findViewById(R.id.toggle_show_home).setOnClickListener(this); in onCreate()
48 findViewById(R.id.toggle_use_logo).setOnClickListener(this); in onCreate()
49 findViewById(R.id.toggle_show_title).setOnClickListener(this); in onCreate()
50 findViewById(R.id.toggle_show_custom).setOnClickListener(this); in onCreate()
51 findViewById(R.id.cycle_custom_gravity).setOnClickListener(this); in onCreate()
52 findViewById(R.id.toggle_visibility).setOnClickListener(this); in onCreate()
53 findViewById(R.id.toggle_system_ui).setOnClickListener(this); in onCreate()
55 ((Spinner) findViewById(R.id.toggle_navigation)).setOnItemSelectedListener(this); in onCreate()
86 case R.id.toggle_home_as_up: in onClick()
[all …]
/development/ndk/platforms/android-9/arch-arm/include/asm/arch/
Dcpu.h23 #define IS_OMAP_CLASS(class, id) static inline int is_omap ##class (void) { return (GET_OMAP_CL… argument
27 …efine IS_OMAP_SUBCLASS(subclass, id) static inline int is_omap ##subclass (void) { return (GET… argument
39 #define IS_OMAP_TYPE(type, id) static inline int is_omap ##type (void) { return (GET_OMAP_TYPE … argument
/development/samples/training/InteractiveChart/src/com/example/android/interactivechart/
DMainActivity.java30 mGraphView = (InteractiveLineGraphView) findViewById(R.id.chart); in onCreate()
43 case R.id.action_zoom_in: in onOptionsItemSelected()
47 case R.id.action_zoom_out: in onOptionsItemSelected()
51 case R.id.action_pan_left: in onOptionsItemSelected()
55 case R.id.action_pan_right: in onOptionsItemSelected()
59 case R.id.action_pan_up: in onOptionsItemSelected()
63 case R.id.action_pan_down: in onOptionsItemSelected()
/development/tutorials/MoarRam/jni/
Dbaz.c36 jint id) in Java_com_android_benchmark_moarram_MainActivity_addVariableSizedBlocksNative() argument
41 if (id == 0) { in Java_com_android_benchmark_moarram_MainActivity_addVariableSizedBlocksNative()
52 id == 0 ? ++num17ByteBlocks : ++num71ByteBlocks, in Java_com_android_benchmark_moarram_MainActivity_addVariableSizedBlocksNative()
60 jint id) in Java_com_android_benchmark_moarram_MainActivity_freeVariableSizedBlocksNative() argument
65 if (id == 0) { in Java_com_android_benchmark_moarram_MainActivity_freeVariableSizedBlocksNative()
80 id == 0 ? --num17ByteBlocks : --num71ByteBlocks, in Java_com_android_benchmark_moarram_MainActivity_freeVariableSizedBlocksNative()
/development/samples/ControllerSample/src/com/example/inputmanagercompat/
DInputManagerV9.java68 int id = imv.mDevices.keyAt(i); in handleMessage() local
69 if (null == InputDevice.getDevice(id)) { in handleMessage()
71 imv.notifyListeners(ON_DEVICE_REMOVED, id); in handleMessage()
72 imv.mDevices.remove(id); in handleMessage()
98 public InputDevice getInputDevice(int id) { in getInputDevice() argument
99 return InputDevice.getDevice(id); in getInputDevice()
108 for ( int id : activeDevices ) { in getInputDeviceIds()
109 long[] lastContact = mDevices.get(id); in getInputDeviceIds()
112 mDevices.put(id, new long[] { time }); in getInputDeviceIds()
154 static DeviceEvent getDeviceEvent(int messageType, int id, in getDeviceEvent() argument
[all …]
/development/samples/ApiDemos/src/com/example/android/apis/view/
DSecureViewOverlay.java53 spoofLayout(findViewById(R.id.secure_view_overlay_description), in onLayout()
54 mActivity.findViewById(R.id.secure_view_description)); in onLayout()
55 spoofLayout(findViewById(R.id.secure_view_overlay_button1), in onLayout()
56 mActivity.findViewById(R.id.secure_view_unsecure_button)); in onLayout()
57 spoofLayout(findViewById(R.id.secure_view_overlay_button2), in onLayout()
58 mActivity.findViewById(R.id.secure_view_builtin_secure_button)); in onLayout()
59 spoofLayout(findViewById(R.id.secure_view_overlay_button3), in onLayout()
60 mActivity.findViewById(R.id.secure_view_custom_secure_button)); in onLayout()
/development/samples/MultiWindow/src/com/example/android/multiwindow/
DLaunchingAdjacentActivity.java36 findViewById(R.id.launch_settings_adjacent).setOnClickListener(this); in onCreate()
37 findViewById(R.id.launch_new_task_single).setOnClickListener(this); in onCreate()
38 findViewById(R.id.launch_new_task_multiple).setOnClickListener(this); in onCreate()
39 findViewById(R.id.launch_new_task_adjacent).setOnClickListener(this); in onCreate()
45 ((TextView) findViewById(R.id.instance_number)) in onCreate()
52 case R.id.launch_settings_adjacent: { in onClick()
59 case R.id.launch_new_task_single: { in onClick()
65 case R.id.launch_new_task_multiple: { in onClick()
71 case R.id.launch_new_task_adjacent: { in onClick()
/development/apps/Development/src/com/android/development/
DConnectivity.java381 addRequestableNetwork(NET_CAPABILITY_MMS, R.id.request_mms, R.id.release_mms, in Connectivity()
382 R.id.mms_progress); in Connectivity()
383 addRequestableNetwork(NET_CAPABILITY_SUPL, R.id.request_supl, R.id.release_supl, in Connectivity()
384 R.id.supl_progress); in Connectivity()
385 addRequestableNetwork(NET_CAPABILITY_INTERNET, R.id.request_cell, R.id.release_cell, in Connectivity()
386 R.id.cell_progress); in Connectivity()
395 R.id.request_wifi, R.id.release_wifi, R.id.wifi_progress)); in Connectivity()
414 findViewById(R.id.enableWifi).setOnClickListener(mClickListener); in onCreate()
415 findViewById(R.id.disableWifi).setOnClickListener(mClickListener); in onCreate()
416 findViewById(R.id.acquireWifiMulticastLock).setOnClickListener(mClickListener); in onCreate()
[all …]
/development/samples/browseable/DirectBoot/src/com.example.android.directboot/alarms/
DAlarm.java32 public int id; field in Alarm
43 public Alarm(int id, int month, int date, int hour, int minute) { in Alarm() argument
44 this.id = id; in Alarm()
62 jsonObject.put("id", id); in toJson()
84 alarm.id = jsonObject.getInt("id"); in fromJson()
99 "id=" + id + in toString()
116 return id == alarm.id && in equals()
125 return Objects.hash(id, month, date, hour, minute); in hashCode()
/development/samples/SampleSyncAdapter/samplesyncadapter_server/
Ddashboard.py102 id = int(self.request.get('id'))
103 contact = datastore.Contact.get(db.Key.from_path('Contact', id))
104 self.send_form('Edit Contact', '/edit_contact', id, contact.handle,
108 id = int(self.request.get('id'))
109 contact = datastore.Contact.get(db.Key.from_path('Contact', id))
119 self.send_form('Edit Contact', '/edit_contact', id, contact.handle, data)
125 id = int(self.request.get('id'))
126 contact = datastore.Contact.get(db.Key.from_path('Contact', id))
142 id = int(self.request.get('id'))
143 contact = datastore.Contact.get(db.Key.from_path('Contact', id))
[all …]
/development/samples/browseable/BasicMultitouch/src/com.example.android.basicmultitouch/
DTouchDisplayView.java152 int id = event.getPointerId(0); in onTouchEvent() local
163 mTouches.put(id, data); in onTouchEvent()
182 int id = event.getPointerId(index); in onTouchEvent() local
186 data.label = "id: " + id; in onTouchEvent()
194 mTouches.put(id, data); in onTouchEvent()
210 int id = event.getPointerId(0); in onTouchEvent() local
211 TouchHistory data = mTouches.get(id); in onTouchEvent()
212 mTouches.remove(id); in onTouchEvent()
232 int id = event.getPointerId(index); in onTouchEvent() local
234 TouchHistory data = mTouches.get(id); in onTouchEvent()
[all …]
/development/samples/browseable/BasicTransition/src/com.example.android.basictransition/
DBasicTransitionFragment.java55 RadioGroup radioGroup = (RadioGroup) view.findViewById(R.id.select_scene); in onCreateView()
57 mSceneRoot = (ViewGroup) view.findViewById(R.id.scene_root); in onCreateView()
61 mScene1 = new Scene(mSceneRoot, (ViewGroup) mSceneRoot.findViewById(R.id.container)); in onCreateView()
85 case R.id.select_scene_1: { in onCheckedChanged()
92 case R.id.select_scene_2: { in onCheckedChanged()
96 case R.id.select_scene_3: { in onCheckedChanged()
103 case R.id.select_scene_4: { in onCheckedChanged()
109 View square = mSceneRoot.findViewById(R.id.transition_square); in onCheckedChanged()
/development/apps/PushApiAuthenticator/src/com/example/android/pushapiauthenticator/
DMainActivity.java65 final Button getAllRequestingApps = (Button) findViewById(R.id.getallrequestingapps); in onCreate()
66 final TextView getAllRequesting3pUids = (TextView) findViewById(R.id.requestingapps); in onCreate()
68 final RadioGroup accountChooser = (RadioGroup) findViewById(R.id.accountGroup); in onCreate()
69 final RadioGroup optionChooser = (RadioGroup) findViewById(R.id.optionsGroup); in onCreate()
70 final RadioGroup packagesChooser = (RadioGroup) findViewById(R.id.packagesChooser); in onCreate()
71 final Button selectOption = (Button) findViewById(R.id.selectoptionbutton); in onCreate()
72 final TextView authStatus = (TextView) findViewById(R.id.authenticatorstatus); in onCreate()
141 if (checkedAccount == R.id.terrabutton) { in onCreate()
143 } else if (checkedAccount == R.id.aquabutton) { in onCreate()
145 } else if (checkedAccount == R.id.ventusbutton) { in onCreate()
[all …]

12345678910>>...33