Home
last modified time | relevance | path

Searched refs:id (Results 1 – 25 of 1587) sorted by relevance

12345678910>>...64

/frameworks/base/docs/html/reference/
Dgms_lists.js2 …{ id:0, label:"com.google.android.gms", link:"reference/com/google/android/gms/package-summary.htm… property
3 …{ id:1, label:"com.google.android.gms.R", link:"reference/com/google/android/gms/R.html", type:"cl… property
4 …{ id:2, label:"com.google.android.gms.R.attr", link:"reference/com/google/android/gms/R.attr.html"… property
5 …{ id:3, label:"com.google.android.gms.R.color", link:"reference/com/google/android/gms/R.color.htm… property
6 …{ id:4, label:"com.google.android.gms.R.drawable", link:"reference/com/google/android/gms/R.drawab… property
7 …{ id:5, label:"com.google.android.gms.R.id", link:"reference/com/google/android/gms/R.id.html", ty… property
8 …{ id:6, label:"com.google.android.gms.R.string", link:"reference/com/google/android/gms/R.string.h… property
9 …{ id:7, label:"com.google.android.gms.R.styleable", link:"reference/com/google/android/gms/R.style… property
10 …{ id:8, label:"com.google.android.gms.appstate", link:"reference/com/google/android/gms/appstate/p… property
11 …{ id:9, label:"com.google.android.gms.appstate.AppState", link:"reference/com/google/android/gms/a… property
[all …]
Dgcm_lists.js2 …{ id:0, label:"com.google.android.gcm", link:"reference/com/google/android/gcm/package-summary.htm… property
3 …{ id:1, label:"com.google.android.gcm.GCMBaseIntentService", link:"reference/com/google/android/gc… property
4 …{ id:2, label:"com.google.android.gcm.GCMBroadcastReceiver", link:"reference/com/google/android/gc… property
5 …{ id:3, label:"com.google.android.gcm.GCMConstants", link:"reference/com/google/android/gcm/GCMCon… property
6 …{ id:4, label:"com.google.android.gcm.GCMRegistrar", link:"reference/com/google/android/gcm/GCMReg… property
7 …{ id:5, label:"com.google.android.gcm.server", link:"reference/com/google/android/gcm/server/packa… property
8 …{ id:6, label:"com.google.android.gcm.server.Constants", link:"reference/com/google/android/gcm/se… property
9 …{ id:7, label:"com.google.android.gcm.server.InvalidRequestException", link:"reference/com/google/… property
10 …{ id:8, label:"com.google.android.gcm.server.Message", link:"reference/com/google/android/gcm/serv… property
11 …{ id:9, label:"com.google.android.gcm.server.Message.Builder", link:"reference/com/google/android/… property
[all …]
/frameworks/base/tests/StatusBar/src/com/android/statusbartest/
DNotificationBuilderTest.java67 for (int id: new int[] { in onCreate()
68 R.id.clear_1, in onCreate()
69 R.id.clear_2, in onCreate()
70 R.id.clear_3, in onCreate()
71 R.id.clear_4, in onCreate()
72 R.id.clear_5, in onCreate()
73 R.id.clear_6, in onCreate()
74 R.id.clear_7, in onCreate()
75 R.id.clear_8, in onCreate()
76 R.id.clear_9, in onCreate()
[all …]
/frameworks/ex/carousel/java/com/android/ex/carousel/
DCarouselViewHelper.java99 int id = msg.arg1; in handleMessage() local
100 if (id >= mCarouselView.getCardCount()) { in handleMessage()
101 Log.e(TAG, "Index out of range for get, card:" + id); in handleMessage()
105 Log.e(TAG, "Unknown message: " + id); in handleMessage()
110 final Bitmap bitmap = getTexture(id); in handleMessage()
112 mSyncHandler.obtainMessage(SET_TEXTURE_N, id, 0, bitmap).sendToTarget(); in handleMessage()
115 TextureParameters params = getTextureParameters(id); in handleMessage()
117 mSyncHandler.obtainMessage(SET_MATRIX_N, id, 0, in handleMessage()
122 final Bitmap bitmap = getDetailTexture(id); in handleMessage()
124 mSyncHandler.obtainMessage(SET_DETAIL_TEXTURE_N, id, 0, bitmap).sendToTarget(); in handleMessage()
[all …]
/frameworks/base/tests/BiDiTests/src/com/android/bidi/
DBiDiTestActivity.java45 public void onItemClick(AdapterView<?> parent, View v, int position, long id) {
46 onListItemClick((ListView)parent, v, position, id);
50 private void onListItemClick(ListView lv, View v, int position, long id) { in onListItemClick() argument
63 ft.replace(R.id.testframe, fragment); in onListItemClick()
78 mList = (ListView) findViewById(R.id.testlist); in onCreate()
84 new int[]{android.R.id.text1}); in onCreate()
102 addItem(result, "Basic", BiDiTestBasic.class, R.id.basic); in getTests()
104 addItem(result, "Canvas2", BiDiTestCanvas2.class, R.id.canvas2); in getTests()
106 addItem(result, "TextView LTR", BiDiTestTextViewLtr.class, R.id.textview_ltr); in getTests()
107 addItem(result, "TextView RTL", BiDiTestTextViewRtl.class, R.id.textview_rtl); in getTests()
[all …]
/frameworks/native/libs/utils/
DRefBase.cpp111 ALOGD("\t%c ID %p (ref %d):", inc, refs->id, refs->ref); in ~weakref_impl()
125 ALOGD("\t%c ID %p (ref %d):", inc, refs->id, refs->ref); in ~weakref_impl()
138 void addStrongRef(const void* id) { in addStrongRef() argument
141 addRef(&mStrongRefs, id, mStrong); in addStrongRef()
144 void removeStrongRef(const void* id) { in removeStrongRef() argument
148 removeRef(&mStrongRefs, id); in removeStrongRef()
150 addRef(&mStrongRefs, id, -mStrong); in removeStrongRef()
161 void addWeakRef(const void* id) { in addWeakRef() argument
162 addRef(&mWeakRefs, id, mWeak); in addWeakRef()
165 void removeWeakRef(const void* id) { in removeWeakRef() argument
[all …]
/frameworks/base/graphics/java/android/renderscript/
DRenderScript.java126 ContextType(int id) { in ContextType() argument
127 mID = id; in ContextType()
187 native void rsnContextSendMessage(int con, int id, int[] data); in rsnContextSendMessage() argument
188 synchronized void nContextSendMessage(int id, int[] data) { in nContextSendMessage() argument
190 rsnContextSendMessage(mContext, id, data); in nContextSendMessage()
244 native void rsnObjDestroy(int con, int id); in rsnObjDestroy() argument
245 synchronized void nObjDestroy(int id) { in nObjDestroy() argument
250 rsnObjDestroy(mContext, id); in nObjDestroy()
264 native void rsnElementGetNativeData(int con, int id, int[] elementData); in rsnElementGetNativeData() argument
265 synchronized void nElementGetNativeData(int id, int[] elementData) { in nElementGetNativeData() argument
[all …]
/frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/
DRenderScript.java100 ContextType(int id) { in ContextType() argument
101 mID = id; in ContextType()
132 native void rsnContextSendMessage(int con, int id, int[] data); in rsnContextSendMessage() argument
133 synchronized void nContextSendMessage(int id, int[] data) { in nContextSendMessage() argument
135 rsnContextSendMessage(mContext, id, data); in nContextSendMessage()
138 native void rsnObjDestroy(int con, int id); in rsnObjDestroy() argument
139 synchronized void nObjDestroy(int id) { in nObjDestroy() argument
144 rsnObjDestroy(mContext, id); in nObjDestroy()
158 native void rsnElementGetNativeData(int con, int id, int[] elementData); in rsnElementGetNativeData() argument
159 synchronized void nElementGetNativeData(int id, int[] elementData) { in nElementGetNativeData() argument
[all …]
/frameworks/base/test-runner/src/android/test/mock/
DMockResources.java51 public CharSequence getText(int id) throws NotFoundException { in getText() argument
56 public CharSequence getQuantityText(int id, int quantity) throws NotFoundException { in getQuantityText() argument
61 public String getString(int id) throws NotFoundException { in getString() argument
66 public String getString(int id, Object... formatArgs) throws NotFoundException { in getString() argument
71 public String getQuantityString(int id, int quantity, Object... formatArgs) in getQuantityString() argument
77 public String getQuantityString(int id, int quantity) throws NotFoundException { in getQuantityString() argument
82 public CharSequence getText(int id, CharSequence def) { in getText() argument
87 public CharSequence[] getTextArray(int id) throws NotFoundException { in getTextArray() argument
92 public String[] getStringArray(int id) throws NotFoundException { in getStringArray() argument
97 public int[] getIntArray(int id) throws NotFoundException { in getIntArray() argument
[all …]
/frameworks/base/tools/layoutlib/bridge/src/android/content/res/
DBridgeResources.java127 private Pair<String, ResourceValue> getResourceValue(int id, boolean[] platformResFlag_out) { in getResourceValue() argument
129 Pair<ResourceType, String> resourceInfo = Bridge.resolveResourceId(id); in getResourceValue()
141 resourceInfo = mProjectCallback.resolveResourceId(id); in getResourceValue()
156 public Drawable getDrawable(int id) throws NotFoundException { in getDrawable() argument
157 Pair<String, ResourceValue> value = getResourceValue(id, mPlatformResourceFlag); in getDrawable()
164 throwException(id); in getDrawable()
171 public int getColor(int id) throws NotFoundException { in getColor() argument
172 Pair<String, ResourceValue> value = getResourceValue(id, mPlatformResourceFlag); in getColor()
185 throwException(id); in getColor()
192 public ColorStateList getColorStateList(int id) throws NotFoundException { in getColorStateList() argument
[all …]
/frameworks/base/core/java/android/app/
DNotificationManager.java107 public void notify(int id, Notification notification) in notify() argument
109 notify(null, id, notification); in notify()
123 public void notify(String tag, int id, Notification notification) in notify() argument
134 if (localLOGV) Log.v(TAG, pkg + ": notify(" + id + ", " + notification + ")"); in notify()
136 service.enqueueNotificationWithTag(pkg, mContext.getBasePackageName(), tag, id, in notify()
138 if (id != idOut[0]) { in notify()
139 Log.w(TAG, "notify: id corrupted: sent " + id + ", got back " + idOut[0]); in notify()
148 public void notifyAsUser(String tag, int id, Notification notification, UserHandle user) in notifyAsUser() argument
159 if (localLOGV) Log.v(TAG, pkg + ": notify(" + id + ", " + notification + ")"); in notifyAsUser()
161 service.enqueueNotificationWithTag(pkg, mContext.getBasePackageName(), tag, id, in notifyAsUser()
[all …]
DLocalActivityManager.java49 id = _id; in LocalActivityRecord()
53 final String id; // Unique name of this record. field in LocalActivityManager.LocalActivityRecord
122 instanceObj = lastNonConfigurationInstances.get(r.id); in moveToState()
131 if (localLOGV) Log.v(TAG, r.id + ": starting " + r.intent); in moveToState()
136 mParent, r.id, r.intent, r.activityInfo, r, r.instanceState, instance); in moveToState()
145 if (localLOGV) Log.v(TAG, r.id + ": resuming"); in moveToState()
162 if (localLOGV) Log.v(TAG, r.id + ": restarting"); in moveToState()
167 if (localLOGV) Log.v(TAG, r.id + ": restarting and resuming"); in moveToState()
177 if (localLOGV) Log.v(TAG, r.id + ": resuming"); in moveToState()
183 if (localLOGV) Log.v(TAG, r.id + ": stopping"); in moveToState()
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DUserManagerTest.java63 if (user.id == userInfo.id && user.name.equals("Guest 1") in testAddUser()
74 removeUser(userInfo.id); in testAddUser()
85 assertTrue(findUser(user1.id)); in testAdd2Users()
86 assertTrue(findUser(user2.id)); in testAdd2Users()
87 removeUser(user1.id); in testAdd2Users()
88 removeUser(user2.id); in testAdd2Users()
93 removeUser(userInfo.id); in testRemoveUser()
95 assertFalse(findUser(userInfo.id)); in testRemoveUser()
98 private boolean findUser(int id) { in findUser() argument
102 if (user.id == id) { in findUser()
[all …]
/frameworks/base/core/java/android/content/res/
DResources.java234 public CharSequence getText(int id) throws NotFoundException { in getText() argument
235 CharSequence res = mAssets.getResourceText(id); in getText()
240 + Integer.toHexString(id)); in getText()
263 public CharSequence getQuantityText(int id, int quantity) throws NotFoundException { in getQuantityText() argument
265 CharSequence res = mAssets.getResourceBagText(id, in getQuantityText()
270 res = mAssets.getResourceBagText(id, ID_OTHER); in getQuantityText()
274 throw new NotFoundException("Plural resource ID #0x" + Integer.toHexString(id) in getQuantityText()
324 public String getString(int id) throws NotFoundException { in getString() argument
325 CharSequence res = getText(id); in getString()
330 + Integer.toHexString(id)); in getString()
[all …]
/frameworks/base/media/tests/SoundPoolTest/src/com/android/
DSoundPoolTest.java96 int id = mSoundPool.load(getApplicationContext(), resId, priority); in loadSound() local
97 if (id == 0) { in loadSound()
100 return id; in loadSound()
134 int id = mSoundPool.play(mSounds[index], DEFAULT_VOLUME, DEFAULT_VOLUME, in TestSounds() local
136 if (DEBUG) Log.d(LOG_TAG, "Start note " + id); in TestSounds()
137 if (id == 0) { in TestSounds()
142 mSoundPool.stop(id); in TestSounds()
143 if (DEBUG) Log.d(LOG_TAG, "Stop note " + id); in TestSounds()
156 int id = mSoundPool.play(mSounds[0], DEFAULT_VOLUME, DEFAULT_VOLUME, in TestScales() local
158 if (DEBUG) Log.d(LOG_TAG, "Start note " + id); in TestScales()
[all …]
/frameworks/av/media/libstagefright/codecs/common/include/
DvoIndex.h33 #define _MAKE_SOURCE_ID(id, name) \ argument
34 VO_INDEX_SRC_##name = _VO_INDEX_SOURCE | id,
36 #define _MAKE_CODEC_ID(id, name) \ argument
37 VO_INDEX_DEC_##name = _VO_INDEX_DEC | id, \
38 VO_INDEX_ENC_##name = _VO_INDEX_ENC | id,
40 #define _MAKE_EFFECT_ID(id, name) \ argument
41 VO_INDEX_EFT_##name = _VO_INDEX_EFFECT | id,
43 #define _MAKE_SINK_ID(id, name) \ argument
44 VO_INDEX_SNK_##name = _VO_INDEX_SINK | id,
46 #define _MAKE_FILTER_ID(id, name) \ argument
[all …]
/frameworks/base/services/java/com/android/server/
DAppWidgetServiceImpl.java366 private void dumpAppWidgetId(AppWidgetId id, int index, PrintWriter pw) { in dumpAppWidgetId() argument
368 pw.println(id.appWidgetId); in dumpAppWidgetId()
370 pw.print(id.host.hostId); pw.print(' '); in dumpAppWidgetId()
371 pw.print(id.host.packageName); pw.print('/'); in dumpAppWidgetId()
372 pw.println(id.host.uid); in dumpAppWidgetId()
373 if (id.provider != null) { in dumpAppWidgetId()
375 pw.println(id.provider.info.provider.flattenToShortString()); in dumpAppWidgetId()
377 if (id.host != null) { in dumpAppWidgetId()
378 pw.print(" host.callbacks="); pw.println(id.host.callbacks); in dumpAppWidgetId()
380 if (id.views != null) { in dumpAppWidgetId()
[all …]
/frameworks/native/libs/gui/
DSurfaceComposerClient.cpp132 const sp<SurfaceComposerClient>& client, const sp<IBinder>& id);
138 sp<IBinder> getBuiltInDisplay(int32_t id);
140 status_t setPosition(const sp<SurfaceComposerClient>& client, const sp<IBinder>& id,
142 status_t setSize(const sp<SurfaceComposerClient>& client, const sp<IBinder>& id,
144 status_t setLayer(const sp<SurfaceComposerClient>& client, const sp<IBinder>& id,
146 status_t setFlags(const sp<SurfaceComposerClient>& client, const sp<IBinder>& id,
149 const sp<SurfaceComposerClient>& client, const sp<IBinder>& id,
151 status_t setAlpha(const sp<SurfaceComposerClient>& client, const sp<IBinder>& id,
153 status_t setMatrix(const sp<SurfaceComposerClient>& client, const sp<IBinder>& id,
156 status_t setCrop(const sp<SurfaceComposerClient>& client, const sp<IBinder>& id,
[all …]
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
DViewPropertyAlphaActivity.java53 startAnim(R.id.button); in onCreate()
54 startAnim(R.id.textview); in onCreate()
55 startAnim(R.id.spantext); in onCreate()
56 startAnim(R.id.edittext); in onCreate()
57 startAnim(R.id.selectedtext); in onCreate()
58 startAnim(R.id.textviewbackground); in onCreate()
59 startAnim(R.id.layout); in onCreate()
60 startAnim(R.id.imageview); in onCreate()
63 EditText selectedText = (EditText) findViewById(R.id.selectedtext); in onCreate()
68 Button invalidator = (Button) findViewById(R.id.invalidateButton); in onCreate()
[all …]
/frameworks/base/core/java/android/content/pm/
DUserInfo.java66 public int id; field in UserInfo
77 public UserInfo(int id, String name, int flags) { in UserInfo() argument
78 this(id, name, null, flags); in UserInfo()
81 public UserInfo(int id, String name, String iconPath, int flags) { in UserInfo() argument
82 this.id = id; in UserInfo()
110 id = orig.id; in UserInfo()
119 return new UserHandle(id); in getUserHandle()
124 return "UserInfo{" + id + ":" + name + ":" + Integer.toHexString(flags) + "}"; in toString()
132 dest.writeInt(id); in writeToParcel()
153 id = source.readInt(); in UserInfo()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/
DCdmaInformationRecords.java40 int id = p.readInt(); in CdmaInformationRecords() local
41 switch (id) { in CdmaInformationRecords()
44 record = new CdmaDisplayInfoRec(id, p.readString()); in CdmaInformationRecords()
50 record = new CdmaNumberInfoRec(id, p.readString(), p.readInt(), p.readInt(), in CdmaInformationRecords()
80 + CdmaInformationRecords.idToString(id) + " "); in CdmaInformationRecords()
85 public static String idToString(int id) { in idToString() argument
86 switch(id) { in idToString()
132 public int id; field in CdmaInformationRecords.CdmaDisplayInfoRec
135 public CdmaDisplayInfoRec(int id, String alpha) { in CdmaDisplayInfoRec() argument
136 this.id = id; in CdmaDisplayInfoRec()
[all …]
/frameworks/base/core/java/android/service/notification/
DStatusBarNotification.java30 private final int id; field in StatusBarNotification
48 public StatusBarNotification(String pkg, int id, String tag, int uid, int initialPid, int score, in StatusBarNotification() argument
50 this(pkg, id, tag, uid, initialPid, score, notification, UserHandle.OWNER); in StatusBarNotification()
54 public StatusBarNotification(String pkg, int id, String tag, int uid, int initialPid, int score, in StatusBarNotification() argument
56 this(pkg, null, id, tag, uid, initialPid, score, notification, user); in StatusBarNotification()
60 public StatusBarNotification(String pkg, String basePkg, int id, String tag, int uid, in StatusBarNotification() argument
62 this(pkg, basePkg, id, tag, uid, initialPid, score, notification, user, in StatusBarNotification()
66 public StatusBarNotification(String pkg, String basePkg, int id, String tag, int uid, in StatusBarNotification() argument
74 this.id = id; in StatusBarNotification()
89 this.id = in.readInt(); in StatusBarNotification()
[all …]
/frameworks/base/media/tests/EffectsTest/src/com/android/effectstest/
DEqualizerTest.java75 mSessionText = (EditText) findViewById(R.id.sessionEdit); in onCreate()
80 mReleaseButton = (ToggleButton)findViewById(R.id.eqReleaseButton); in onCreate()
81 mOnOffButton = (ToggleButton)findViewById(R.id.equalizerOnOff); in onCreate()
96 displayFreq(R.id.eqParam1Center, centerFreq); in onCreate()
97 displayFreq(R.id.eqParam1Min, freqRange[0]); in onCreate()
98 displayFreq(R.id.eqParam1Max, freqRange[1]); in onCreate()
99 seekBar = (SeekBar)findViewById(R.id.eqParam1SeekBar); in onCreate()
100 textView = (TextView)findViewById(R.id.eqParam1Value); in onCreate()
107 displayFreq(R.id.eqParam2Center, centerFreq); in onCreate()
108 displayFreq(R.id.eqParam2Min, freqRange[0]); in onCreate()
[all …]
/frameworks/av/media/libstagefright/id3/
DID3.cpp77 char id[3]; in parseV2() member
90 if (memcmp(header.id, "ID3", 3)) { in parseV2()
345 ID3::Iterator::Iterator(const ID3 &parent, const char *id) in Iterator() argument
351 if (id) { in Iterator()
352 mID = strdup(id); in Iterator()
379 void ID3::Iterator::getID(String8 *id) const { in getID()
380 id->setTo(""); in getID()
387 id->setTo((const char *)&mParent.mData[mOffset], 3); in getID()
389 id->setTo((const char *)&mParent.mData[mOffset], 4); in getID()
395 id->setTo("TT2"); in getID()
[all …]
/frameworks/base/packages/WAPPushManager/tests/src/com/android/smspush/unitTests/
DClientTest.java52 Button addpbtn = (Button) findViewById(R.id.addpkg); in onCreate()
53 Button procbtn = (Button) findViewById(R.id.procmsg); in onCreate()
54 Button delbtn = (Button) findViewById(R.id.delpkg); in onCreate()
60 EditText app_id = (EditText) findViewById(R.id.app_id); in onCreate()
61 EditText cont = (EditText) findViewById(R.id.cont); in onCreate()
62 EditText pkg = (EditText) findViewById(R.id.pkg); in onCreate()
63 EditText cls = (EditText) findViewById(R.id.cls); in onCreate()
64 RadioButton act = (RadioButton) findViewById(R.id.act); in onCreate()
65 CheckBox sig = (CheckBox) findViewById(R.id.sig); in onCreate()
66 CheckBox ftr = (CheckBox) findViewById(R.id.ftr); in onCreate()
[all …]

12345678910>>...64