Home
last modified time | relevance | path

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

12345678910>>...20

/development/ndk/platforms/android-3/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/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/app/
DActionBarDisplayOptions.java42 findViewById(R.id.toggle_home_as_up).setOnClickListener(this); in onCreate()
43 findViewById(R.id.toggle_show_home).setOnClickListener(this); in onCreate()
44 findViewById(R.id.toggle_use_logo).setOnClickListener(this); in onCreate()
45 findViewById(R.id.toggle_show_title).setOnClickListener(this); in onCreate()
46 findViewById(R.id.toggle_show_custom).setOnClickListener(this); in onCreate()
47 findViewById(R.id.toggle_navigation).setOnClickListener(this); in onCreate()
48 findViewById(R.id.cycle_custom_gravity).setOnClickListener(this); in onCreate()
49 findViewById(R.id.toggle_visibility).setOnClickListener(this); in onCreate()
50 findViewById(R.id.toggle_system_ui).setOnClickListener(this); in onCreate()
73 case R.id.toggle_home_as_up: in onClick()
[all …]
DCustomTitle.java67 final TextView leftText = (TextView) findViewById(R.id.left_text); in onCreate()
68 final TextView rightText = (TextView) findViewById(R.id.right_text); in onCreate()
69 final EditText leftTextEdit = (EditText) findViewById(R.id.left_text_edit); in onCreate()
70 final EditText rightTextEdit = (EditText) findViewById(R.id.right_text_edit); in onCreate()
71 Button leftButton = (Button) findViewById(R.id.left_text_button); in onCreate()
72 Button rightButton = (Button) findViewById(R.id.right_text_button); in onCreate()
DAnimation.java45 Button button = (Button)findViewById(R.id.fade_animation); in onCreate()
47 button = (Button)findViewById(R.id.zoom_animation); in onCreate()
50 button = (Button)findViewById(R.id.modern_fade_animation); in onCreate()
52 button = (Button)findViewById(R.id.modern_zoom_animation); in onCreate()
54 button = (Button)findViewById(R.id.scale_up_animation); in onCreate()
56 button = (Button)findViewById(R.id.zoom_thumbnail_animation); in onCreate()
59 findViewById(R.id.modern_fade_animation).setEnabled(false); in onCreate()
60 findViewById(R.id.modern_zoom_animation).setEnabled(false); in onCreate()
61 findViewById(R.id.scale_up_animation).setEnabled(false); in onCreate()
62 findViewById(R.id.zoom_thumbnail_animation).setEnabled(false); in onCreate()
DMenuInflateFromXml.java89 mSpinner.setId(R.id.spinner); in onCreate()
93 public void onItemSelected(AdapterView<?> parent, View view, int position, long id) { in onCreate()
144 case R.id.jump: in onOptionsItemSelected()
149 case R.id.dive: in onOptionsItemSelected()
155 case R.id.browser_visibility: in onOptionsItemSelected()
157 final boolean shouldShowBrowser = !mMenu.findItem(R.id.refresh).isVisible(); in onOptionsItemSelected()
158 mMenu.setGroupVisible(R.id.browser, shouldShowBrowser); in onOptionsItemSelected()
161 case R.id.email_visibility: in onOptionsItemSelected()
163 final boolean shouldShowEmail = !mMenu.findItem(R.id.reply).isVisible(); in onOptionsItemSelected()
164 mMenu.setGroupVisible(R.id.email, shouldShowEmail); in onOptionsItemSelected()
DFragmentHideShow.java46 addShowHideListener(R.id.frag1hide, fm.findFragmentById(R.id.fragment1)); in onCreate()
47 addShowHideListener(R.id.frag2hide, fm.findFragmentById(R.id.fragment2)); in onCreate()
76 View tv = v.findViewById(R.id.msg); in onCreateView()
80 mTextView = (TextView)v.findViewById(R.id.saved); in onCreateView()
102 View tv = v.findViewById(R.id.msg); in onCreateView()
109 ((TextView)v.findViewById(R.id.saved)).setSaveEnabled(true); in onCreateView()
DFragmentContextMenu.java45 getFragmentManager().beginTransaction().add(android.R.id.content, content).commit(); in onCreate()
54 registerForContextMenu(root.findViewById(R.id.long_press)); in onCreateView()
61 menu.add(Menu.NONE, R.id.a_item, Menu.NONE, "Menu A"); in onCreateContextMenu()
62 menu.add(Menu.NONE, R.id.b_item, Menu.NONE, "Menu B"); in onCreateContextMenu()
68 case R.id.a_item: in onContextItemSelected()
71 case R.id.b_item: in onContextItemSelected()
/development/ndk/platforms/android-3/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/samples/Support7Demos/src/com/example/android/supportv7/app/
DActionBarDisplayOptions.java43 findViewById(R.id.toggle_home_as_up).setOnClickListener(this); in onCreate()
44 findViewById(R.id.toggle_show_home).setOnClickListener(this); in onCreate()
45 findViewById(R.id.toggle_use_logo).setOnClickListener(this); in onCreate()
46 findViewById(R.id.toggle_show_title).setOnClickListener(this); in onCreate()
47 findViewById(R.id.toggle_show_custom).setOnClickListener(this); in onCreate()
48 findViewById(R.id.toggle_navigation).setOnClickListener(this); in onCreate()
49 findViewById(R.id.cycle_custom_gravity).setOnClickListener(this); in onCreate()
50 findViewById(R.id.toggle_visibility).setOnClickListener(this); in onCreate()
81 case R.id.toggle_home_as_up: in onClick()
84 case R.id.toggle_show_home: in onClick()
[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()
DDragAndDropDemo.java36 TextView text = (TextView) findViewById(R.id.drag_text); in onCreate()
37 DraggableDot dot = (DraggableDot) findViewById(R.id.drag_dot_1); in onCreate()
39 dot = (DraggableDot) findViewById(R.id.drag_dot_2); in onCreate()
41 dot = (DraggableDot) findViewById(R.id.drag_dot_3); in onCreate()
44 mHiddenDot = (DraggableDot) findViewById(R.id.drag_dot_hidden); in onCreate()
47 mResultText = (TextView) findViewById(R.id.drag_result_text); in onCreate()
DChronometerDemo.java42 mChronometer = (Chronometer) findViewById(R.id.chronometer); in onCreate()
45 button = (Button) findViewById(R.id.start); in onCreate()
48 button = (Button) findViewById(R.id.stop); in onCreate()
51 button = (Button) findViewById(R.id.reset); in onCreate()
54 button = (Button) findViewById(R.id.set_format); in onCreate()
57 button = (Button) findViewById(R.id.clear_format); in onCreate()
DSpinner1.java44 Spinner s1 = (Spinner) findViewById(R.id.spinner1); in onCreate()
52 AdapterView<?> parent, View view, int position, long id) { in onCreate()
53 showToast("Spinner1: position=" + position + " id=" + id); in onCreate()
61 Spinner s2 = (Spinner) findViewById(R.id.spinner2); in onCreate()
69 AdapterView<?> parent, View view, int position, long id) { in onCreate()
70 showToast("Spinner2: position=" + position + " id=" + id); in onCreate()
DRatingBar1.java40 mRatingText = (TextView) findViewById(R.id.rating); in onCreate()
44 mIndicatorRatingBar = (RatingBar) findViewById(R.id.indicator_ratingbar); in onCreate()
45 mSmallRatingBar = (RatingBar) findViewById(R.id.small_ratingbar); in onCreate()
48 ((RatingBar)findViewById(R.id.ratingbar1)).setOnRatingBarChangeListener(this); in onCreate()
49 ((RatingBar)findViewById(R.id.ratingbar2)).setOnRatingBarChangeListener(this); in onCreate()
/development/ndk/platforms/android-9/samples/native-audio/src/com/example/nativeaudio/
DNativeAudio.java65 Spinner uriSpinner = (Spinner) findViewById(R.id.uri_spinner); in onCreate()
72 public void onItemSelected(AdapterView<?> parent, View view, int pos, long id) { in onCreate()
84 ((Button) findViewById(R.id.hello)).setOnClickListener(new OnClickListener() { in onCreate()
91 ((Button) findViewById(R.id.android)).setOnClickListener(new OnClickListener() { in onCreate()
98 ((Button) findViewById(R.id.sawtooth)).setOnClickListener(new OnClickListener() { in onCreate()
105 ((Button) findViewById(R.id.reverb)).setOnClickListener(new OnClickListener() { in onCreate()
115 ((Button) findViewById(R.id.embedded_soundtrack)).setOnClickListener(new OnClickListener() { in onCreate()
128 ((Button) findViewById(R.id.uri_soundtrack)).setOnClickListener(new OnClickListener() { in onCreate()
137 ((Button) findViewById(R.id.pause_uri)).setOnClickListener(new OnClickListener() { in onCreate()
143 ((Button) findViewById(R.id.play_uri)).setOnClickListener(new OnClickListener() { in onCreate()
[all …]
/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/apps/Development/src/com/android/development/
DConnectivity.java258 findViewById(R.id.enableWifi).setOnClickListener(mClickListener); in onCreate()
259 findViewById(R.id.disableWifi).setOnClickListener(mClickListener); in onCreate()
261 findViewById(R.id.startDelayedCycle).setOnClickListener(mClickListener); in onCreate()
262 findViewById(R.id.stopDelayedCycle).setOnClickListener(mClickListener); in onCreate()
263 mDCOnDurationEdit = (EditText)findViewById(R.id.dc_wifi_on_duration); in onCreate()
265 mDCOffDurationEdit = (EditText)findViewById(R.id.dc_wifi_off_duration); in onCreate()
267 mDCCycleCountView = (TextView)findViewById(R.id.dc_wifi_cycles_done); in onCreate()
270 findViewById(R.id.startScreenCycle).setOnClickListener(mClickListener); in onCreate()
271 findViewById(R.id.stopScreenCycle).setOnClickListener(mClickListener); in onCreate()
272 mSCOnDurationEdit = (EditText)findViewById(R.id.sc_wifi_on_duration); in onCreate()
[all …]
DShowActivity.java56 mPackage = (TextView)findViewById(R.id.packageView); in onCreate()
57 mIconImage = (ImageView)findViewById(R.id.icon); in onCreate()
58 mClass = (TextView)findViewById(R.id.classView); in onCreate()
59 mLabel = (TextView)findViewById(R.id.label); in onCreate()
60 mLaunch = (TextView)findViewById(R.id.launch); in onCreate()
61 mProcess = (TextView)findViewById(R.id.process); in onCreate()
62 mTaskAffinity = (TextView)findViewById(R.id.taskAffinity); in onCreate()
63 mPermission = (TextView)findViewById(R.id.permission); in onCreate()
64 mMultiprocess = (TextView)findViewById(R.id.multiprocess); in onCreate()
65 mClearOnBackground = (TextView)findViewById(R.id.clearOnBackground); in onCreate()
[all …]
DPackageSummary.java69 mPackage = (TextView)findViewById(R.id.packageView); in onCreate()
70 mIconImage = (ImageView)findViewById(R.id.icon); in onCreate()
71 mClass = (TextView)findViewById(R.id.classView); in onCreate()
72 mLabel = (TextView)findViewById(R.id.label); in onCreate()
73 mDisabled = findViewById(R.id.disabled); in onCreate()
74 mSystem = findViewById(R.id.system); in onCreate()
75 mDebuggable = findViewById(R.id.debuggable); in onCreate()
76 mNoCode = findViewById(R.id.nocode); in onCreate()
77 mPersistent = findViewById(R.id.persistent); in onCreate()
78 mRestart = (Button)findViewById(R.id.restart); in onCreate()
[all …]
/development/samples/training/AnimationsDemo/src/com/example/android/animationsdemo/
DLayoutChangesActivity.java50 mContainerView = (ViewGroup) findViewById(R.id.container); in onCreate()
63 case android.R.id.home: in onOptionsItemSelected()
69 case R.id.action_add_item: in onOptionsItemSelected()
71 findViewById(android.R.id.empty).setVisibility(View.GONE); in onOptionsItemSelected()
85 ((TextView) newView.findViewById(android.R.id.text1)).setText( in addItem()
89 newView.findViewById(R.id.delete_button).setOnClickListener(new View.OnClickListener() { in addItem()
99 findViewById(android.R.id.empty).setVisibility(View.VISIBLE); in addItem()
/development/samples/Support4Demos/src/com/example/android/supportv4/app/
DFragmentContextMenuSupport.java45 android.R.id.content, content).commit(); in onCreate()
54 registerForContextMenu(root.findViewById(R.id.long_press)); in onCreateView()
61 menu.add(Menu.NONE, R.id.a_item, Menu.NONE, "Menu A"); in onCreateContextMenu()
62 menu.add(Menu.NONE, R.id.b_item, Menu.NONE, "Menu B"); in onCreateContextMenu()
68 case R.id.a_item: in onContextItemSelected()
71 case R.id.b_item: in onContextItemSelected()

12345678910>>...20