/frameworks/base/core/java/android/content/pm/ |
H A D | UserInfo.java | 66 public int id; field in class:UserInfo 77 public UserInfo(int id, String name, int flags) { argument 78 this(id, name, null, flags); 81 public UserInfo(int id, String name, String iconPath, int flags) { argument 82 this.id = id; 110 id = orig.id; 119 return new UserHandle(id); 124 return "UserInfo{" + id [all...] |
/frameworks/av/services/camera/libcameraservice/device3/ |
H A D | StatusTracker.cpp | 47 int id; local 51 id = mNextComponentId++; 52 ALOGV("%s: Adding new component %d", __FUNCTION__, id); 54 err = mStates.add(id, IDLE); 56 __FUNCTION__, id, strerror(-err), err); 65 return err < 0 ? err : id; 68 void StatusTracker::removeComponent(int id) { argument 72 ALOGV("%s: Removing component %d", __FUNCTION__, id); 73 idx = mStates.removeItem(id); 86 void StatusTracker::markComponentIdle(int id, cons argument 90 markComponentActive(int id) argument 94 markComponent(int id, ComponentState state, const sp<Fence>& componentFence) argument [all...] |
/frameworks/base/core/jni/ |
H A D | android_hardware_UsbDevice.cpp | 33 int id = usb_device_get_unique_id_from_name(nameStr); local 35 return id; 39 android_hardware_UsbDevice_get_device_name(JNIEnv *env, jobject clazz, jint id) argument 41 char* name = usb_device_get_name_from_unique_id(id);
|
/frameworks/base/core/tests/coretests/src/android/widget/focus/ |
H A D | LinearLayoutGrid.java | 36 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/graphics/java/android/renderscript/ |
H A D | ScriptIntrinsic3DLUT.java | 33 private ScriptIntrinsic3DLUT(int id, RenderScript rs, Element e) { argument 34 super(id, rs); 49 int id = rs.nScriptIntrinsicCreate(8, e.getID(rs)); 55 return new ScriptIntrinsic3DLUT(id, rs, e);
|
H A D | Path.java | 33 Primitive(int id) { argument 34 mID = id; 44 Path(int id, RenderScript rs, Primitive p, Allocation vtx, Allocation loop, float q) { argument 45 super(id, rs); 70 int id = rs.nPathCreate(p.mID, false, vtx.getID(rs), 0, quality); 71 Path newPath = new Path(id, rs, p, null, null, quality);
|
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
H A D | ViewPropertyAlphaActivity.java | 53 startAnim(R.id.button); 54 startAnim(R.id.textview); 55 startAnim(R.id.spantext); 56 startAnim(R.id.edittext); 57 startAnim(R.id.selectedtext); 58 startAnim(R.id.textviewbackground); 59 startAnim(R.id.layout); 60 startAnim(R.id.imageview); 63 EditText selectedText = (EditText) findViewById(R.id.selectedtext); 68 Button invalidator = (Button) findViewById(R.id 112 startAnim(int id) argument [all...] |
/frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/ |
H A D | ScriptIntrinsicYuvToRGB.java | 30 ScriptIntrinsicYuvToRGB(int id, RenderScript rs) { argument 31 super(id, rs); 51 int id = rs.nScriptIntrinsicCreate(6, e.getID(rs)); 52 ScriptIntrinsicYuvToRGB si = new ScriptIntrinsicYuvToRGB(id, rs);
|
/frameworks/base/tools/layoutlib/bridge/src/android/content/res/ |
H A D | BridgeResources.java | 127 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/core/java/android/hardware/location/ |
H A D | IFusedLocationHardware.aidl | 54 * @param id An Id associated with the request. 59 void startBatching(in int id, in FusedBatchOptions batchOptions); 64 * @param id The request that needs to be stopped. 67 void stopBatching(in int id); 72 * @param id The Id of the operation to update. 77 void updateBatchingOptions(in int id, in FusedBatchOptions batchOptions);
|
/frameworks/base/tests/RenderScriptTests/Fountain/src/com/example/android/rs/fountain/ |
H A D | FountainRS.java | 56 public void newTouchPosition(float x, float y, float pressure, int id) { argument 57 if (id >= holdingColor.length) { 65 mScript.invoke_addParticles(rate, x, y, id, !holdingColor[id]); 66 holdingColor[id] = true; 68 holdingColor[id] = false;
|
/frameworks/base/tests/RenderScriptTests/Fountain_v11/src/com/android/fountain/ |
H A D | FountainRS.java | 56 public void newTouchPosition(float x, float y, float pressure, int id) { argument 57 if (id >= holdingColor.length) { 65 mScript.invoke_addParticles(rate, x, y, id, !holdingColor[id]); 66 holdingColor[id] = true; 68 holdingColor[id] = false;
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/ |
H A D | Item.java | 30 public int id; field in class:Item 36 public Item(int id, String text) { argument 37 this.id = id; 43 id = in.readInt(); 55 dest.writeInt(id);
|
/frameworks/av/media/libstagefright/codecs/common/include/ |
H A D | voIndex.h | 33 #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/opt/telephony/src/java/com/android/internal/telephony/cdma/ |
H A D | CdmaInformationRecords.java | 40 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/services/tests/servicestests/src/com/android/server/pm/ |
H A D | UserManagerTest.java | 63 if (user.id == userInfo.id && user.name.equals("Guest 1") 74 removeUser(userInfo.id); 85 assertTrue(findUser(user1.id)); 86 assertTrue(findUser(user2.id)); 87 removeUser(user1.id); 88 removeUser(user2.id); 93 removeUser(userInfo.id); 95 assertFalse(findUser(userInfo.id)); 98 private boolean findUser(int id) { argument [all...] |
/frameworks/base/media/tests/SoundPoolTest/src/com/android/ |
H A D | SoundPoolTest.java | 96 int id = mSoundPool.load(getApplicationContext(), resId, priority); 97 if (id == 0) { 100 return id; 134 int id = mSoundPool.play(mSounds[index], DEFAULT_VOLUME, DEFAULT_VOLUME, 136 if (DEBUG) Log.d(LOG_TAG, "Start note " + id); 137 if (id == 0) { 142 mSoundPool.stop(id); 143 if (DEBUG) Log.d(LOG_TAG, "Stop note " + id); 156 int id = mSoundPool.play(mSounds[0], DEFAULT_VOLUME, DEFAULT_VOLUME, 158 if (DEBUG) Log.d(LOG_TAG, "Start note " + id); [all...] |
/frameworks/base/core/java/android/service/notification/ |
H A D | StatusBarNotification.java | 30 private final int id; field in class:StatusBarNotification 43 public StatusBarNotification(String pkg, int id, String tag, int uid, int initialPid, int score, argument 45 this(pkg, null, id, tag, uid, initialPid, score, notification, user); 49 public StatusBarNotification(String pkg, String basePkg, int id, String tag, int uid, argument 51 this(pkg, basePkg, id, tag, uid, initialPid, score, notification, user, 55 public StatusBarNotification(String pkg, String basePkg, int id, String tag, int uid, argument 63 this.id = id; 78 this.id = in.readInt(); 96 out.writeInt(this.id); [all...] |
/frameworks/base/core/tests/coretests/src/android/view/ |
H A D | SetTagsTest.java | 39 mView = (Button) getActivity().findViewById(R.id.disabledButton); 64 mView.setTag(R.id.a, "2"); 70 mView.setTag(R.id.a, o); 72 final Object stored = mView.getTag(R.id.a); 81 mView.setTag(android.R.id.list, "2"); 85 assertTrue("Setting a tag with a framework id did not throw an exception", result); 96 assertTrue("Setting a tag with an id with no package did not throw an exception", result); 101 mView.setTagInternal(android.R.id.list, "2"); 108 mView.setTagInternal(R.id.a, "2"); 112 assertTrue("Setting a tag with an id wit [all...] |
/frameworks/base/core/tests/coretests/src/android/widget/scroll/ |
H A D | RequestRectangleVisible.java | 44 final View childToMakeVisible = findViewById(R.id.childToMakeVisible); 46 final TextView topBlob = (TextView) findViewById(R.id.topBlob); 47 final TextView bottomBlob = (TextView) findViewById(R.id.bottomBlob); 58 findViewById(R.id.scrollToRectFromTop).setOnClickListener(new View.OnClickListener() { 66 findViewById(R.id.scrollToRectFromTop2).setOnClickListener(new View.OnClickListener() { 74 findViewById(R.id.scrollToRectFromBottom).setOnClickListener(new View.OnClickListener() { 82 findViewById(R.id.scrollToRectFromBottom2).setOnClickListener(new View.OnClickListener() {
|
/frameworks/base/tests/TransitionTests/src/com/android/transitiontests/ |
H A D | Demo4.java | 41 View container = (View) findViewById(R.id.container); 49 fade.addTarget(R.id.resultsText).addTarget(R.id.resultsList); 53 addTransition(new ChangeBounds().addTarget(R.id.searchContainer)). 54 addTransition(new Recolor().addTarget(R.id.container)); 58 addTransition(new ChangeBounds().addTarget(R.id.searchContainer)). 59 addTransition(new Recolor().addTarget(R.id.container));
|
H A D | FadingTest.java | 37 sFade.addTarget(R.id.removingButton).addTarget(R.id.invisibleButton). 38 addTarget(R.id.goneButton); 46 View container = (View) findViewById(R.id.container); 50 mRemovingButton = (Button) findViewById(R.id.removingButton); 51 mInvisibleButton = (Button) findViewById(R.id.invisibleButton); 52 mGoneButton = (Button) findViewById(R.id.goneButton);
|
/frameworks/base/core/java/com/android/internal/app/ |
H A D | HeavyWeightSwitcherActivity.java | 76 setIconAndText(R.id.old_app_icon, R.id.old_app_action, R.id.old_app_description, 78 setIconAndText(R.id.new_app_icon, R.id.new_app_action, R.id.new_app_description, 81 View button = findViewById((R.id.switch_old)); 83 button = findViewById((R.id.switch_new)); 85 button = findViewById((R.id.cancel)); 94 void setText(int id, CharSequenc argument 98 setDrawable(int id, Drawable dr) argument [all...] |
/frameworks/native/include/gui/ |
H A D | SurfaceComposerClient.h | 96 //! Possible values for id are eDisplayIdMain and eDisplayIdHdmi. 97 static sp<IBinder> getBuiltInDisplay(int32_t id); 115 status_t hide(const sp<IBinder>& id); 116 status_t show(const sp<IBinder>& id); 117 status_t setFlags(const sp<IBinder>& id, uint32_t flags, uint32_t mask); 118 status_t setTransparentRegionHint(const sp<IBinder>& id, const Region& transparent); 119 status_t setLayer(const sp<IBinder>& id, int32_t layer); 120 status_t setAlpha(const sp<IBinder>& id, float alpha=1.0f); 121 status_t setMatrix(const sp<IBinder>& id, float dsdx, float dtdx, float dsdy, float dtdy); 122 status_t setPosition(const sp<IBinder>& id, floa [all...] |
/frameworks/av/services/camera/libcameraservice/common/ |
H A D | CameraDeviceBase.h | 74 * immediately if the latest request received by the HAL has this id. 91 int *id) = 0; 97 virtual status_t createReprocessStreamFromStream(int outputId, int *id) = 0; 102 virtual status_t getStreamInfo(int id, 108 virtual status_t setStreamTransform(int id, int transform) = 0; 114 virtual status_t deleteStream(int id) = 0; 120 virtual status_t deleteReprocessStream(int id) = 0; 193 virtual status_t triggerAutofocus(uint32_t id) = 0; 200 virtual status_t triggerCancelAutofocus(uint32_t id) = 0; 207 virtual status_t triggerPrecaptureMetering(uint32_t id) [all...] |