Searched refs:id (Results 1 - 25 of 482) sorted by relevance

1234567891011>>

/frameworks/base/graphics/java/android/renderscript/
H A DDimension.java31 Dimension(int id) { argument
32 mID = id;
H A DPrimitive.java31 Primitive(int id) { argument
32 mID = id;
H A DProgramFragment.java29 ProgramFragment(int id, RenderScript rs) { argument
30 super(id, rs);
58 int id = mRS.nProgramFragmentCreate2(mShader, tmp);
59 ProgramFragment pf = new ProgramFragment(id, mRS);
76 EnvMode(int id) { argument
77 mID = id;
88 Format(int id) { argument
89 mID = id;
133 int id = mRS.nProgramFragmentCreate(tmp);
134 ProgramFragment pf = new ProgramFragment(id, mR
[all...]
H A DProgramStore.java39 DepthFunc(int id) { argument
40 mID = id;
56 BlendSrcFunc(int id) { argument
57 mID = id;
72 BlendDstFunc(int id) { argument
73 mID = id;
78 ProgramStore(int id, RenderScript rs) { argument
80 mID = id;
160 int id = rs.nProgramFragmentStoreCreate();
161 return new ProgramStore(id, r
[all...]
/frameworks/base/test-runner/src/junit/runner/
H A DVersion.java11 public static String id() { method in class:Version
/frameworks/base/core/java/android/net/
H A DLocalSocketAddress.java45 /** The id matches with a #define in include/cutils/sockets.h */
46 private int id; field in class:LocalSocketAddress.Namespace
47 Namespace (int id) { argument
48 this.id = id;
55 return id;
/frameworks/base/core/java/android/content/
H A DContentUris.java48 * @param id to append
52 public static Uri.Builder appendId(Uri.Builder builder, long id) { argument
53 return builder.appendEncodedPath(String.valueOf(id));
60 * @param id to append
64 public static Uri withAppendedId(Uri contentUri, long id) { argument
65 return appendId(contentUri.buildUpon(), id).build();
/frameworks/base/test-runner/src/android/test/mock/
H A DMockResources.java51 public CharSequence getText(int id) throws NotFoundException { argument
56 public CharSequence getQuantityText(int id, int quantity) throws NotFoundException { argument
61 public String getString(int id) throws NotFoundException { argument
66 public String getString(int id, Object... formatArgs) throws NotFoundException { argument
71 public String getQuantityString(int id, int quantity, Object... formatArgs) argument
77 public String getQuantityString(int id, int quantity) throws NotFoundException { argument
82 public CharSequence getText(int id, CharSequence def) { argument
87 public CharSequence[] getTextArray(int id) throws NotFoundException { argument
92 public String[] getStringArray(int id) throws NotFoundException { argument
97 public int[] getIntArray(int id) throw argument
102 obtainTypedArray(int id) argument
107 getDimension(int id) argument
112 getDimensionPixelOffset(int id) argument
117 getDimensionPixelSize(int id) argument
122 getDrawable(int id) argument
127 getMovie(int id) argument
132 getColor(int id) argument
137 getColorStateList(int id) argument
142 getInteger(int id) argument
147 getLayout(int id) argument
152 getAnimation(int id) argument
157 getXml(int id) argument
162 openRawResource(int id) argument
167 openRawResourceFd(int id) argument
172 getValue(int id, TypedValue outValue, boolean resolveRefs) argument
[all...]
/frameworks/base/telephony/java/com/android/internal/telephony/gsm/stk/
H A DItem.java30 public int id; field in class:Item
36 public Item(int id, String text) { argument
37 this.id = id;
43 id = in.readInt();
53 dest.writeInt(id);
/frameworks/base/core/java/android/app/
H A DNotificationManager.java42 * Each of the notify methods takes an int id parameter. This id identifies
43 * this notification from your app to the system, so that id should be unique
44 * within your app. If you call one of the notify methods with an id that is
48 * id you pass to the {@link #cancel} method to clear this notification.
84 * @param id An identifier for this notification unique within your
89 public void notify(int id, Notification notification) argument
91 notify(null, id, notification);
101 * @return the id of the notification that is associated with the string identifier that
104 public void notify(String tag, int id, Notificatio argument
124 cancel(int id) argument
134 cancel(String tag, int id) argument
[all...]
H A DINotificationManager.aidl28 void enqueueNotification(String pkg, int id, in Notification notification, inout int[] idReceived);
30 void cancelNotification(String pkg, int id);
35 void enqueueNotificationWithTag(String pkg, String tag, int id, in Notification notification, inout int[] idReceived);
36 void cancelNotificationWithTag(String pkg, String tag, int id);
H A DIThumbnailReceiver.aidl27 void newThumbnail(int id, in Bitmap thumbnail, CharSequence description);
/frameworks/base/test-runner/src/android/test/
H A DInstrumentationUtils.java38 int id = -1;
41 id = field.intValue();
47 return id;
/frameworks/base/libs/utils/
H A DRefBase.cpp76 void addStrongRef(const void* /*id*/) { }
77 void removeStrongRef(const void* /*id*/) { }
78 void addWeakRef(const void* /*id*/) { }
79 void removeWeakRef(const void* /*id*/) { }
104 void addStrongRef(const void* id) argument
106 addRef(&mStrongRefs, id, mStrong);
109 void removeStrongRef(const void* id) argument
112 removeRef(&mStrongRefs, id);
114 addRef(&mStrongRefs, id, -mStrong);
117 void addWeakRef(const void* id) argument
122 removeWeakRef(const void* id) argument
170 const void* id; member in struct:android::RefBase::weakref_impl::ref_entry
177 addRef(ref_entry** refs, const void* id, int32_t mRef) argument
196 removeRef(ref_entry** refs, const void* id) argument
367 incWeak(const void* id) argument
375 decWeak(const void* id) argument
410 attemptIncStrong(const void* id) argument
474 attemptIncWeak(const void* id) argument
549 onIncStrongAttempted(uint32_t flags, const void* id) argument
[all...]
/frameworks/base/core/tests/coretests/src/android/widget/
H A DRadioGroupPreCheckedTest.java38 RadioButton radio = (RadioButton) activity.findViewById(R.id.value_one);
41 RadioGroup group = (RadioGroup) activity.findViewById(R.id.group);
42 assertEquals("The first radio button should be checked", R.id.value_one,
50 RadioButton radio = (RadioButton) activity.findViewById(R.id.value_two);
53 RadioButton old = (RadioButton) activity.findViewById(R.id.value_one);
58 RadioGroup group = (RadioGroup) activity.findViewById(R.id.group);
59 assertEquals("The second radio button should be checked", R.id.value_two,
/frameworks/base/include/media/stagefright/foundation/
H A DAHandler.h33 ALooper::handler_id id() const { function in struct:android::AHandler
47 void setID(ALooper::handler_id id) { argument
48 mID = id;
/frameworks/base/tests/DumpRenderTree/src/com/android/dumprendertree/
H A DEventSender.java34 public void updateTouchPoint(int id, int x, int y); argument
36 public void releaseTouchPoint(int id); argument
38 public void cancelTouchPoint(int id); argument
/frameworks/base/tools/localize/
H A DValues.cpp13 id(i),
26 id(),
39 id(that.id),
54 if (id != that.id) {
55 return id < that.id ? -1 : 1;
81 result += id;
102 StringResource::ParseTypedID(const string& raw, string* id, in argument
[all...]
/frameworks/base/core/tests/coretests/src/android/widget/focus/
H A DLinearLayoutGrid.java36 return (ViewGroup) findViewById(R.id.layout);
54 return (LinearLayout) findViewById(R.id.column1);
56 return (LinearLayout) findViewById(R.id.column2);
58 return (LinearLayout) findViewById(R.id.column3);
/frameworks/base/core/java/android/os/
H A DPower.java45 public static native void acquireWakeLock(int lock, String id); argument
46 public static native void releaseWakeLock(String id); argument
/frameworks/base/core/java/com/android/internal/statusbar/
H A DStatusBarNotification.java39 public int id; field in class:StatusBarNotification
48 public StatusBarNotification(String pkg, int id, String tag, argument
54 this.id = id;
67 this.id = in.readInt();
80 out.writeInt(this.id);
111 return new StatusBarNotification(this.pkg, this.id, this.tag,
116 return "StatusBarNotification(package=" + pkg + " id=" + id + " tag=" + tag
/frameworks/base/media/libstagefright/codecs/common/include/
H A DvoIndex.h33 #define _MAKE_SOURCE_ID(id, name) \
34 VO_INDEX_SRC_##name = _VO_INDEX_SOURCE | id,
36 #define _MAKE_CODEC_ID(id, name) \
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) \
41 VO_INDEX_EFT_##name = _VO_INDEX_EFFECT | id,
43 #define _MAKE_SINK_ID(id, name) \
44 VO_INDEX_SNK_##name = _VO_INDEX_SINK | id,
46 #define _MAKE_FILTER_ID(id, nam
[all...]
/frameworks/base/telephony/java/com/android/internal/telephony/cdma/
H A DCdmaInformationRecords.java40 int id = p.readInt();
41 switch (id) {
44 record = new CdmaDisplayInfoRec(id, p.readString());
50 record = new CdmaNumberInfoRec(id, p.readString(), p.readInt(), p.readInt(),
80 + CdmaInformationRecords.idToString(id) + " ");
85 public static String idToString(int id) { argument
86 switch(id) {
132 public int id; field in class:CdmaInformationRecords.CdmaDisplayInfoRec
135 public CdmaDisplayInfoRec(int id, String alpha) { argument
136 this.id
150 public int id; field in class:CdmaInformationRecords.CdmaNumberInfoRec
157 CdmaNumberInfoRec(int id, String number, int numberType, int numberPlan, int pi, int si) argument
[all...]
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
H A DBridgeResources.java132 private ResourceValue getResourceValue(int id, boolean[] platformResFlag_out) { argument
133 // first get the String related to this id in the framework
134 Pair<ResourceType, String> resourceInfo = Bridge.resolveResourceId(id);
144 resourceInfo = mProjectCallback.resolveResourceId(id);
157 public Drawable getDrawable(int id) throws NotFoundException { argument
158 ResourceValue value = getResourceValue(id, mPlatformResourceFlag);
164 // id was not found or not resolved. Throw a NotFoundException.
165 throwException(id);
172 public int getColor(int id) throws NotFoundException { argument
173 ResourceValue value = getResourceValue(id, mPlatformResourceFla
193 getColorStateList(int id) argument
211 getText(int id) argument
226 getLayout(int id) argument
271 getAnimation(int id) argument
311 obtainTypedArray(int id) argument
317 getDimension(int id) argument
346 getDimensionPixelOffset(int id) argument
368 getDimensionPixelSize(int id) argument
390 getInteger(int id) argument
430 getString(int id, Object... formatArgs) argument
445 getString(int id) argument
460 getValue(int id, TypedValue outValue, boolean resolveRefs) argument
490 getXml(int id) argument
527 loadXmlResourceParser(String file, int id, int assetCookie, String type) argument
554 openRawResource(int id) argument
589 openRawResource(int id, TypedValue value) argument
615 openRawResourceFd(int id) argument
624 throwException(int id) argument
[all...]
/frameworks/base/include/surfaceflinger/
H A DSurfaceComposerClient.h141 status_t hide(SurfaceID id);
142 status_t show(SurfaceID id, int32_t layer = -1);
143 status_t freeze(SurfaceID id);
144 status_t unfreeze(SurfaceID id);
145 status_t setFlags(SurfaceID id, uint32_t flags, uint32_t mask);
146 status_t setTransparentRegionHint(SurfaceID id, const Region& transparent);
147 status_t setLayer(SurfaceID id, int32_t layer);
148 status_t setAlpha(SurfaceID id, float alpha=1.0f);
149 status_t setFreezeTint(SurfaceID id, uint32_t tint);
150 status_t setMatrix(SurfaceID id, floa
[all...]

Completed in 738 milliseconds

1234567891011>>