/external/skia/src/gpu/gl/ |
GrGpuGL.h | 65 void bindVertexArray(GrGLuint id) { 66 fHWGeometryState.setVertexArrayID(this, id); 68 void bindIndexBufferAndDefaultVertexArray(GrGLuint id) { 69 fHWGeometryState.setIndexBufferIDOnDefaultVertexArray(this, id); 71 void bindVertexBuffer(GrGLuint id) { 72 fHWGeometryState.setVertexBufferID(this, id); 77 void notifyVertexArrayDelete(GrGLuint id) { 78 fHWGeometryState.notifyVertexArrayDelete(id); 80 void notifyVertexBufferDelete(GrGLuint id) { 81 fHWGeometryState.notifyVertexBufferDelete(id); [all...] |
/external/chromium_org/chrome/browser/ui/ash/launcher/ |
chrome_launcher_controller_per_browser.cc | 156 return base::Int64ToString(display.id()); 368 ash::LauncherID id = model_->next_id(); local 369 DCHECK(!HasItemController(id)); 371 id_to_item_controller_map_[id] = controller; 372 controller->set_launcher_id(id); 379 return id; 399 ash::LauncherID id, 401 int index = model_->ItemIndexByID(id); 409 ash::LauncherID id, 411 IDToItemControllerMap::iterator iter = id_to_item_controller_map_.find(id); 562 ash::LauncherID id = GetLauncherIDForAppID(app_id); local 793 ash::LauncherID id = GetLauncherIDForAppID(app_id); local 838 ash::LauncherID id = GetLauncherIDForAppID(app_id); local 995 ash::LauncherID id = model_->items()[target_index].id; local 1006 ash::LauncherID id = model_->items()[index].id; local 1131 ash::LauncherID id = model_->items()[i].id; local 1275 ash::LauncherID id = CreateAppShortcutLauncherItem(*pref_app_id, index); local 1382 ash::LauncherID id = model_->next_id(); local 1424 ash::LauncherID id = model_->next_id(); local [all...] |
/development/ndk/platforms/android-9/samples/native-audio/src/com/example/nativeaudio/ |
NativeAudio.java | 65 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.play_uri)).setOnClickListener(new OnClickListener() [all...] |
/external/bluetooth/bluedroid/bta/sys/ |
bta_sys.h | 151 typedef void (tBTA_SYS_CONN_CBACK)(tBTA_SYS_CONN_STATUS status,UINT8 id, UINT8 app_id, BD_ADDR peer_addr); 154 typedef void (tBTA_SYS_SSR_CFG_CBACK)(UINT8 id, UINT8 app_id, UINT16 latency, UINT16 tout); 172 UINT8 mbox; /* GKI mailbox id */ 173 UINT8 timer; /* GKI timer id */ 197 /* Calculate start of event enumeration; id is top 8 bits of event */ 198 #define BTA_SYS_EVT_START(id) ((id) << 8) 248 extern void bta_sys_register(UINT8 id, const tBTA_SYS_REG *p_reg); 249 extern void bta_sys_deregister(UINT8 id); 250 extern BOOLEAN bta_sys_is_register(UINT8 id); [all...] |
/external/chromium_org/extensions/common/ |
event_filter.cc | 20 condition_set_ids_.push_back((*it)->id()); 53 MatcherID id = next_id_++; local 55 if (!CreateConditionSets(id, matcher.get(), &condition_sets)) 61 std::make_pair((*it)->id(), id)); 63 id_to_event_name_[id] = event_name; 64 event_matchers_[event_name][id] = linked_ptr<EventMatcherEntry>( 66 return id; 69 EventMatcher* EventFilter::GetEventMatcher(MatcherID id) { 70 DCHECK(id_to_event_name_.find(id) != id_to_event_name_.end()) 151 MatcherID id = matcher_id->second; local [all...] |
/external/chromium_org/net/disk_cache/flash/ |
log_store.cc | 59 bool LogStore::CreateEntry(int32 size, int32* id) { 83 *id = open_segments_[write_index_]->write_offset(); 84 open_segments_[write_index_]->StoreOffset(*id); 85 current_entry_id_ = *id; 91 void LogStore::DeleteEntry(int32 id, int32 size) { 93 DCHECK(open_entries_.find(id) == open_entries_.end()); 109 bool LogStore::OpenEntry(int32 id) { 111 if (open_entries_.find(id) != open_entries_.end()) 115 int32 index = id / disk_cache::kFlashSegmentSize; 117 if (!open_segments_[index]->HaveOffset(id)) [all...] |
/external/compiler-rt/lib/sanitizer_common/ |
sanitizer_stackdepot.cc | 31 u32 id; member in struct:__sanitizer::StackDesc 42 atomic_uint32_t seq[kPartCount]; // Unique id generators. 109 // Searches linked list s for the stack, returns its id. 118 return s->id; 152 u32 id = find(s, stack, size, h); local 153 if (id) 154 return id; 158 id = find(s2, stack, size, h); 159 if (id) { 161 return id; [all...] |
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
UserManagerTest.java | 63 if (user.id == userInfo.id && user.name.equals("Guest 1") 74 removeUser(userInfo.id); 85 assertTrue(findUser(user1.id)); 86 assertTrue(findUser(user2.id)); 87 removeUser(user1.id); 88 removeUser(user2.id); 93 removeUser(userInfo.id); 95 assertFalse(findUser(userInfo.id)); 98 private boolean findUser(int id) { [all...] |
/hardware/akm/AK8975_FS/libsensors/ |
AkmSensor.cpp | 78 int id = handle2id(handle); local 82 switch (id) { 100 if (mEnabled[id] <= 0) { 102 } else if (mEnabled[id] == 1) { 123 (mEnabled[id])++; 124 if (mEnabled[id] > 32767) mEnabled[id] = 32767; 126 (mEnabled[id])--; 127 if (mEnabled[id] < 0) mEnabled[id] = 0 136 int id = handle2id(handle); local 176 int id = handle2id(handle); local 186 int id = handle2id(handle); local [all...] |
/packages/apps/DeskClock/src/com/android/deskclock/ |
TimerSetupView.java | 62 View v1 = findViewById(R.id.first); 63 View v2 = findViewById(R.id.second); 64 View v3 = findViewById(R.id.third); 65 View v4 = findViewById(R.id.fourth); 66 mEnteredTime = (TimerView)findViewById(R.id.timer_time_text); 67 mDelete = (ImageButton)findViewById(R.id.delete); 71 mNumbers[1] = (Button)v1.findViewById(R.id.key_left); 72 mNumbers[2] = (Button)v1.findViewById(R.id.key_middle); 73 mNumbers[3] = (Button)v1.findViewById(R.id.key_right); 75 mNumbers[4] = (Button)v2.findViewById(R.id.key_left) [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/relative/ |
DeletionHandler.java | 73 String id = child.getStringAttr(ANDROID_URI, ATTR_ID); local 74 if (id != null) { 75 mNodeMap.put(stripIdPrefix(id), child); 81 String id = node.getStringAttr(ANDROID_URI, ATTR_ID); local 82 if (id != null) { 83 mDeletedIds.add(stripIdPrefix(id)); 90 String id = node.getStringAttr(ANDROID_URI, ATTR_ID); local 91 if (id != null) { 92 mDeletedIds.remove(stripIdPrefix(id)); 102 String id = attribute.getValue() local 137 String id = getId(attribute); local 178 String id = getId(attribute); local [all...] |
/frameworks/base/media/tests/SoundPoolTest/src/com/android/ |
SoundPoolTest.java | 96 int id = mSoundPool.load(getApplicationContext(), resId, priority); local 97 if (id == 0) { 100 return id; 134 int id = mSoundPool.play(mSounds[index], DEFAULT_VOLUME, DEFAULT_VOLUME, local 136 if (DEBUG) Log.d(LOG_TAG, "Start note " + id); 137 if (id == 0) { 142 mSoundPool.stop(id); 143 if (DEBUG) Log.d(LOG_TAG, "Stop note " + id); 156 int id = mSoundPool.play(mSounds[0], DEFAULT_VOLUME, DEFAULT_VOLUME, local 158 if (DEBUG) Log.d(LOG_TAG, "Start note " + id); 177 int id = mSoundPool.play(mSounds[0], DEFAULT_VOLUME, DEFAULT_VOLUME, local 212 int id = mSoundPool.play(mSounds[1], DEFAULT_VOLUME, DEFAULT_VOLUME, local 251 int id = mSoundPool.play(mSounds[0], DEFAULT_VOLUME, DEFAULT_VOLUME, local 310 int id = mSoundPool.play(mSounds[0], 0.0f, 1.0f, NORMAL_PRIORITY, DEFAULT_LOOP, mScale[0]); local [all...] |
/dalvik/hit/src/com/android/hit/ |
ClassInstance.java | 27 public ClassInstance(long id, StackTrace stack, long classId) { 28 mId = id; 63 long id; local 66 id = dis.readInt(); 68 id = dis.readLong(); 71 Instance instance = state.findReference(id); 123 long id; local 126 id = dis.readInt(); 128 id = dis.readLong(); 131 Instance instance = state.findReference(id); 177 long id; local [all...] |
/external/chromium/third_party/libjingle/source/talk/session/phone/ |
codec.h | 36 int id; member in struct:cricket::AudioCodec 46 : id(pt), name(nm), clockrate(cr), bitrate(br), 50 AudioCodec() : id(0), clockrate(0), bitrate(0), channels(0), preference(0) {} 63 this->id = c.id; // id is reserved in objective-c 73 return this->id == c.id && // id is reserved in objective-c 87 int id; member in struct:cricket::VideoCodec [all...] |
/external/chromium_org/chrome/common/ |
cancelable_task_tracker.cc | 92 TaskId id = next_id_; local 96 &CancelableTaskTracker::Untrack, weak_factory_.GetWeakPtr(), id); 106 Track(id, flag); 107 return id; 115 TaskId id = next_id_; local 123 Bind(&CancelableTaskTracker::Untrack, weak_factory_.GetWeakPtr(), id), 136 Track(id, flag); 137 return id; 140 void CancelableTaskTracker::TryCancel(TaskId id) { 143 hash_map<TaskId, CancellationFlag*>::const_iterator it = task_flags_.find(id); [all...] |
/external/iptables/extensions/ |
libxt_devgroup.c | 27 {.name = "src-group", .id = O_SRC_GROUP, .type = XTTYPE_STRING, 29 {.name = "dst-group", .id = O_DST_GROUP, .type = XTTYPE_STRING, 48 unsigned int id; local 52 switch (cb->entry->id) { 65 id = xtables_lmap_name2id(devgroups, cb->arg); 66 if (id == -1) 70 info->src_group = id; 89 id = xtables_lmap_name2id(devgroups, cb->arg); 90 if (id == -1) 94 info->dst_group = id; [all...] |
/frameworks/base/core/java/android/service/notification/ |
StatusBarNotification.java | 30 private final int id; field in class:StatusBarNotification 43 public StatusBarNotification(String pkg, int id, String tag, int uid, int initialPid, int score, 45 this(pkg, null, id, tag, uid, initialPid, score, notification, user); 49 public StatusBarNotification(String pkg, String basePkg, int id, String tag, int uid, 51 this(pkg, basePkg, id, tag, uid, initialPid, score, notification, user, 55 public StatusBarNotification(String pkg, String basePkg, int id, String tag, int uid, 63 this.id = id; 78 this.id = in.readInt(); 96 out.writeInt(this.id); [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/gadget/ |
PhotoAppWidgetProvider.java | 40 static RemoteViews buildWidget(Context context, int id, Entry entry) { 45 return buildStackWidget(context, id, entry); 47 return buildFrameWidget(context, id, entry); 57 // migrate gallery widgets from pre-JB releases to JB due to bucket ID change 63 for (int id : appWidgetIds) { 64 Entry entry = helper.getEntry(id); 66 RemoteViews views = buildWidget(context, id, entry); 67 appWidgetManager.updateAppWidget(id, views); 69 Log.e(TAG, "cannot load widget: " + id); 92 views.setRemoteAdapter(widgetId, R.id.appwidget_stack_view, intent) [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/util/ |
ProfileData.java | 38 public int id; // this is the name of this node, mapped from mNameToId field in class:ProfileData.Node 42 public Node(Node parent, int id) { 44 this.id = id; 55 mRoot = new Node(null, -1); // The id of the root node is unused. 66 Integer id = mNameToId.get(name); local 67 if (id == null) { 68 id = ++mNextId; // The tool doesn't want id=0, so we start from 1. 69 mNameToId.put(name, id); 86 int id = ids[i]; local [all...] |
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ |
ToastBarOperation.java | 43 * @param menuId res id identifying the menu item tapped; used to determine what action was 125 if (mAction == R.id.delete) { 127 } else if (mAction == R.id.remove_folder) { 129 } else if (mAction == R.id.change_folders) { 131 } else if (mAction == R.id.move_folder) { 133 } else if (mAction == R.id.archive) { 135 } else if (mAction == R.id.report_spam) { 137 } else if (mAction == R.id.mark_not_spam) { 139 } else if (mAction == R.id.mark_not_important) { 141 } else if (mAction == R.id.mute) [all...] |
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/algorithms/alg.modifying.operations/alg.rotate/ |
rotate.pass.cpp | 78 int id[] = {0, 1, 2, 3}; local 79 const unsigned sd = sizeof(id)/sizeof(id[0]); 80 r = std::rotate(Iter(id), Iter(id), Iter(id+sd)); 81 assert(base(r) == id+sd); 82 assert(id[0] == 0); 83 assert(id[1] == 1); 84 assert(id[2] == 2) 278 std::unique_ptr<int> id[4]; local [all...] |
/external/antlr/antlr-3.4/tool/src/main/antlr3/org/antlr/grammar/v3/ |
ANTLRv3.g | 53 ID; 99 g='grammar' id ';' optionsSpec? tokensSpec? attrScope* action* 103 id DOC_COMMENT? optionsSpec? tokensSpec? attrScope* action* rule+ 120 : 'scope' id ACTION -> ^('scope' id ACTION) 125 : '@' (actionScopeName '::')? id ACTION -> ^('@' actionScopeName? id ACTION) 132 : id 133 | l='lexer' -> ID[$l] 134 | p='parser' -> ID[$p [all...] |
/development/samples/training/AnimationsDemo/src/com/example/android/animationsdemo/ |
LayoutChangesActivity.java | 50 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);
|
/external/chromium_org/chrome/browser/chromeos/login/screens/ |
screen_manager.h | 35 void WarmupScreen(const std::string& id, 38 // Creates, initializes and shows a screen identified by |id|. 41 void ShowScreen(const std::string& id); 43 // Creates, initializes with |context| and shows a screen identified by |id|. 46 void ShowScreenWithParameters(const std::string& id, 49 // Creates, initializes and shows a popup screen identified by |id|. 50 void PopupScreen(const std::string& id); 53 // by |id|. 54 void PopupScreenWithParameters(const std::string& id, 66 void ShowScreenImpl(const std::string& id, [all...] |
/external/chromium_org/content/test/plugin/ |
plugin_thread_async_call_test.cc | 40 NPP id, NPNetscapeFuncs *host_functions) 41 : PluginTest(id, host_functions), at_exit_manager_(NULL) { 84 HostFunctions()->pluginthreadasynccall(id(), OnCallSucceededHelper, this); 93 HostFunctions()->getvalue(id(), NPNVWindowNPObject, &window_obj); 96 HostFunctions()->invoke(id(), window_obj, delete_id, NULL, 0, &result); 102 HostFunctions()->pluginthreadasynccall(id(), OnCallFailed, NULL); 105 HostFunctions()->pluginthreadasynccall(g_long_lived_instance->id(),
|