/frameworks/base/graphics/java/android/renderscript/ |
H A D | Type.java | 68 CubemapFace(int id) { argument 69 mID = id; 174 Type(int id, RenderScript rs) { argument 175 super(id, rs); 283 int id = mRS.nTypeCreate(mElement.getID(mRS), 285 Type t = new Type(id, mRS);
|
/frameworks/base/media/java/android/drm/mobile1/ |
H A D | DrmRawContent.java | 62 * The id of "application/vnd.oma.drm.message" mime type. 67 * The id of "application/vnd.oma.drm.content" mime type. 102 * The unique id to this DRM content. It will be initialized 106 private int id; field in class:DrmRawContent 134 id = -1; 149 id = nativeConstructDrmContent(inData, inDataLen, mimeType); 151 if (JNI_DRM_FAILURE == id) 391 * @return #the id of the DRM content if succeed.
|
/frameworks/base/media/jni/soundpool/ |
H A D | android_media_SoundPool.cpp | 51 int id = ap->load(s, priority); local 53 return id;
|
/frameworks/base/media/libdrm/mobile1/src/objmng/ |
H A D | drm_rights_manager.c | 50 static int32_t drm_writeToUidTxt(uint8_t* Uid, int32_t* id) argument 63 if (*id < 1) 97 if (idMax < *id) 110 strcpy((char *)uidStr[*id - 1], (char *)Uid); 111 uidStr[*id - 1][length] = '\n'; 112 uidStr[*id - 1][length + 1] = '\0'; 113 if (idMax < (*id)) 151 int32_t drm_readFromUidTxt(uint8_t* Uid, int32_t* id, int32_t option) argument 163 if (NULL == id || NULL == Uid) 200 if (*id < 241 drm_acquireId(uint8_t* uid, int32_t* id) argument 251 drm_writeOrReadInfo(int32_t id, T_DRM_Rights* Ro, int32_t* RoAmount, int32_t option) argument 356 int32_t id; local 417 drm_removeIdInfoFile(int32_t id) argument 443 drm_updateUidTxtWhenDelete(int32_t id) argument 535 int32_t id, roAmount; local [all...] |
/frameworks/base/media/mca/filterfw/jni/ |
H A D | jni_util.h | 86 // coupled to Java objects. This is done by using an "id" field in the Java 115 const int id = next_id_; local 116 objects_[id] = object; 117 owns_[id] = owns; 119 return id; 142 const int id = RegisterObject(c_object, owns); local 145 env->SetIntField(j_object, id_field, id);
|
/frameworks/base/media/mca/filterfw/native/core/ |
H A D | gl_env.cpp | 199 const int id = ++max_surface_id_; local 200 surfaces_[id] = SurfaceWindowPair(surface, window_handle); 201 return id; 268 const int id = contexts_.size(); local 269 contexts_[id] = context; 270 return id;
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
H A D | NotificationData.java | 51 writeBooleanTag(row, R.id.expandable_tag, expandedLarge != null); 176 protected static boolean readBooleanTag(View view, int id) { argument 178 Object value = view.getTag(id); 184 protected static boolean writeBooleanTag(View view, int id, boolean value) { argument 186 view.setTag(id, Boolean.valueOf(value)); 196 return readBooleanTag(row, R.id.expandable_tag); 203 return readBooleanTag(row, R.id.user_expanded_tag); 210 return writeBooleanTag(row, R.id.user_expanded_tag, userExpanded); 217 return readBooleanTag(row, R.id.user_lock_tag); 224 return writeBooleanTag(row, R.id [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/usb/ |
H A D | UsbStorageActivity.java | 124 mIcon = (ImageView) findViewById(com.android.internal.R.id.icon); 125 mBanner = (TextView) findViewById(com.android.internal.R.id.banner); 126 mMessage = (TextView) findViewById(com.android.internal.R.id.message); 128 mMountButton = (Button) findViewById(com.android.internal.R.id.mount_button); 130 mUnmountButton = (Button) findViewById(com.android.internal.R.id.unmount_button); 132 mProgressBar = (ProgressBar) findViewById(com.android.internal.R.id.progress); 213 public Dialog onCreateDialog(int id, Bundle args) { argument 214 switch (id) { 237 private void scheduleShowDialog(final int id) { argument 242 removeDialog(id); [all...] |
/frameworks/base/services/common_time/ |
H A D | common_time_server_api.cpp | 131 status_t CommonTimeServer::getMasterElectionGroupId(uint64_t *id) { argument 133 *id = mSyncGroupID; 137 status_t CommonTimeServer::setMasterElectionGroupId(uint64_t id) { argument 139 mSyncGroupID = id;
|
/frameworks/base/services/input/ |
H A D | PointerController.h | 189 uint32_t id; member in struct:android::PointerController::Spot 195 inline Spot(uint32_t id, const sp<Sprite>& sprite) argument 196 : id(id), sprite(sprite), alpha(1.0f), scale(1.0f), 254 Spot* getSpotLocked(uint32_t id); 255 Spot* createAndAddSpotLocked(uint32_t id);
|
/frameworks/base/services/java/com/android/server/ |
H A D | LightsService.java | 62 private Light(int id) { argument 63 mId = id; 192 public Light getLight(int id) { argument 193 return mLights[id];
|
/frameworks/base/test-runner/src/android/test/mock/ |
H A D | MockResources.java | 51 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/tests/DumpRenderTree2/src/com/android/dumprendertree2/ui/ |
H A D | DirListActivity.java | 172 TextView label = (TextView)row.findViewById(R.id.label); 175 ImageView icon = (ImageView)row.findViewById(R.id.icon); 196 public void onItemClick(AdapterView<?> parent, View view, int position, long id) { 210 public boolean onItemLongClick(AdapterView<?> parent, View view, int position, long id) { 248 case R.id.run_all: 282 protected Dialog onCreateDialog(int id, final Bundle args) { argument 286 switch (id) {
|
/frameworks/base/tests/RenderScriptTests/LivePreview/src/com/android/rs/livepreview/ |
H A D | CameraPreviewActivity.java | 99 mPreviewView = (TextureView) findViewById(R.id.preview_view); 100 mFormatView = (ImageView) findViewById(R.id.format_view); 109 mCameraSpinner = (Spinner) findViewById(R.id.cameras_selection); 115 mResolutionSpinner = (Spinner) findViewById(R.id.resolution_selection); 161 View view, int pos, long id) { 176 View view, int position, long id) { 190 private void setUpCamera(int id) { argument 193 mCurrentCameraId = id; 194 mCamera = Camera.open(id);
|
/frameworks/base/tests/RenderScriptTests/PerfTest/src/com/android/perftest/ |
H A D | TorusTest.java | 231 private Allocation loadTextureRGB(int id) { argument 232 return Allocation.createFromBitmapResource(mRS, mRes, id,
|
H A D | UiTest.java | 128 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/testapp/ |
H A D | TestAppRS.java | 136 FragmentShader createFromResource(int id, boolean addCubemap, Type constType) { argument 139 fb.setShader(mRes, id);
|
/frameworks/base/tests/TileBenchmark/src/com/test/tilebenchmark/ |
H A D | ProfileActivity.java | 84 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/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/wifi/java/android/net/wifi/ |
H A D | WifiInfo.java | 202 void setNetworkId(int id) { argument 203 mNetworkId = id;
|
/frameworks/compile/mclinker/lib/LD/ |
H A D | EhFrame.cpp | 108 uint32_t id = readVal(p, pBackend.isLittleEndian()); local 110 if (0 == id) {
|
/frameworks/ex/carousel/test/src/com/android/carouseltest/ |
H A D | CarouselTestActivity.java | 64 public void onCardSelected(final int id) { argument 65 postMessage("Selection", "Card " + id + " was selected"); 69 public void onDetailSelected(final int id, int x, int y) { argument 70 postMessage("Selection", "Detail for card " + id + " was selected"); 79 public DetailTextureParameters getDetailTextureParameters(int id) { argument 146 mView = (CarouselView) findViewById(R.id.carousel);
|
H A D | TaskSwitcherActivity.java | 68 int id; field in class:TaskSwitcherActivity.ActivityDescription 83 id = _id; 93 id = -1; 97 private ActivityDescription findActivityDescription(int id) { argument 100 if (item != null && item.id == id) { 119 public DetailTextureParameters getDetailTextureParameters(int id) { argument 173 public void newThumbnail(final int id, final Bitmap bitmap, CharSequence description) 177 Log.v(TAG, "New thumbnail for id=" + id [all...] |
/frameworks/ex/chips/src/com/android/ex/chips/ |
H A D | RecipientEntry.java | 108 public static boolean isCreatedRecipient(long id) { argument 109 return id == RecipientEntry.INVALID_CONTACT || id == RecipientEntry.GENERATED_CONTACT; 115 * have a contact id or photo. 137 * to a contact and therefore does not have a contact id or photo.
|
/frameworks/native/libs/binder/ |
H A D | Binder.cpp | 249 void BpRefBase::onLastStrongRef(const void* id) argument 256 bool BpRefBase::onIncStrongAttempted(uint32_t flags, const void* id) argument
|