/external/iproute2/lib/ |
ll_proto.c | 34 int id; member in struct:__anon21183 89 const char * ll_proto_n2a(unsigned short id, char *buf, int len) 93 id = ntohs(id); 96 if (llproto_names[i].id == id) 99 snprintf(buf, len, "[%d]", id); 103 int ll_proto_a2n(unsigned short *id, char *buf) 108 *id = htons(llproto_names[i].id); [all...] |
/external/iproute2/tc/ |
f_route.c | 62 __u32 id; local 64 if (rtnl_rtrealm_a2n(&id, *argv)) { 68 addattr_l(n, 4096, TCA_ROUTE4_TO, &id, 4); 70 fh |= id&0xFF; 72 __u32 id; local 74 if (rtnl_rtrealm_a2n(&id, *argv)) { 78 addattr_l(n, 4096, TCA_ROUTE4_FROM, &id, 4); 80 fh |= id<<16; 82 __u32 id; local 85 if ((id=ll_name_to_index(*argv)) <= 0) [all...] |
/external/zxing/qr_scanner/src/com/google/zxing/client/android/ |
CaptureActivityHandler.java | 68 if (message.what == R.id.auto_focus) { 73 cameraManager.requestAutoFocus(this, R.id.auto_focus); 75 } else if (message.what == R.id.restart_preview) { 78 } else if (message.what == R.id.decode_succeeded) { 85 } else if (message.what == R.id.decode_failed) { 88 cameraManager.requestPreviewFrame(decodeThread.getHandler(), R.id.decode); 89 } else if (message.what == R.id.return_scan_result) { 93 } else if (message.what == R.id.launch_product_query) { 105 Message quit = Message.obtain(decodeThread.getHandler(), R.id.quit); 115 removeMessages(R.id.decode_succeeded) [all...] |
/frameworks/base/core/java/com/android/internal/app/ |
HeavyWeightSwitcherActivity.java | 76 setIconAndText(R.id.old_app_icon, R.id.old_app_action, R.id.old_app_description, 78 setIconAndText(R.id.new_app_icon, R.id.new_app_action, R.id.new_app_description, 81 View button = findViewById((R.id.switch_old)); 83 button = findViewById((R.id.switch_new)); 85 button = findViewById((R.id.cancel)); 94 void setText(int id, CharSequence text) [all...] |
/frameworks/native/include/gui/ |
SurfaceComposerClient.h | 96 //! Possible values for id are eDisplayIdMain and eDisplayIdHdmi. 97 static sp<IBinder> getBuiltInDisplay(int32_t id); 115 status_t hide(const sp<IBinder>& id); 116 status_t show(const sp<IBinder>& id); 117 status_t setFlags(const sp<IBinder>& id, uint32_t flags, uint32_t mask); 118 status_t setTransparentRegionHint(const sp<IBinder>& id, const Region& transparent); 119 status_t setLayer(const sp<IBinder>& id, int32_t layer); 120 status_t setAlpha(const sp<IBinder>& id, float alpha=1.0f); 121 status_t setMatrix(const sp<IBinder>& id, float dsdx, float dtdx, float dsdy, float dtdy); 122 status_t setPosition(const sp<IBinder>& id, float x, float y) [all...] |
/ndk/sources/cxx-stl/gabi++/tests/ |
catch_class_04.cpp | 24 explicit B(int id) : id_(id) {count++;} 36 explicit C1(int id) : B(id-2), id_(id) {count++;} 48 explicit C2(int id) : B(id-2), id_(id) {count++;} 60 explicit A(int id) : C1(id-1), C2(id-2), B(id+3), id_(id) {count++; [all...] |
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/ |
WnnSentence.java | 40 this.id = 0; 51 this.id = headClause.id; 66 this.id = headClause.id; 83 this.id = clause.id; 101 this.id = prev.id; 122 this.id = head.id [all...] |
/packages/services/Telephony/tests/src/com/android/phone/tests/ |
CallDialTest.java | 58 mLabel = (TextView) findViewById(R.id.label1); 60 mNumber = (EditText) findViewById(R.id.number); 63 ((Button) findViewById(R.id.callButton)).setOnClickListener(this); 64 ((Button) findViewById(R.id.dialButton)).setOnClickListener(this); 65 ((Button) findViewById(R.id.itelephonyCallButton)).setOnClickListener(this); 66 ((Button) findViewById(R.id.itelephonyDialButton)).setOnClickListener(this); 84 int id = view.getId(); local 85 log("onClick(View " + view + ", id " + id + ")..."); 87 switch (id) { [all...] |
/development/samples/Support4Demos/src/com/example/android/supportv4/widget/ |
ContentLoadingProgressBarActivity.java | 61 mBar = (ContentLoadingProgressBar)findViewById(R.id.progressbar); 62 mShowButton = (Button)findViewById(R.id.show); 64 mHideButton = (Button)findViewById(R.id.hide); 67 mShowText = (TextView)findViewById(R.id.show_text); 68 mShowTextDone = (TextView)findViewById(R.id.show_text_done); 69 mHideText = (TextView)findViewById(R.id.hide_text); 70 mHideTextDone = (TextView)findViewById(R.id.hide_text_done); 80 case R.id.show: 85 case R.id.hide:
|
/external/bluetooth/bluedroid/include/ |
bte_appl.h | 47 * BTA_ID_RES can be used to fs ID in bte_appl. 51 btapp id */ 122 /* helper macros to set, clear and get current BTA module id in a 32bit ARRAY!! */ 123 /* set bit id to 1 in UINT32 a[] NO RANGE CHECK!*/ 124 #define BTAPP_SET_BTA_MOD(id, a) { a[id/32] |= (UINT32)(1<<(id % 32)); } 126 /* set bit id to 0 (cleared) in UINT32 a[] NO RANGE CHECK */ 127 #define BTAPP_CLEAR_BTA_MOD(id, a) { a[id/32] &= (UINT32)!(1<<(id % 32)); [all...] |
/external/chromium/chrome/browser/debugger/ |
inspectable_tab_proxy.cc | 19 int32 id, 22 : id_(id), 53 id_ = new_tab->controller().session_id().id(); 82 controllers_map_[controller.session_id().id()] = &controller; 89 int32 id) { 91 id_to_client_host_map_.find(id); 99 int32 id, 102 new DevToolsClientHostImpl(id, service, &id_to_client_host_map_); 103 id_to_client_host_map_[id] = client_host;
|
/external/chromium_org/chrome/browser/local_discovery/ |
service_discovery_host_client.h | 81 void UnregisterWatcherCallback(uint64 id); 82 void UnregisterResolverCallback(uint64 id); 83 void UnregisterLocalDomainResolverCallback(uint64 id); 86 void OnWatcherCallback(uint64 id, 89 void OnResolverCallback(uint64 id, 92 void OnLocalDomainResolverCallback(uint64 id, 98 void RunWatcherCallback(uint64 id, 102 void RunResolverCallback(uint64 id, 106 void RunLocalDomainResolverCallback(uint64 id, 113 // Incrementing counter to assign ID to watchers and resolvers [all...] |
/external/chromium_org/chrome/browser/notifications/sync_notifier/ |
chrome_notifier_delegate_browsertest.cc | 37 virtual void MarkNotificationAsRead(const std::string& id) OVERRIDE { 38 read_id_ = id; 60 const std::string& id) OVERRIDE { 83 std::string id(kTestNotificationId); 86 new notifier::ChromeNotifierDelegate(id, ¬ifier); 116 std::string id(kTestNotificationId); 119 new notifier::ChromeNotifierDelegate(id, ¬ifier); 150 std::string id(kTestNotificationId); 153 new notifier::ChromeNotifierDelegate(id, ¬ifier);
|
/external/chromium_org/chrome/browser/ui/cocoa/browser/ |
avatar_menu_bubble_controller.h | 34 - (id)initWithBrowser:(Browser*)parentBrowser 38 - (IBAction)newProfile:(id)sender; 41 - (IBAction)switchToProfile:(id)sender; 44 - (IBAction)editProfile:(id)sender; 48 - (IBAction)switchProfile:(id)sender; 89 - (id)initWithModelIndex:(size_t)modelIndex 93 - (IBAction)switchToProfile:(id)sender; 94 - (IBAction)editProfile:(id)sender; 130 - (id)initWithModel:(AvatarMenuModel*)model
|
/external/chromium_org/native_client_sdk/src/examples/api/input_event/ |
custom_events.cc | 118 void TouchEvent::AddTouch(uint32_t id, 126 touch.id = id; 142 stream << " x[" << touch.id << "]:" << touch.x << " y[" << touch.id 143 << "]:" << touch.y << " radii_x[" << touch.id 144 << "]:" << touch.radii_x << " radii_y[" << touch.id 145 << "]:" << touch.radii_y << " angle[" << touch.id 146 << "]:" << touch.angle << " pressure[" << touch.id
|
/external/chromium_org/third_party/WebKit/Source/web/ |
WebIDBMetadata.cpp | 50 webObjectStore.id = objectStore.id; 61 webIndex.id = index.id; 74 IDBDatabaseMetadata db(name, id, version, intVersion, maxObjectStoreId); 77 IDBObjectStoreMetadata objectStore(webObjectStore.name, webObjectStore.id, webObjectStore.keyPath, webObjectStore.autoIncrement, webObjectStore.maxIndexId); 81 IDBIndexMetadata index(webIndex.name, webIndex.id, webIndex.keyPath, webIndex.unique, webIndex.multiEntry); 82 objectStore.indexes.set(index.id, index); 84 db.objectStores.set(objectStore.id, objectStore);
|
/external/chromium_org/ui/aura/test/ |
test_windows.cc | 16 Window* CreateTestWindowWithId(int id, Window* parent) { 17 return CreateTestWindowWithDelegate(NULL, id, gfx::Rect(), parent); 25 int id, 29 id, bounds, parent); 33 int id, 39 id, 46 int id, 50 window->set_id(id); 87 result += base::IntToString((*i)->id());
|
/external/webrtc/src/system_wrappers/source/ |
map.cc | 16 MapItem::MapItem(int id, void* item) : item_id_(id), item_pointer_(item) 68 int MapWrapper::Insert(int id, void* ptr) 70 map_[id] = new MapItem(id,ptr); 129 MapItem* MapWrapper::Find(int id) const 131 std::map<int, MapItem*>::const_iterator it = map_.find(id); 155 int MapWrapper::Erase(const int id) 157 std::map<int, MapItem*>::iterator it = map_.find(id);
|
/frameworks/base/core/java/android/view/ |
VelocityTracker.java | 29 * and {@link #getYVelocity(int)} to retrieve the velocity for each pointer id. 45 private static native float nativeGetXVelocity(int ptr, int id); 46 private static native float nativeGetYVelocity(int ptr, int id); 47 private static native boolean nativeGetEstimator(int ptr, int id, Estimator outEstimator); 180 * @param id Which pointer's velocity to return. 183 public float getXVelocity(int id) { 184 return nativeGetXVelocity(mPtr, id); 191 * @param id Which pointer's velocity to return. 194 public float getYVelocity(int id) { 195 return nativeGetYVelocity(mPtr, id); [all...] |
/art/runtime/jdwp/ |
object_registry.cc | 29 << ",id=" << rhs.id << "]"; 56 dummy.id = 0; 62 return entry.id; 73 entry.id = next_id_++; 75 id_to_entry_.Put(entry.id, &entry); 79 return entry.id; 109 mirror::Object* ObjectRegistry::InternalGet(JDWP::ObjectId id) { 112 id_iterator it = id_to_entry_.find(id); 120 jobject ObjectRegistry::GetJObject(JDWP::ObjectId id) { [all...] |
/cts/tests/tests/view/src/android/view/cts/ |
View_FocusHandlingTest.java | 38 View v1 = activity.findViewById(R.id.view1); 39 View v2 = activity.findViewById(R.id.view2); 40 View v3 = activity.findViewById(R.id.view3); 41 View v4 = activity.findViewById(R.id.view4); 64 v1.setNextFocusRightId(R.id.view2); 65 v1.setNextFocusDownId(R.id.view3); 67 v2.setNextFocusLeftId(R.id.view1); 68 v2.setNextFocusDownId(R.id.view4); 70 v3.setNextFocusRightId(R.id.view4); 71 v3.setNextFocusUpId(R.id.view1) [all...] |
/cts/tests/tests/widget/src/android/widget/cts/ |
LayoutDirectionTest.java | 126 R.id.layout_linearlayout_ltr, LAYOUT_DIRECTION_LTR, LAYOUT_DIRECTION_LTR, 127 R.id.layout_linearlayout_ltr_child_1, LAYOUT_DIRECTION_LTR, LAYOUT_DIRECTION_LTR, 128 R.id.layout_linearlayout_ltr_child_2, LAYOUT_DIRECTION_RTL, LAYOUT_DIRECTION_RTL, 130 R.id.layout_linearlayout_ltr_child_3, LAYOUT_DIRECTION_INHERIT, LAYOUT_DIRECTION_LTR, 132 R.id.layout_linearlayout_ltr_child_4, LAYOUT_DIRECTION_LOCALE, LAYOUT_DIRECTION_LTR); 135 R.id.layout_linearlayout_rtl, LAYOUT_DIRECTION_RTL, LAYOUT_DIRECTION_RTL, 136 R.id.layout_linearlayout_rtl_child_1, LAYOUT_DIRECTION_LTR, LAYOUT_DIRECTION_LTR, 137 R.id.layout_linearlayout_rtl_child_2, LAYOUT_DIRECTION_RTL, LAYOUT_DIRECTION_RTL, 139 R.id.layout_linearlayout_rtl_child_3, LAYOUT_DIRECTION_INHERIT, LAYOUT_DIRECTION_RTL, 141 R.id.layout_linearlayout_rtl_child_4, LAYOUT_DIRECTION_LOCALE, LAYOUT_DIRECTION_LTR) [all...] |
/development/samples/ActionBarCompat/src/com/example/android/actionbarcompat/ |
MainActivity.java | 33 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/ApiDemos/src/com/example/android/apis/view/ |
RatingBar1.java | 40 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);
|
/external/antlr/antlr-3.4/gunit/src/main/antlr3/org/antlr/gunit/swingui/parsers/ |
ANTLRv3.g | 54 ID; 101 g='grammar' id ';' optionsSpec? tokensSpec? attrScope* action* 105 id DOC_COMMENT? optionsSpec? tokensSpec? attrScope* action* rule+ 122 : 'scope' id ACTION -> ^('scope' id ACTION) 127 : '@' (actionScopeName '::')? id ACTION -> ^('@' actionScopeName? id ACTION) 134 : id 135 | l='lexer' -> ID[$l] 136 | p='parser' -> ID[$p [all...] |