/development/ndk/platforms/android-3/include/linux/ |
D | ata.h | 241 #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 …]
|
D | patchkey.h | 23 #define _PATCHKEY(id) (0xfd00|id) argument 25 #define _PATCHKEY(id) ((id<<8)|0x00fd) argument
|
/development/tools/findunused/ |
D | find_unused_resources.rb | 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| 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/ |
D | HelloEffects.java | 63 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/ |
D | ActionBarDisplayOptions.java | 42 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 …]
|
D | CustomTitle.java | 67 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()
|
D | Animation.java | 45 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()
|
D | MenuInflateFromXml.java | 89 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()
|
D | FragmentHideShow.java | 46 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()
|
/development/samples/ApiDemos/src/com/example/android/apis/animation/ |
D | Transitions.java | 44 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/ndk/platforms/android-3/arch-arm/include/asm/arch/ |
D | cpu.h | 23 #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/ |
D | MainActivity.java | 30 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/ |
D | ActionBarDisplayOptions.java | 43 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/tutorials/MoarRam/jni/ |
D | baz.c | 35 jint id) in Java_com_android_benchmark_moarram_MainActivity_addVariableSizedBlocksNative() argument 40 if (id == 0) { in Java_com_android_benchmark_moarram_MainActivity_addVariableSizedBlocksNative() 51 id == 0 ? ++num17ByteBlocks : ++num71ByteBlocks, in Java_com_android_benchmark_moarram_MainActivity_addVariableSizedBlocksNative() 59 jint id) in Java_com_android_benchmark_moarram_MainActivity_freeVariableSizedBlocksNative() argument 64 if (id == 0) { in Java_com_android_benchmark_moarram_MainActivity_freeVariableSizedBlocksNative() 79 id == 0 ? --num17ByteBlocks : --num71ByteBlocks, in Java_com_android_benchmark_moarram_MainActivity_freeVariableSizedBlocksNative()
|
/development/samples/ApiDemos/src/com/example/android/apis/view/ |
D | SecureViewOverlay.java | 53 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()
|
D | DragAndDropDemo.java | 36 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()
|
D | DateWidgets1.java | 64 mDateDisplay = (TextView) findViewById(R.id.dateDisplay); in onCreate() 66 setDialogOnClickListener(R.id.pickDate, DATE_DIALOG_ID); in onCreate() 67 setDialogOnClickListener(R.id.pickTime12, TIME_12_DIALOG_ID); in onCreate() 68 setDialogOnClickListener(R.id.pickTime24, TIME_24_DIALOG_ID); in onCreate() 90 protected Dialog onCreateDialog(int id) { in onCreateDialog() argument 91 switch (id) { in onCreateDialog() 95 mTimeSetListener, mHour, mMinute, id == TIME_24_DIALOG_ID); in onCreateDialog() 105 protected void onPrepareDialog(int id, Dialog dialog) { in onPrepareDialog() argument 106 switch (id) { in onPrepareDialog()
|
/development/samples/ControllerSample/src/com/example/inputmanagercompat/ |
D | InputManagerV9.java | 68 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/ndk/platforms/android-9/samples/native-audio/src/com/example/nativeaudio/ |
D | NativeAudio.java | 65 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/ |
D | dashboard.py | 102 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/ |
D | Connectivity.java | 261 findViewById(R.id.enableWifi).setOnClickListener(mClickListener); in onCreate() 262 findViewById(R.id.disableWifi).setOnClickListener(mClickListener); in onCreate() 264 findViewById(R.id.startDelayedCycle).setOnClickListener(mClickListener); in onCreate() 265 findViewById(R.id.stopDelayedCycle).setOnClickListener(mClickListener); in onCreate() 266 mDCOnDurationEdit = (EditText)findViewById(R.id.dc_wifi_on_duration); in onCreate() 268 mDCOffDurationEdit = (EditText)findViewById(R.id.dc_wifi_off_duration); in onCreate() 270 mDCCycleCountView = (TextView)findViewById(R.id.dc_wifi_cycles_done); in onCreate() 273 findViewById(R.id.startScreenCycle).setOnClickListener(mClickListener); in onCreate() 274 findViewById(R.id.stopScreenCycle).setOnClickListener(mClickListener); in onCreate() 275 mSCOnDurationEdit = (EditText)findViewById(R.id.sc_wifi_on_duration); in onCreate() [all …]
|
/development/samples/Support4Demos/src/com/example/android/supportv4/widget/ |
D | ContentLoadingProgressBarActivity.java | 61 mBar = (ContentLoadingProgressBar)findViewById(R.id.progressbar); in onCreate() 62 mShowButton = (Button)findViewById(R.id.show); in onCreate() 64 mHideButton = (Button)findViewById(R.id.hide); in onCreate() 67 mShowText = (TextView)findViewById(R.id.show_text); in onCreate() 68 mShowTextDone = (TextView)findViewById(R.id.show_text_done); in onCreate() 69 mHideText = (TextView)findViewById(R.id.hide_text); in onCreate() 70 mHideTextDone = (TextView)findViewById(R.id.hide_text_done); in onCreate() 80 case R.id.show: in onClick() 85 case R.id.hide: in onClick()
|
/development/samples/browseable/BasicMultitouch/src/com.example.android.basicmultitouch/ |
D | TouchDisplayView.java | 152 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/training/AnimationsDemo/src/com/example/android/animationsdemo/ |
D | LayoutChangesActivity.java | 50 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/ |
D | FragmentContextMenuSupport.java | 45 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()
|