/packages/apps/Browser/src/com/android/browser/addbookmark/ |
FolderSpinner.java | 39 public void onSetSelection(long id); 73 long id = getAdapter().getItemId(position); local 76 onItemSelected(this, null, position, id); 82 public void onItemSelected(AdapterView<?> parent, View view, int position, long id) { 84 mOnSetSelectionListener.onSetSelection(id);
|
/packages/apps/DeskClock/src/com/android/deskclock/widget/sgv/ |
GridAdapter.java | 18 * A tag key which stores the id of the associated object. If set, this 93 * store the id of the item associated with them. 95 public void setItemId(View view, long id) { 96 view.setTag(GRID_ID_TAG, id); 100 * Get the id of the item associated with this view. 103 final Object id = view.getTag(GRID_ID_TAG); local 104 if (id != null) { 105 return (Long) id; 112 * Get the id of the item associated with this view. The specified Object is associated with 113 * the view at this position, and can be used to optimize retrieval of the id by the adapter [all...] |
/packages/apps/Dialer/src/com/android/dialer/ |
PhoneCallDetailsViews.java | 47 * The view should contain three text views with identifiers {@code R.id.name}, 48 * {@code R.id.date}, and {@code R.id.number}, and a linear layout with identifier 49 * {@code R.id.call_types}. 52 return new PhoneCallDetailsViews((TextView) view.findViewById(R.id.name), 53 view.findViewById(R.id.call_type), 54 (CallTypeIconsView) view.findViewById(R.id.call_type_icons), 55 (TextView) view.findViewById(R.id.call_count_and_date), 56 (TextView) view.findViewById(R.id.label));
|
/packages/apps/Exchange/src/com/android/exchange/provider/ |
GalResult.java | 37 public void addGalData(long id, String displayName, String emailAddress) { 38 galData.add(new GalData(id, displayName, emailAddress)); 47 public static final String ID = "_id"; 70 private GalData(long id, String _displayName, String _emailAddress) { 71 put(ID, Long.toString(id)); 72 _id = id;
|
/packages/apps/Gallery2/src/com/android/gallery3d/data/ |
MediaSource.java | 62 public PathId(Path path, int id) { 64 this.id = id; 67 public int id; field in class:MediaSource.PathId 71 // and invoke consumer.consume() for each MediaItem with the given id. 92 consumer.consume(pid.id, (MediaItem) obj);
|
SnailSource.java | 38 // The only path we accept is "/snail/set/id" and "/snail/item/id" 49 int id = mMatcher.getIntVar(0); local 56 // Registers a new SnailAlbum containing a SnailItem and returns the id of 58 // with the id by getSetPath and getItemPath(). 63 public static Path getSetPath(int id) { 64 return Path.fromString("/snail/set").getChild(id); 67 public static Path getItemPath(int id) { 68 return Path.fromString("/snail/item").getChild(id);
|
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/common/layout/ |
AbsoluteLayoutRuleTest.java | 30 INode layout = TestNode.create("android.widget.AbsoluteLayout").id("@+id/AbsoluteLayout01") 32 TestNode.create("android.widget.Button").id("@+id/Button01").bounds( 34 TestNode.create("android.widget.Button").id("@+id/Button02").bounds( 36 TestNode.create("android.widget.Button").id("@+id/Button03").bounds( 38 TestNode.create("android.widget.Button").id("@+id/Button04").bounds [all...] |
BaseLayoutRuleTest.java | 43 "android.widget.Button", new Rect(0, 0, 100, 80)).id("@+id/Button01"), 45 .id("@+id/LinearLayout01").add( 47 new Rect(0, 80, 100, 80)).id("@+id/Button011"), 49 new Rect(0, 180, 100, 80)).id("@+id/Button012")), 50 TestDragElement.create("android.widget.Button", new Rect(100, 0, 100, 80)).id( 51 "@+id/Button02")) [all...] |
/sdk/testapps/libsAndJarTest/app/src/com/android/tests/javaprojecttest/app/ |
Main.java | 19 TextView tv = (TextView) findViewById(R.id.app); 22 tv = (TextView) findViewById(R.id.lib1); 25 tv = (TextView) findViewById(R.id.lib2); 28 tv = (TextView) findViewById(R.id.basicJar); 31 tv = (TextView) findViewById(R.id.basicJar2);
|
/external/chromium_org/remoting/host/ |
daemon_process_unittest.cc | 30 kMessageCrash = ChromotingDaemonMsg_Crash::ID, 31 kMessageConfiguration = ChromotingDaemonNetworkMsg_Configuration::ID, 32 kMessageConnectTerminal = ChromotingNetworkHostMsg_ConnectTerminal::ID, 33 kMessageDisconnectTerminal = ChromotingNetworkHostMsg_DisconnectTerminal::ID, 35 ChromotingDaemonNetworkMsg_TerminalDisconnected::ID 42 FakeDesktopSession(DaemonProcess* daemon_process, int id); 82 FakeDesktopSession::FakeDesktopSession(DaemonProcess* daemon_process, int id) 83 : DesktopSession(daemon_process, id) { 232 int id = terminal_id_++; local 236 ChromotingNetworkHostMsg_ConnectTerminal(id, resolution, false))) 253 int id = terminal_id_++; local 277 int id = terminal_id_++; local 307 int id = terminal_id_++; local 329 int id = terminal_id_++; local [all...] |
/libcore/luni/src/test/java/tests/support/ |
DatabaseCreator.java | 63 + " (id INTEGER NOT NULL," + " field1 CHAR(100) DEFAULT NULL," 66 + " PRIMARY KEY (id) FOREIGN KEY (fkey) REFERENCES " 101 + PARENT_TABLE + "(id INTEGER NOT NULL, " 102 + "name CHAR(200), PRIMARY KEY(id))"; 105 + FKSTRICT_TABLE + "(id INTEGER NOT NULL," + "name_id INTEGER," 106 + "value CHAR(200), PRIMARY KEY(id), " 108 + PARENT_TABLE + " (id) " + "ON DELETE RESTRICT " 112 + FKCASCADE_TABLE + "(id INTEGER NOT NULL," + "name_id INTEGER," 113 + "value CHAR(200), PRIMARY KEY(id), " 115 + PARENT_TABLE + " (id) " + "ON DELETE CASCADE [all...] |
/external/chromium/chrome/browser/accessibility/ |
browser_accessibility_manager_unittest.cc | 61 button.id = 2; 67 checkbox.id = 3; 73 root.id = 1; 139 tree1_child1.id = 2; 145 tree1_child2.id = 3; 151 tree1_child3.id = 4; 157 tree1_root.id = 1; 174 tree2_child0.id = 5; 180 tree2_child1.id = 2; 186 tree2_child2.id = 3 [all...] |
/external/chromium/chrome/browser/sync/engine/ |
conflict_resolver.cc | 23 using syncable::Id; 65 const Id& id) { 66 MutableEntry entry(trans, syncable::GET_BY_ID, id); 77 VLOG(1) << "Item conflicting because its parent not yet committed. Id: " 78 << id; 80 VLOG(1) << "No set for conflicting entry id " << id << ". There should " 125 entry.Get(syncable::ID), 137 // our present ID 277 Id id = parent_id; local 430 Id id = *conflicting_item_it; local [all...] |
/external/libppp/src/ |
log.c | 214 log_Name(int id) 216 if (id == LogLOG) 218 return id < LogMIN || id > LogMAX ? "Unknown" : LogNames[id - 1]; 222 log_Keep(int id) 224 if (id >= LogMIN && id <= LogMAXCONF) 225 LogMask |= MSK(id); 229 log_KeepLocal(int id, u_long *mask [all...] |
/packages/apps/Email/src/com/android/email/provider/ |
ContentCache.java | 44 * Usage examples; id is a String representation of a row id (_id), as it might be retrieved from 51 * Cursor cursor = cache.getCursor(id, projection); 54 * 1. Get a CacheToken: CacheToken token = cache.getToken(id); 56 * 3. Put the cursor in the cache: cache.putCursor(cursor, id, token); 60 * 1. Lock the row in the cache: cache.lock(id); 65 * 4. Unlock the row in the cache: cache.unlock(id); 68 * 1. Lock the row in the cache: cache.lock(id); 70 * 3. Unlock the row in the cache, passing in the new values: cache.unlock(id, values); 99 // A set of locked content id' [all...] |
/external/openssh/ |
sftp-client.c | 152 send_string_request(struct sftp_conn *conn, u_int id, u_int code, char *s, 159 buffer_put_int(&msg, id); 162 debug3("Sent message fd %d T:%u I:%u", conn->fd_out, code, id); 167 send_string_attrs_request(struct sftp_conn *conn, u_int id, u_int code, 174 buffer_put_int(&msg, id); 178 debug3("Sent message fd %d T:%u I:%u", conn->fd_out, code, id); 186 u_int type, id, status; local 191 id = buffer_get_int(&msg); 193 if (id != expected_id) 194 fatal("ID mismatch (%u != %u)", id, expected_id) 212 u_int type, id; local 250 u_int type, id; local 286 u_int type, id, flag; local 427 u_int id, status; local 454 u_int count, type, id, handle_len, i, expected_id, ents = 0; local 594 u_int status, id; local 609 u_int status, id; local 625 u_int status, id; local 641 u_int id; local 655 u_int id; local 676 u_int id; local 689 u_int status, id; local 707 u_int status, id; local 724 u_int type, expected_id, count, id; local 772 u_int status, id; local 806 u_int status, id; local 839 u_int status, id; local 872 u_int type, expected_id, count, id; local 920 u_int id; local 947 u_int id; local 996 u_int handle_len, mode, type, id, buflen, num_req, max_req; local 999 u_int id; member in struct:request 1339 u_int handle_len, id, type; local 1348 u_int id; member in struct:outstanding_ack [all...] |
/external/bluetooth/bluedroid/btif/src/ |
btif_sock_rfc.c | 82 uint32_t id; member in struct:__anon3406 159 if(rfc_slots[i].id) 176 static inline rfc_slot_t* find_rfc_slot_by_id(uint32_t id) 179 if(id) 183 if(rfc_slots[i].id == id) 189 APPL_TRACE_WARNING1("invalid rfc slot id: %d", id); 199 if(rfc_slots[i].id && rfc_slots[i].f.pending_sdp_request) 201 if(rfc_slots[i].id < min_id 734 uint32_t id = (uint32_t)user_data; local 936 uint32_t id = (uint32_t)user_data; local 972 uint32_t id = (uint32_t)user_data; local 996 uint32_t id = (uint32_t)user_data; local [all...] |
/external/checkpolicy/ |
module_compiler.c | 55 char *id; local 65 while ((id = queue_remove(id_queue)) != NULL) 66 free(id); 68 id = (char *)queue_remove(id_queue); 69 if (!id) { 73 policydbp->name = id; 89 block will always have an id of 1 */ 205 char *id = queue_remove(id_queue), *dest_id = NULL; local 210 if (id == NULL) { 216 free(id); 309 char *id; local 409 char *id = queue_remove(id_queue), *dest_id = NULL; local 867 char *id = queue_remove(id_queue); local 936 char *id = queue_remove(id_queue); local 999 char *id = queue_remove(id_queue); local 1050 char *id = queue_remove(id_queue); local 1111 char *id = queue_remove(id_queue); local 1174 char *id = queue_remove(id_queue); local [all...] |
/external/chromium_org/cc/resources/ |
resource_provider.h | 72 bool InUseByConsumer(ResourceId id); 78 ResourceType GetResourceType(ResourceId id); 106 void DeleteResource(ResourceId id); 110 void SetPixels(ResourceId id, 135 // Creates accounting for a child. Returns a child ID. 141 // Gets the child->parent resource ID map. 281 void AcquirePixelBuffer(ResourceId id); 282 void ReleasePixelBuffer(ResourceId id); 285 uint8_t* MapPixelBuffer(ResourceId id); 286 void UnmapPixelBuffer(ResourceId id); [all...] |
/external/chromium_org/third_party/WebKit/Source/core/svg/ |
SVGDocumentExtensions.cpp | 55 void SVGDocumentExtensions::addResource(const AtomicString& id, RenderSVGResourceContainer* resource) 59 if (id.isEmpty()) 62 // Replaces resource if already present, to handle potential id changes 63 m_resources.set(id, resource); 66 void SVGDocumentExtensions::removeResource(const AtomicString& id) 68 if (id.isEmpty() || !m_resources.contains(id)) 71 m_resources.remove(id); 74 RenderSVGResourceContainer* SVGDocumentExtensions::resourceById(const AtomicString& id) const 76 if (id.isEmpty() [all...] |
/external/chromium_org/chrome/browser/ui/ash/launcher/ |
launcher_context_menu.cc | 75 if (!controller_->IsPlatformApp(item_.id)) { 81 l10n_util::GetStringUTF16(controller_->IsPinned(item_.id) ? 84 if (controller_->IsOpen(item_.id)) { 88 if (!controller_->IsPlatformApp(item_.id) && 121 if (controller_->IsOpen(item_.id)) { 130 std::string app_id = controller_->GetAppIDForLauncherID(item_.id); 171 switch (controller_->GetLaunchType(item_.id)) { 187 return controller_->GetLaunchType(item_.id) == 190 return controller_->GetLaunchType(item_.id) == 193 return controller_->GetLaunchType(item_.id) = [all...] |
/external/chromium_org/v8/src/ |
global-handles.h | 91 ObjectGroupConnection(UniqueId id, Object** object) 92 : id(id), object(object) {} 95 return id == other.id; 99 return id < other.id; 102 UniqueId id; member in struct:v8::internal::ObjectGroupConnection 108 ObjectGroupRetainerInfo(UniqueId id, RetainedObjectInfo* info) 109 : id(id), info(info) { 119 UniqueId id; member in struct:v8::internal::ObjectGroupRetainerInfo [all...] |
/frameworks/base/core/jni/ |
android_view_VelocityTracker.cpp | 52 void getVelocity(int32_t id, float* outVx, float* outVy); 53 bool getEstimator(int32_t id, VelocityTracker::Estimator* outEstimator); 85 uint32_t id = idBits.clearFirstMarkedBit(); local 88 mVelocityTracker.getVelocity(id, &vx, &vy); 110 void VelocityTrackerState::getVelocity(int32_t id, float* outVx, float* outVy) { 111 if (id == ACTIVE_POINTER_ID) { 112 id = mVelocityTracker.getActivePointerId(); 116 if (id >= 0 && id <= MAX_POINTER_ID && mCalculatedIdBits.hasBit(id)) { [all...] |
/packages/apps/Bluetooth/src/com/android/bluetooth/gatt/ |
ContextMap.java | 61 /** The id of the application */ 62 int id; field in class:ContextMap.App 87 Log.e(TAG, "Unable to link deathRecipient for app id " + id); 100 Log.e(TAG, "Unable to unlink deathRecipient for app id " + id); 122 * Remove the context for a given application ID. 124 void remove(int id) { 129 if (entry.id == id) { [all...] |
/packages/providers/DownloadProvider/ui/src/com/android/providers/downloads/ui/ |
TrampolineActivity.java | 48 private static final String KEY_ID = "id"; 55 final long id = ContentUris.parseId(getIntent().getData()); local 63 final Cursor cursor = dm.query(new Query().setFilterById(id)); 77 Log.d(Constants.TAG, "Found " + id + " with status " + status + ", reason " + reason); 81 sendRunningDownloadClickedBroadcast(id); 87 PausedDialogFragment.show(getFragmentManager(), id); local 89 sendRunningDownloadClickedBroadcast(id); 95 if (!OpenHelper.startViewIntent(this, id, 0)) { 103 FailedDialogFragment.show(getFragmentManager(), id, reason); local 108 private void sendRunningDownloadClickedBroadcast(long id) { 132 final long id = getArguments().getLong(KEY_ID); local 177 final long id = getArguments().getLong(KEY_ID); local [all...] |