Searched defs:id (Results 151 - 175 of 399) sorted by last modified time

1234567891011>>

/frameworks/base/tests/RenderScriptTests/PerfTest/src/com/android/perftest/
H A DMeshTest.java135 private Allocation loadTextureRGB(int id) { argument
136 return Allocation.createFromBitmapResource(mRS, mRes, id,
H A DTorusTest.java231 private Allocation loadTextureRGB(int id) { argument
232 return Allocation.createFromBitmapResource(mRS, mRes, id,
H A DUiTest.java128 private Allocation loadTextureRGB(int id) { argument
129 return Allocation.createFromBitmapResource(mRS, mRes, id,
134 private Allocation loadTextureARGB(int id) { argument
135 Bitmap b = BitmapFactory.decodeResource(mRes, id, mOptionsARGB);
/frameworks/base/tests/RenderScriptTests/SceneGraph/src/com/android/scenegraph/
H A DSceneManager.java181 public static Allocation loadCubemap(int id, RenderScriptGL rs, Resources res) { argument
182 return createFromBitmap(BitmapFactory.decodeResource(res, id), rs, true);
189 public static Allocation loadTexture2D(int id, RenderScriptGL rs, Resources res) { argument
190 return createFromBitmap(BitmapFactory.decodeResource(res, id), rs, false);
/frameworks/base/tests/RenderScriptTests/SceneGraph/src/com/android/testapp/
H A DFileSelector.java87 protected void onListItemClick(ListView l, View v, int position, long id) { argument
H A DTestAppRS.java136 FragmentShader createFromResource(int id, boolean addCubemap, Type constType) { argument
139 fb.setShader(mRes, id);
/frameworks/base/tests/RenderScriptTests/tests/src/com/android/rs/test/
H A DRSTestCore.java211 public void newTouchPosition(float x, float y, float pressure, int id) { argument
/frameworks/base/tests/RenderScriptTests/tests_v11/src/com/android/rs/test/
H A DRSTestCore.java182 public void newTouchPosition(float x, float y, float pressure, int id) { argument
/frameworks/base/tests/RenderScriptTests/tests_v14/src/com/android/rs/test/
H A DRSTestCore.java186 public void newTouchPosition(float x, float y, float pressure, int id) { argument
/frameworks/base/tests/StatusBar/src/com/android/statusbartest/
H A DNotificationBuilderTest.java65 for (int id: new int[] {
66 R.id.clear_1,
67 R.id.clear_2,
68 R.id.clear_3,
69 R.id.clear_4,
70 R.id.clear_5,
71 R.id.clear_6,
72 R.id.clear_7,
73 R.id.clear_8,
74 R.id
195 sendNotification(final int id) argument
218 buildNotification(int id) argument
434 setChecked(int id) argument
439 getRadioChecked(int id) argument
444 getRadioTag(int id) argument
450 getRadioInt(int id, int def) argument
463 getRadioHex(int id, int def) argument
479 getChecked(int id) argument
484 loadBitmap(int id) argument
489 makeDeleteIntent(int id) argument
497 makeContentIntent(int id) argument
[all...]
H A DTestActivity.java66 public void onListItemClick(ListView l, View v, int position, long id) argument
/frameworks/base/tests/TileBenchmark/src/com/test/tilebenchmark/
H A DProfileActivity.java84 int position, long id) {
98 int position, long id) {
243 mInspectButton = (Button) findViewById(R.id.inspect);
244 mCaptureButton = (ToggleButton) findViewById(R.id.capture);
245 mVelocitySpinner = (Spinner) findViewById(R.id.velocity);
246 mMovementSpinner = (Spinner) findViewById(R.id.movement);
247 mUrl = (EditText) findViewById(R.id.url);
248 mWeb = (ProfiledWebView) findViewById(R.id.web);
83 onItemSelected(AdapterView<?> parent, View view, int position, long id) argument
97 onItemSelected(AdapterView<?> parent, View view, int position, long id) argument
/frameworks/base/tests/backup/src/com/android/backuptest/
H A DBackupTestActivity.java197 public void onListItemClick(ListView l, View v, int position, long id) argument
/frameworks/base/tools/aapt/
H A DResource.cpp280 printf(" (new resource id %s from %s)\n",
557 ssize_t index = parser.indexOfAttribute(NULL, "id");
559 fprintf(stderr, "%s:%d: warning: found plain 'id' attribute; did you mean the new 'android:id' name?\n",
1399 const uint16_t* id = block.getAttributeStringValue(index, &len); local
1400 if (id == NULL) {
1407 String8 idStr(id);
H A DResourceIdCache.cpp26 uint32_t id; member in struct:CacheEntry
29 CacheEntry(const android::String16& name, uint32_t resId) : hashedName(name), id(resId) { }
76 return (*item).second.id;
H A DResourceTable.cpp308 const String16 id16("id");
487 // Make sure an id is defined for this enum/flag identifier...
597 " pid=%s, bag=%s, id=%s: %s\n",
708 NOISY(printf("Adding resource entry l=%c%c c=%c%c orien=%d d=%d id=%s: %s\n",
879 ssize_t identIdx = block.indexOfAttribute(NULL, "id");
884 srcPos.error("Given 'id' attribute is not an integer: %s\n",
892 srcPos.error("No 'id' attribute supplied <public>,"
893 " and no previous id defined in this file.\n");
964 " and no previous id defined in this file.\n");
1627 uint32_t id local
2002 uint32_t id = ResourceIdCache::lookup(package, type, name, onlyPublic); local
[all...]
/frameworks/base/tools/layoutlib/bridge/src/android/content/res/
H A DBridgeResources.java127 private Pair<String, ResourceValue> getResourceValue(int id, boolean[] platformResFlag_out) { argument
128 // first get the String related to this id in the framework
129 Pair<ResourceType, String> resourceInfo = Bridge.resolveResourceId(id);
141 resourceInfo = mProjectCallback.resolveResourceId(id);
156 public Drawable getDrawable(int id) throws NotFoundException { argument
157 Pair<String, ResourceValue> value = getResourceValue(id, mPlatformResourceFlag);
163 // id was not found or not resolved. Throw a NotFoundException.
164 throwException(id);
171 public int getColor(int id) throws NotFoundException { argument
172 Pair<String, ResourceValue> value = getResourceValue(id, mPlatformResourceFla
192 getColorStateList(int id) argument
211 getText(int id) argument
234 getLayout(int id) argument
278 getAnimation(int id) argument
317 obtainTypedArray(int id) argument
323 getDimension(int id) argument
357 getDimensionPixelOffset(int id) argument
385 getDimensionPixelSize(int id) argument
413 getInteger(int id) argument
445 getBoolean(int id) argument
483 getString(int id, Object... formatArgs) argument
498 getString(int id) argument
513 getValue(int id, TypedValue outValue, boolean resolveRefs) argument
544 getXml(int id) argument
579 loadXmlResourceParser(String file, int id, int assetCookie, String type) argument
604 openRawResource(int id) argument
639 openRawResource(int id, TypedValue value) argument
665 openRawResourceFd(int id) argument
674 throwException(int id) argument
[all...]
/frameworks/base/media/tests/CameraBrowser/src/com/android/camerabrowser/
H A DCameraBrowser.java81 TextView textView1 = (TextView)view.findViewById(android.R.id.text1);
82 TextView textView2 = (TextView)view.findViewById(android.R.id.text2);
117 protected void onListItemClick(ListView l, View v, int position, long id) { argument
H A DMtpClient.java238 * @param id the ID of the USB device
241 public MtpDevice getDevice(int id) { argument
243 return mDevices.get(UsbDevice.getDeviceName(id));
H A DObjectBrowser.java87 TextView nameView = (TextView)view.findViewById(R.id.name);
98 ImageView thumbView = (ImageView)view.findViewById(R.id.thumbnail);
133 protected void onListItemClick(ListView l, View v, int position, long id) { argument
H A DStorageBrowser.java114 protected void onListItemClick(ListView l, View v, int position, long id) { argument
/frameworks/base/include/androidfw/
H A DInput.h56 /* The default display id. */
86 * Maximum pointer id value supported in a motion event.
87 * Smallest pointer id is 0.
176 // Values of axes that are stored in this structure packed in order by axis id
217 // The id of the pointer.
218 int32_t id; member in struct:android::PointerProperties
224 id = -1;
371 return mPointerProperties[pointerIndex].id;
H A DInputTransport.h98 return pointers[index].properties.id;
361 uint32_t id = msg->body.motion.pointers[i].properties.id; local
362 idBits.markBit(id);
363 idToIndex[id] = i;
368 const PointerCoords& getPointerById(uint32_t id) const {
369 return pointers[idToIndex[id]];
H A DResourceTypes.h210 #define Res_GETPACKAGE(id) ((id>>24)-1)
211 #define Res_GETTYPE(id) (((id>>16)&0xFF)-1)
212 #define Res_GETENTRY(id) (id&0xFFFF)
589 // Index (1-based) of the "id" attribute. 0 if none.
785 uint32_t id; member in struct:android::ResTable_package
1083 uint8_t id; member in struct:android::ResTable_typeSpec
1125 uint8_t id; member in struct:android::ResTable_type
[all...]
/frameworks/base/libs/androidfw/
H A DInputDevice.cpp145 void InputDeviceInfo::initialize(int32_t id, int32_t generation, argument
147 mId = id;

Completed in 7532 milliseconds

1234567891011>>