Searched refs:id (Results 51 - 75 of 1376) sorted by relevance

1234567891011>>

/packages/apps/Mms/src/org/w3c/dom/smil/
H A DSMILElement.java31 * The unique id.
36 public void setId(String id) argument
/packages/apps/Email/emailcommon/src/com/android/emailcommon/
H A DDevice.java37 * EAS requires a unique device id, so that sync is possible from a variety of different
40 * This would work on a real device as well, but it would be better to use the "real" id if
56 String id;
60 id = rdr.readLine();
62 if (id == null) {
63 // It's very bad if we read a null device id; let's delete that file
69 return id;
83 id = "androidc" + consistentDeviceId;
85 id = "android" + System.currentTimeMillis();
87 w.write(id);
[all...]
/packages/apps/OMA-DM/engine/dmlib/dmengine/oma_toolkit/sml/mgr/src/
H A Dmgrinstancemgr.c70 extern InstanceInfoPtr_t findInfo(InstanceID_t id);
71 extern Ret_t removeInfo(InstanceID_t id);
78 SML_API Ret_t smlTerminateInstance (InstanceID_t id);
79 SML_API Ret_t smlLockReadBuffer(InstanceID_t id, MemPtr_t *pReadPosition, MemSize_t *usedSize);
80 SML_API Ret_t smlUnlockReadBuffer(InstanceID_t id, MemSize_t processedBytes);
82 SML_API Ret_t smlSetMaxOutgoingSize(InstanceID_t id, MemSize_t maxOutgoingSize);
83 SML_API Ret_t smlSetOutgoingBegin(InstanceID_t id);
85 SML_API Ret_t smlLockWriteBuffer(InstanceID_t id, MemPtr_t *pWritePosition, MemSize_t *freeSize);
86 SML_API Ret_t smlUnlockWriteBuffer(InstanceID_t id, MemSize_t writtenBytes);
87 SML_API Ret_t smlSetCallbacks (InstanceID_t id, SmlCallbacksPtr_
286 smlTerminateInstance(InstanceID_t id) argument
349 smlSetCallbacks(InstanceID_t id, SmlCallbacksPtr_t pCallbacks) argument
414 smlSetUserData(InstanceID_t id, VoidPtr_t pUserData) argument
457 smlGetUserData(InstanceID_t id, VoidPtr_t *ppUserData) argument
498 smlGetEncoding(InstanceID_t id, SmlEncoding_t *pEncoding) argument
539 smlSetEncoding(InstanceID_t id, SmlEncoding_t encoding) argument
602 smlLockReadBuffer(InstanceID_t id, MemPtr_t *pReadPosition, MemSize_t *usedSize) argument
659 smlUnlockReadBuffer(InstanceID_t id, MemSize_t processedBytes) argument
718 smlSetMaxOutgoingSize(InstanceID_t id, MemSize_t maxOutgoingSize) argument
744 smlSetOutgoingBegin(InstanceID_t id) argument
789 smlLockWriteBuffer(InstanceID_t id, MemPtr_t *pWritePosition, MemSize_t *freeSize) argument
868 smlUnlockWriteBuffer(InstanceID_t id, MemSize_t writtenBytes) argument
926 mgrResetWorkspace(InstanceID_t id) argument
966 setInstanceOptions(InstanceID_t id, SmlInstanceOptionsPtr_t pOptions) argument
[all...]
/packages/apps/OMA-DM/engine/dmlib/dmengine/oma_toolkit/src/
H A Dmgrinstancemgr.c70 extern InstanceInfoPtr_t findInfo(InstanceID_t id);
71 extern Ret_t removeInfo(InstanceID_t id);
78 SML_API Ret_t smlTerminateInstance (InstanceID_t id);
79 SML_API Ret_t smlLockReadBuffer(InstanceID_t id, MemPtr_t *pReadPosition, MemSize_t *usedSize);
80 SML_API Ret_t smlUnlockReadBuffer(InstanceID_t id, MemSize_t processedBytes);
82 SML_API Ret_t smlSetMaxOutgoingSize(InstanceID_t id, MemSize_t maxOutgoingSize);
83 SML_API Ret_t smlSetOutgoingBegin(InstanceID_t id);
85 SML_API Ret_t smlLockWriteBuffer(InstanceID_t id, MemPtr_t *pWritePosition, MemSize_t *freeSize);
86 SML_API Ret_t smlUnlockWriteBuffer(InstanceID_t id, MemSize_t writtenBytes);
87 SML_API Ret_t smlSetCallbacks (InstanceID_t id, SmlCallbacksPtr_
286 smlTerminateInstance(InstanceID_t id) argument
349 smlSetCallbacks(InstanceID_t id, SmlCallbacksPtr_t pCallbacks) argument
414 smlSetUserData(InstanceID_t id, VoidPtr_t pUserData) argument
457 smlGetUserData(InstanceID_t id, VoidPtr_t *ppUserData) argument
498 smlGetEncoding(InstanceID_t id, SmlEncoding_t *pEncoding) argument
539 smlSetEncoding(InstanceID_t id, SmlEncoding_t encoding) argument
602 smlLockReadBuffer(InstanceID_t id, MemPtr_t *pReadPosition, MemSize_t *usedSize) argument
659 smlUnlockReadBuffer(InstanceID_t id, MemSize_t processedBytes) argument
718 smlSetMaxOutgoingSize(InstanceID_t id, MemSize_t maxOutgoingSize) argument
744 smlSetOutgoingBegin(InstanceID_t id) argument
789 smlLockWriteBuffer(InstanceID_t id, MemPtr_t *pWritePosition, MemSize_t *freeSize) argument
868 smlUnlockWriteBuffer(InstanceID_t id, MemSize_t writtenBytes) argument
926 mgrResetWorkspace(InstanceID_t id) argument
966 setInstanceOptions(InstanceID_t id, SmlInstanceOptionsPtr_t pOptions) argument
[all...]
/packages/apps/Dialer/src/com/android/dialer/
H A DPhoneCallDetailsViews.java51 * The view should contain three text views with identifiers {@code R.id.name},
52 * {@code R.id.date}, and {@code R.id.number}, and a linear layout with identifier
53 * {@code R.id.call_types}.
56 return new PhoneCallDetailsViews((TextView) view.findViewById(R.id.name),
57 view.findViewById(R.id.call_type),
58 (CallTypeIconsView) view.findViewById(R.id.call_type_icons),
59 (ImageView) view.findViewById(R.id.call_account_icon),
60 (TextView) view.findViewById(R.id.call_location_and_date),
61 (TextView) view.findViewById(R.id
[all...]
/packages/apps/Music/src/com/android/music/
H A DMusicBrowserActivity.java43 int activeTab = MusicUtils.getIntPref(this, "activetab", R.id.artisttab);
44 if (activeTab != R.id.artisttab
45 && activeTab != R.id.albumtab
46 && activeTab != R.id.songtab
47 && activeTab != R.id.playlisttab) {
48 activeTab = R.id.artisttab;
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/
H A DWnnWord.java26 public int id; field in class:WnnWord
92 * @param id The ID of word
98 public WnnWord(int id, String candidate, String stroke, WnnPOS posTag, int frequency) { argument
99 this(id, candidate, stroke, posTag, frequency, 0);
105 * @param id The ID of word
112 public WnnWord(int id, String candidate, String stroke, WnnPOS posTag, int frequency, int attribute) { argument
113 this.id = id;
H A DWnnSentence.java40 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
[all...]
/packages/apps/MusicFX/src/com/android/musicfx/
H A DActivityMusic.java116 { R.id.EQBand0TextView, R.id.EQBand0SeekBar },
117 { R.id.EQBand1TextView, R.id.EQBand1SeekBar },
118 { R.id.EQBand2TextView, R.id.EQBand2SeekBar },
119 { R.id.EQBand3TextView, R.id.EQBand3SeekBar },
120 { R.id.EQBand4TextView, R.id
[all...]
/packages/apps/UnifiedEmail/src/com/android/mail/browse/
H A DSelectedConversationsActionMenu.java125 if (itemId == R.id.delete) {
127 performDestructiveAction(R.id.delete, undoCallback);
128 } else if (itemId == R.id.discard_drafts) {
130 performDestructiveAction(R.id.discard_drafts, undoCallback);
131 } else if (itemId == R.id.discard_outbox) {
133 performDestructiveAction(R.id.discard_outbox, undoCallback);
134 } else if (itemId == R.id.archive) {
136 performDestructiveAction(R.id.archive, undoCallback);
137 } else if (itemId == R.id.remove_folder) {
138 destroy(R.id
[all...]
/packages/apps/DeskClock/src/com/android/deskclock/timer/
H A DTimerObj.java43 public int mTimerId; // Unique id
85 final String id = Integer.toString(mTimerId);
86 editor.putInt(PREF_TIMER_ID + id, mTimerId);
87 editor.putLong(PREF_START_TIME + id, mStartTime);
88 editor.putLong (PREF_TIME_LEFT + id, mTimeLeft);
89 editor.putLong (PREF_ORIGINAL_TIME + id, mOriginalLength);
90 editor.putLong (PREF_SETUP_TIME + id, mSetupLength);
91 editor.putInt(PREF_STATE + id, mState);
93 timersList.add(id);
95 editor.putString(PREF_LABEL + id, mLabe
[all...]
/packages/apps/Gallery2/src/com/android/gallery3d/gadget/
H A DPhotoAppWidgetProvider.java40 static RemoteViews buildWidget(Context context, int id, Entry entry) { argument
45 return buildStackWidget(context, id, entry);
47 return buildFrameWidget(context, id, entry);
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);
94 views.setEmptyView(R.id
[all...]
/packages/apps/Gallery2/src/com/android/gallery3d/util/
H A DProfileData.java38 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) { argument
44 this.id = id;
55 mRoot = new Node(null, -1); // The id of the root node is unused.
66 Integer id = mNameToId.get(name);
67 if (id == null) {
68 id = ++mNextId; // The tool doesn't want id=0, so we start from 1.
69 mNameToId.put(name, id);
[all...]
/packages/apps/UnifiedEmail/src/com/android/mail/ui/
H A DToastBarOperation.java43 * @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
[all...]
/packages/apps/DeskClock/src/com/android/deskclock/
H A DTimerSetupView.java86 View v1 = findViewById(R.id.first);
87 View v2 = findViewById(R.id.second);
88 View v3 = findViewById(R.id.third);
89 View v4 = findViewById(R.id.fourth);
91 mEnteredTime = (TimerView)findViewById(R.id.timer_time_text);
92 mDelete = (ImageButton)findViewById(R.id.delete);
95 mDivider = findViewById(R.id.divider);
97 mNumbers[1] = (Button)v1.findViewById(R.id.key_left);
98 mNumbers[2] = (Button)v1.findViewById(R.id.key_middle);
99 mNumbers[3] = (Button)v1.findViewById(R.id
[all...]
/packages/apps/Mms/src/com/android/mms/ui/
H A DAttachmentEditor.java153 R.id.image_attachment_view_stub,
154 R.id.image_attachment_view,
155 R.id.view_image_button, R.id.replace_image_button, R.id.remove_image_button,
159 R.id.video_attachment_view_stub,
160 R.id.video_attachment_view,
161 R.id.view_video_button, R.id.replace_video_button, R.id
[all...]
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
H A DPhotoStore.java126 putEntry(entry.id, entry);
208 long id = mDb.insert(Tables.PHOTO_FILES, null, values);
209 if (id != 0) {
211 File target = getFileForPhotoFileId(id);
214 putEntry(entry.id, entry);
215 return id;
240 public void remove(long id) { argument
241 cleanupFile(getFileForPhotoFileId(id));
242 removeEntry(id);
248 private File getFileForPhotoFileId(long id) { argument
257 putEntry(long id, Entry entry) argument
271 removeEntry(long id) argument
283 public final long id; field in class:PhotoStore.Entry
[all...]
/packages/services/Telephony/tests/src/com/android/phone/tests/
H A DCallDialTest.java58 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();
85 log("onClick(View " + view + ", id " + id + ")...");
87 switch (id) {
[all...]
/packages/apps/Browser/src/com/android/browser/addbookmark/
H A DFolderSpinner.java39 public void onSetSelection(long id); argument
73 long id = getAdapter().getItemId(position);
76 onItemSelected(this, null, position, id);
82 public void onItemSelected(AdapterView<?> parent, View view, int position, long id) { argument
84 mOnSetSelectionListener.onSetSelection(id);
/packages/apps/Camera2/src/com/android/camera/app/
H A DCameraController.java107 Log.v(TAG, "getCurrentCameraId without an open camera... returning requested id");
137 public boolean isFrontFacingCamera(int id) { argument
141 if (id >= mInfo.getNumberOfCameras() || mInfo.getCharacteristics(id) == null) {
142 Log.e(TAG, "Camera info not available:" + id);
145 return mInfo.getCharacteristics(id).isFacingFront();
149 public boolean isBackFacingCamera(int id) { argument
153 if (id >= mInfo.getNumberOfCameras() || mInfo.getCharacteristics(id) == null) {
154 Log.e(TAG, "Camera info not available:" + id);
203 requestCamera(int id) argument
208 requestCamera(int id, boolean useNewApi) argument
261 releaseCamera(int id) argument
[all...]
/packages/apps/DeskClock/src/com/android/deskclock/widget/sgv/
H A DGridAdapter.java18 * 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) { argument
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);
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 b
[all...]
/packages/apps/Exchange/src/com/android/exchange/provider/
H A DGalResult.java37 public void addGalData(long id, String displayName, String emailAddress) { argument
38 galData.add(new GalData(id, displayName, emailAddress));
72 private GalData(long id, String _displayName, String _emailAddress) { argument
73 put(ID, Long.toString(id));
74 _id = id;
/packages/apps/Gallery2/src/com/android/gallery3d/data/
H A DMediaSource.java62 public PathId(Path path, int id) { argument
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);
H A DSnailSource.java38 // The only path we accept is "/snail/set/id" and "/snail/item/id"
49 int id = mMatcher.getIntVar(0);
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) { argument
64 return Path.fromString("/snail/set").getChild(id);
67 public static Path getItemPath(int id) { argument
68 return Path.fromString("/snail/item").getChild(id);
/packages/experimental/NotificationShowcase/src/com/android/example/notificationshowcase/
H A DFullScreenActivity.java30 public static final String EXTRA_ID = "id";
38 final int id = intent.getIntExtra(EXTRA_ID, -1);
39 if (id >= 0) {
42 noMa.cancel(NotificationService.NOTIFICATION_ID + id);
51 public static PendingIntent getPendingIntent(Context context, int id) { argument
55 fullScreenIntent.putExtra(EXTRA_ID, id);

Completed in 693 milliseconds

1234567891011>>