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

1234567891011>>

/frameworks/base/test-runner/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/awt/java/awt/event/
H A DTextEvent.java41 public TextEvent(Object src, int id) { argument
42 super(src, id);
55 return (id == TEXT_VALUE_CHANGED) ?
H A DFocusEvent.java46 public FocusEvent(Component source, int id) { argument
47 this(source, id, false);
50 public FocusEvent(Component source, int id, boolean temporary) { argument
51 this(source, id, temporary, null);
54 public FocusEvent(Component source, int id, boolean temporary, Component opposite) { argument
55 super(source, id);
80 switch (id) {
H A DInputMethodEvent.java54 public InputMethodEvent(Component src, int id, argument
57 this(src, id, null, 0, caret, visiblePos);
60 public InputMethodEvent(Component src, int id, argument
65 this(src, id, 0l, text, commitedCharCount, caret, visiblePos);
68 public InputMethodEvent(Component src, int id, long when, argument
73 super(src, id);
75 if ((id < INPUT_METHOD_FIRST) || (id > INPUT_METHOD_LAST)) {
76 // awt.18E=Wrong event id
79 if ((id
[all...]
H A DActionEvent.java53 public ActionEvent(Object source, int id, String command) { argument
54 this(source, id, command, 0);
57 public ActionEvent(Object source, int id, String command, int modifiers) { argument
58 this(source, id, command, 0l, modifiers);
61 public ActionEvent(Object source, int id, String command, long when, int modifiers) { argument
62 super(source, id);
93 String idString = (id == ACTION_PERFORMED) ?
H A DComponentEvent.java48 public ComponentEvent(Component source, int id) { argument
49 super(source, id);
69 switch (id) {
H A DContainerEvent.java46 public ContainerEvent(Component src, int id, Component child) { argument
47 super(src, id);
75 switch (id) {
H A DPaintEvent.java46 public PaintEvent(Component source, int id, Rectangle updateRect) { argument
47 super(source, id);
72 switch (id) {
H A DHierarchyEvent.java59 public HierarchyEvent(Component source, int id, Component changed,
61 this(source, id, changed, changedParent, 0l);
67 public HierarchyEvent(Component source, int id, Component changed,
69 super(source, id);
77 public HierarchyEvent(Component source, int id, Component changed, argument
79 super(source, id);
118 switch (id) {
134 if (id == HIERARCHY_CHANGED) {
/frameworks/base/test-runner/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/media/libdrm/mobile2/src/rights/
H A DAsset.cpp34 void Asset::setID(const string &id) argument
36 mAssetID = id;
46 void Asset::setContentID(const string &id) argument
48 mContentID = id;
82 void Asset::setParentContentID(const string &id) argument
84 mParentContentID = id;
/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/test-runner/android/test/
H A DInstrumentationUtils.java38 int id = -1;
41 id = field.intValue();
47 return id;
/frameworks/base/libs/utils/
H A DRefBase.cpp70 void addStrongRef(const void* /*id*/) { }
71 void removeStrongRef(const void* /*id*/) { }
72 void addWeakRef(const void* /*id*/) { }
73 void removeWeakRef(const void* /*id*/) { }
98 void addStrongRef(const void* id) argument
100 addRef(&mStrongRefs, id, mStrong);
103 void removeStrongRef(const void* id) argument
106 removeRef(&mStrongRefs, id);
108 addRef(&mStrongRefs, id, -mStrong);
111 void addWeakRef(const void* id) argument
116 removeWeakRef(const void* id) argument
164 const void* id; member in struct:android::RefBase::weakref_impl::ref_entry
171 addRef(ref_entry** refs, const void* id, int32_t mRef) argument
190 removeRef(ref_entry** refs, const void* id) argument
355 incWeak(const void* id) argument
363 decWeak(const void* id) argument
386 attemptIncStrong(const void* id) argument
450 attemptIncWeak(const void* id) argument
525 onIncStrongAttempted(uint32_t flags, const void* id) argument
[all...]
/frameworks/base/core/java/android/app/
H A DIThumbnailReceiver.aidl27 void newThumbnail(int id, in Bitmap thumbnail, CharSequence description);
H A DINotificationManager.aidl27 void enqueueNotification(String pkg, int id, in Notification notification, inout int[] idReceived);
28 void cancelNotification(String pkg, int id);
/frameworks/base/core/java/android/os/
H A DPower.java44 public static native void acquireWakeLock(int lock, String id); argument
45 public static native void releaseWakeLock(String id); argument
/frameworks/base/tools/layoutlib/api/src/com/android/layoutlib/api/
H A DIProjectCallback.java46 * Resolves the id of a resource Id.
47 * <p/>The resource id is the value of a <code>R.&lt;type&gt;.&lt;name&gt;</code>, and
49 * @param id the Id to resolve.
50 * @return an array of 2 strings containing the resource name and type, or null if the id
53 String[] resolveResourceValue(int id); argument
56 * Resolves the id of a resource Id of type int[]
57 * <p/>The resource id is the value of a R.styleable.&lt;name&gt;, and this method will
59 * @param id the Id to resolve.
62 String resolveResourceValue(int[] id); argument
65 * Returns the id o
[all...]
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/
H A DBridgeResources.java100 private IResourceValue getResourceValue(int id, boolean[] platformResFlag_out) { argument
101 // first get the String related to this id in the framework
102 String[] resourceInfo = Bridge.resolveResourceValue(id);
111 resourceInfo = mProjectCallback.resolveResourceValue(id);
123 public Drawable getDrawable(int id) throws NotFoundException { argument
124 IResourceValue value = getResourceValue(id, mPlatformResourceFlag);
130 // id was not found or not resolved. Throw a NotFoundException.
131 throwException(id);
138 public int getColor(int id) throws NotFoundException { argument
139 IResourceValue value = getResourceValue(id, mPlatformResourceFla
157 getColorStateList(int id) argument
177 getText(int id) argument
192 getLayout(int id) argument
229 obtainTypedArray(int id) argument
235 getDimension(int id) argument
263 getDimensionPixelOffset(int id) argument
285 getDimensionPixelSize(int id) argument
307 getInteger(int id) argument
347 getString(int id, Object... formatArgs) argument
362 getString(int id) argument
377 getValue(int id, TypedValue outValue, boolean resolveRefs) argument
407 getXml(int id) argument
444 loadXmlResourceParser(String file, int id, int assetCookie, String type) argument
471 openRawResource(int id) argument
500 openRawResource(int id, TypedValue value) argument
518 openRawResourceFd(int id) argument
527 throwException(int id) argument
[all...]
/frameworks/base/core/java/android/server/data/
H A DCrashData.java30 final String id; field in class:CrashData
37 public CrashData(String id, String activity, BuildData buildData, argument
39 this.id = nonNull(id);
47 public CrashData(String id, String activity, BuildData buildData, argument
49 this.id = nonNull(id);
63 this.id = in.readUTF();
82 id = "";
98 out.writeUTF(this.id);
[all...]
/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/tests/FrameworkTest/src/com/android/frameworktest/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/awt/org/apache/harmony/awt/wtk/
H A DWindowFactory.java40 * @param nativeWindowId - id of existing window
48 * @param id - HWND on Windows xwindow on X
51 NativeWindow getWindowById(long id); argument
81 * @param id - window ID
84 Dimension getWindowSizeById(long id); argument

Completed in 460 milliseconds

1234567891011>>