Searched refs:id (Results 1 - 25 of 467) sorted by relevance

1234567891011>>

/development/ndk/platforms/android-3/include/linux/
H A Dpatchkey.h23 #define _PATCHKEY(id) (0xfd00|id)
25 #define _PATCHKEY(id) ((id<<8)|0x00fd)
H A Data.h241 #define ata_id_is_ata(id) (((id)[0] & (1 << 15)) == 0)
242 #define ata_id_is_cfa(id) ((id)[0] == 0x848A)
243 #define ata_id_is_sata(id) ((id)[93] == 0)
244 #define ata_id_rahead_enabled(id) ((id)[85] & (1 << 6))
245 #define ata_id_wcache_enabled(id) ((id)[8
[all...]
H A Dclk.h19 struct clk *clk_get(struct device *dev, const char *id);
H A Dkeychord.h23 __u16 id; member in struct:input_keychord
/development/ndk/platforms/android-3/include/linux/netfilter/
H A Dxt_realm.h16 u_int32_t id; member in struct:xt_realm_info
/development/ndk/platforms/android-3/arch-arm/include/asm/arch/
H A Dcpu.h23 #define IS_OMAP_CLASS(class, id) static inline int is_omap ##class (void) { return (GET_OMAP_CLASS == (id)) ? 1 : 0; }
27 #define IS_OMAP_SUBCLASS(subclass, id) static inline int is_omap ##subclass (void) { return (GET_OMAP_SUBCLASS == (id)) ? 1 : 0; }
39 #define IS_OMAP_TYPE(type, id) static inline int is_omap ##type (void) { return (GET_OMAP_TYPE == (id)) ? 1 : 0; }
/development/samples/ApiDemos/src/com/example/android/apis/view/
H A DSecureViewOverlay.java53 spoofLayout(findViewById(R.id.secure_view_overlay_description),
54 mActivity.findViewById(R.id.secure_view_description));
55 spoofLayout(findViewById(R.id.secure_view_overlay_button1),
56 mActivity.findViewById(R.id.secure_view_unsecure_button));
57 spoofLayout(findViewById(R.id.secure_view_overlay_button2),
58 mActivity.findViewById(R.id.secure_view_builtin_secure_button));
59 spoofLayout(findViewById(R.id.secure_view_overlay_button3),
60 mActivity.findViewById(R.id.secure_view_custom_secure_button));
H A DDragAndDropDemo.java36 TextView text = (TextView) findViewById(R.id.drag_text);
37 DraggableDot dot = (DraggableDot) findViewById(R.id.drag_dot_1);
39 dot = (DraggableDot) findViewById(R.id.drag_dot_2);
41 dot = (DraggableDot) findViewById(R.id.drag_dot_3);
44 mHiddenDot = (DraggableDot) findViewById(R.id.drag_dot_hidden);
47 mResultText = (TextView) findViewById(R.id.drag_result_text);
H A DRatingBar1.java40 mRatingText = (TextView) findViewById(R.id.rating);
44 mIndicatorRatingBar = (RatingBar) findViewById(R.id.indicator_ratingbar);
45 mSmallRatingBar = (RatingBar) findViewById(R.id.small_ratingbar);
48 ((RatingBar)findViewById(R.id.ratingbar1)).setOnRatingBarChangeListener(this);
49 ((RatingBar)findViewById(R.id.ratingbar2)).setOnRatingBarChangeListener(this);
H A DTabs1.java29 * for its indicators and views by id from a layout file ({@link TabSpec#setContent(int)}).
42 .setContent(R.id.view1));
45 .setContent(R.id.view2));
48 .setContent(R.id.view3));
H A DChronometerDemo.java42 mChronometer = (Chronometer) findViewById(R.id.chronometer);
45 button = (Button) findViewById(R.id.start);
48 button = (Button) findViewById(R.id.stop);
51 button = (Button) findViewById(R.id.reset);
54 button = (Button) findViewById(R.id.set_format);
57 button = (Button) findViewById(R.id.clear_format);
H A DSpinner1.java44 Spinner s1 = (Spinner) findViewById(R.id.spinner1);
52 AdapterView<?> parent, View view, int position, long id) {
53 showToast("Spinner1: position=" + position + " id=" + id);
61 Spinner s2 = (Spinner) findViewById(R.id.spinner2);
69 AdapterView<?> parent, View view, int position, long id) {
70 showToast("Spinner2: position=" + position + " id=" + id);
H A DFocus3.java34 mTopButton = (Button) findViewById(R.id.top);
35 mBottomButton = (Button) findViewById(R.id.bottom);
/development/samples/HelloEffects/src/com/example/android/mediafx/
H A DHelloEffects.java63 mEffectView = (GLSurfaceView) findViewById(R.id.effectsview);
67 mCurrentEffect = R.id.none;
99 case R.id.none:
102 case R.id.autofix:
108 case R.id.bw:
115 case R.id.brightness:
121 case R.id.contrast:
127 case R.id.crossprocess:
132 case R.id.documentary:
137 case R.id
[all...]
/development/ndk/platforms/android-3/include/sys/
H A Dipc.h37 extern key_t ftok(const char* path, int id);
/development/tools/findunused/
H A Dfind_unused_resources.rb16 @@layoutIdPattern = Regexp.new("android:id=\".*id/([_a-zA-Z0-9]*)\"")
24 Regexp.new("R.id.([_a-zA-Z0-9]+)"),
96 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|
[all...]
/development/samples/ApiDemos/src/com/example/android/apis/app/
H A DCustomTitle.java67 final TextView leftText = (TextView) findViewById(R.id.left_text);
68 final TextView rightText = (TextView) findViewById(R.id.right_text);
69 final EditText leftTextEdit = (EditText) findViewById(R.id.left_text_edit);
70 final EditText rightTextEdit = (EditText) findViewById(R.id.right_text_edit);
71 Button leftButton = (Button) findViewById(R.id.left_text_button);
72 Button rightButton = (Button) findViewById(R.id.right_text_button);
H A DActionBarDisplayOptions.java42 findViewById(R.id.toggle_home_as_up).setOnClickListener(this);
43 findViewById(R.id.toggle_show_home).setOnClickListener(this);
44 findViewById(R.id.toggle_use_logo).setOnClickListener(this);
45 findViewById(R.id.toggle_show_title).setOnClickListener(this);
46 findViewById(R.id.toggle_show_custom).setOnClickListener(this);
47 findViewById(R.id.toggle_navigation).setOnClickListener(this);
48 findViewById(R.id.cycle_custom_gravity).setOnClickListener(this);
71 case R.id.toggle_home_as_up:
74 case R.id.toggle_show_home:
77 case R.id
[all...]
H A DSaveRestoreState.java45 * system takes care of saving a view's state as long as an id has been
81 ((TextView)findViewById(R.id.msg)).setText(R.string.save_restore_msg);
88 return ((EditText)findViewById(R.id.saved)).getText();
95 ((EditText)findViewById(R.id.saved)).setText(text);
H A DFragmentContextMenu.java45 getFragmentManager().beginTransaction().add(android.R.id.content, content).commit();
54 registerForContextMenu(root.findViewById(R.id.long_press));
61 menu.add(Menu.NONE, R.id.a_item, Menu.NONE, "Menu A");
62 menu.add(Menu.NONE, R.id.b_item, Menu.NONE, "Menu B");
68 case R.id.a_item:
71 case R.id.b_item:
H A DFragmentHideShow.java46 addShowHideListener(R.id.frag1hide, fm.findFragmentById(R.id.fragment1));
47 addShowHideListener(R.id.frag2hide, fm.findFragmentById(R.id.fragment2));
76 View tv = v.findViewById(R.id.msg);
80 mTextView = (TextView)v.findViewById(R.id.saved);
102 View tv = v.findViewById(R.id.msg);
109 ((TextView)v.findViewById(R.id.saved)).setSaveEnabled(true);
/development/ndk/platforms/android-9/samples/native-audio/src/com/example/nativeaudio/
H A DNativeAudio.java65 Spinner uriSpinner = (Spinner) findViewById(R.id.uri_spinner);
72 public void onItemSelected(AdapterView<?> parent, View view, int pos, long id) {
84 ((Button) findViewById(R.id.hello)).setOnClickListener(new OnClickListener() {
91 ((Button) findViewById(R.id.android)).setOnClickListener(new OnClickListener() {
98 ((Button) findViewById(R.id.sawtooth)).setOnClickListener(new OnClickListener() {
105 ((Button) findViewById(R.id.reverb)).setOnClickListener(new OnClickListener() {
115 ((Button) findViewById(R.id.embedded_soundtrack)).setOnClickListener(new OnClickListener() {
128 ((Button) findViewById(R.id.uri_soundtrack)).setOnClickListener(new OnClickListener() {
137 ((Button) findViewById(R.id.pause_uri)).setOnClickListener(new OnClickListener() {
143 ((Button) findViewById(R.id
[all...]
/development/samples/training/AnimationsDemo/src/com/example/android/animationsdemo/
H A DLayoutChangesActivity.java50 mContainerView = (ViewGroup) findViewById(R.id.container);
63 case android.R.id.home:
69 case R.id.action_add_item:
71 findViewById(android.R.id.empty).setVisibility(View.GONE);
85 ((TextView) newView.findViewById(android.R.id.text1)).setText(
89 newView.findViewById(R.id.delete_button).setOnClickListener(new View.OnClickListener() {
99 findViewById(android.R.id.empty).setVisibility(View.VISIBLE);
/development/samples/ActionBarCompat/src/com/example/android/actionbarcompat/
H A DMainActivity.java33 findViewById(R.id.toggle_title).setOnClickListener(new View.OnClickListener() {
59 case android.R.id.home:
63 case R.id.menu_refresh:
75 case R.id.menu_search:
79 case R.id.menu_share:
/development/samples/Support4Demos/src/com/example/android/supportv4/app/
H A DFragmentContextMenuSupport.java45 android.R.id.content, content).commit();
54 registerForContextMenu(root.findViewById(R.id.long_press));
61 menu.add(Menu.NONE, R.id.a_item, Menu.NONE, "Menu A");
62 menu.add(Menu.NONE, R.id.b_item, Menu.NONE, "Menu B");
68 case R.id.a_item:
71 case R.id.b_item:

Completed in 562 milliseconds

1234567891011>>