/frameworks/base/services/java/com/android/server/pm/ |
H A D | UserManagerService.java | 75 private static final String ATTR_ID = "id"; 184 removeUserStateLocked(ui.id); 201 if (!excludeDying || !mRemovingUserIds.get(ui.id)) { 306 removeUser(user.id); 374 File dir = new File(mUsersDir, Integer.toString(info.id)); 456 String id = parser.getAttributeValue(null, ATTR_ID); 457 UserInfo user = readUser(Integer.parseInt(id)); 460 mUsers.put(user.id, user); 464 if (mNextSerialNumber < 0 || mNextSerialNumber <= user.id) { 465 mNextSerialNumber = user.id 623 readUser(int id) argument [all...] |
/frameworks/base/tests/CoreTests/android/core/ |
H A D | TestEventHandler.java | 453 * @param id Status code of the error 456 public void error(int id, String description) { argument 458 Log.v(LOGTAG, "TestEventHandler: error() called Id:" + id + 468 if (expectErrorId == id) { 472 " got:"+id); 519 expectDetails.append("SslCertificateError id expected:"+
|
/frameworks/base/tests/DumpRenderTree2/src/com/android/dumprendertree2/ |
H A D | EventSenderImpl.java | 88 public TouchPoint(int id, Point point) { argument 89 mId = id; 215 int id; 217 id = 0; 219 id = getTouchPoints().get(numPoints - 1).getId() + 1; 222 new TouchPoint(id, createViewPointFromContentCoordinates(msg.arg1, msg.arg2))); 238 int index = bundle.getInt("id"); 403 public void updateTouchPoint(int id, int x, int y) { argument 405 bundle.putInt("id", id); 415 cancelTouchPoint(int id) argument 425 releaseTouchPoint(int id) argument [all...] |
/frameworks/ex/photoviewer/src/com/android/ex/photo/ |
H A D | PhotoViewActivity.java | 188 mViewPager = (PhotoViewPager) findViewById(R.id.photo_view_pager); 285 public Loader<Cursor> onCreateLoader(int id, Bundle args) { argument 286 if (id == LOADER_PHOTO_LIST) { 294 final int id = loader.getId(); 295 if (id == LOADER_PHOTO_LIST) {
|
/frameworks/native/libs/gui/ |
H A D | SurfaceComposerClient.cpp | 129 const sp<SurfaceComposerClient>& client, SurfaceID id); 135 sp<IBinder> getBuiltInDisplay(int32_t id); 137 status_t setPosition(const sp<SurfaceComposerClient>& client, SurfaceID id, 139 status_t setSize(const sp<SurfaceComposerClient>& client, SurfaceID id, 141 status_t setLayer(const sp<SurfaceComposerClient>& client, SurfaceID id, 143 status_t setFlags(const sp<SurfaceComposerClient>& client, SurfaceID id, 146 const sp<SurfaceComposerClient>& client, SurfaceID id, 148 status_t setAlpha(const sp<SurfaceComposerClient>& client, SurfaceID id, 150 status_t setMatrix(const sp<SurfaceComposerClient>& client, SurfaceID id, 153 status_t setCrop(const sp<SurfaceComposerClient>& client, SurfaceID id, 183 getBuiltInDisplay(int32_t id) argument 221 getLayerStateLocked( const sp<SurfaceComposerClient>& client, SurfaceID id) argument 238 setPosition(const sp<SurfaceComposerClient>& client, SurfaceID id, float x, float y) argument 250 setSize(const sp<SurfaceComposerClient>& client, SurfaceID id, uint32_t w, uint32_t h) argument 266 setLayer(const sp<SurfaceComposerClient>& client, SurfaceID id, int32_t z) argument 277 setFlags(const sp<SurfaceComposerClient>& client, SurfaceID id, uint32_t flags, uint32_t mask) argument 291 setTransparentRegionHint( const sp<SurfaceComposerClient>& client, SurfaceID id, const Region& transparentRegion) argument 303 setAlpha(const sp<SurfaceComposerClient>& client, SurfaceID id, float alpha) argument 314 setLayerStack(const sp<SurfaceComposerClient>& client, SurfaceID id, uint32_t layerStack) argument 325 setMatrix(const sp<SurfaceComposerClient>& client, SurfaceID id, float dsdx, float dtdx, float dsdy, float dtdy) argument 342 setCrop(const sp<SurfaceComposerClient>& client, SurfaceID id, const Rect& crop) argument 468 getBuiltInDisplay(int32_t id) argument 499 setCrop(SurfaceID id, const Rect& crop) argument 503 setPosition(SurfaceID id, float x, float y) argument 507 setSize(SurfaceID id, uint32_t w, uint32_t h) argument 511 setLayer(SurfaceID id, int32_t z) argument 515 hide(SurfaceID id) argument 521 show(SurfaceID id) argument 527 setFlags(SurfaceID id, uint32_t flags, uint32_t mask) argument 532 setTransparentRegionHint(SurfaceID id, const Region& transparentRegion) argument 537 setAlpha(SurfaceID id, float alpha) argument 541 setLayerStack(SurfaceID id, uint32_t layerStack) argument 545 setMatrix(SurfaceID id, float dsdx, float dtdx, float dsdy, float dtdy) argument [all...] |
/frameworks/native/libs/utils/ |
H A D | RefBase.cpp | 70 void addStrongRef(const void* /*id*/) { } 71 void removeStrongRef(const void* /*id*/) { } 73 void addWeakRef(const void* /*id*/) { } 74 void removeWeakRef(const void* /*id*/) { } 106 ALOGD("\t%c ID %p (ref %d):", inc, refs->id, refs->ref); 124 ALOGD("\t%c ID %p (ref %d):", inc, refs->id, refs->ref); 139 void addStrongRef(const void* id) { argument 141 // "addStrongRef: RefBase=%p, id=%p", mBase, id); 142 addRef(&mStrongRefs, id, mStron 145 removeStrongRef(const void* id) argument 162 addWeakRef(const void* id) argument 166 removeWeakRef(const void* id) argument 217 const void* id; member in struct:android::RefBase::weakref_impl::ref_entry 224 addRef(ref_entry** refs, const void* id, int32_t mRef) argument 243 removeRef(ref_entry** refs, const void* id) argument 397 incWeak(const void* id) argument 406 decWeak(const void* id) argument 438 attemptIncStrong(const void* id) argument 501 attemptIncWeak(const void* id) argument 587 onIncStrongAttempted(uint32_t flags, const void* id) argument [all...] |
/frameworks/support/renderscript/v8/java/src/android/support/v8/renderscript/ |
H A D | Allocation.java | 137 MipmapControl(int id) { argument 138 mID = id; 196 Allocation(int id, RenderScript rs, Type t, int usage) { argument 197 super(id, rs); 910 int id = rs.nAllocationCreateTyped(type.getID(rs), mips.mID, usage, 0); 911 if (id == 0) { 914 return new Allocation(id, rs, type, usage); 965 int id = rs.nAllocationCreateTyped(t.getID(rs), MipmapControl.MIPMAP_NONE.mID, usage, 0); 966 if (id == 0) { 969 return new Allocation(id, r [all...] |
/frameworks/av/media/libmedia/ |
H A D | AudioSystem.cpp | 708 int id) 712 return aps->registerEffect(desc, io, strategy, session, id); 715 status_t AudioSystem::unregisterEffect(int id) argument 719 return aps->unregisterEffect(id); 722 status_t AudioSystem::setEffectEnabled(int id, bool enabled) argument 726 return aps->setEffectEnabled(id, enabled); 704 registerEffect(const effect_descriptor_t *desc, audio_io_handle_t io, uint32_t strategy, int session, int id) argument
|
H A D | IAudioFlinger.cpp | 539 int id = 0; local 541 id = reply.readInt32(); 543 return id; 628 int *id, 655 if (id) { 656 *id = tmp; 1043 int id; local 1046 sp<IEffect> effect = createEffect(pid, &desc, client, priority, output, sessionId, &status, &id, &enabled); 1048 reply->writeInt32(id); 621 createEffect(pid_t pid, effect_descriptor_t *pDesc, const sp<IEffectClient>& client, int32_t priority, audio_io_handle_t output, int sessionId, status_t *status, int *id, int *enabled) argument
|
/frameworks/av/media/mtp/ |
H A D | MtpServer.cpp | 136 MtpStorage* MtpServer::getStorage(MtpStorageID id) { argument 137 if (id == 0) 141 if (storage->getStorageID() == id) 147 bool MtpServer::hasStorage(MtpStorageID id) { argument 148 if (id == 0 || id == 0xFFFFFFFF) 150 return (getStorage(id) != NULL); 254 void MtpServer::sendStoreAdded(MtpStorageID id) { argument 255 ALOGV("sendStoreAdded %08X\n", id); 256 sendEvent(MTP_EVENT_STORE_ADDED, id); 259 sendStoreRemoved(MtpStorageID id) argument [all...] |
/frameworks/base/core/java/android/app/ |
H A D | Dialog.java | 454 * Finds a view that was identified by the id attribute from the XML that 457 * @param id the identifier of the view to find 460 public View findViewById(int id) { argument 461 return mWindow.findViewById(id);
|
H A D | FragmentManager.java | 160 * Finds a fragment that was identified by the given id either when inflated 167 public abstract Fragment findFragmentById(int id); argument 233 * @param id Identifier of the stated to be popped. If no identifier exists, 241 public abstract void popBackStack(int id, int flags); argument 249 public abstract boolean popBackStackImmediate(int id, int flags); argument 392 public View findViewById(int id); argument 510 public void popBackStack(final int id, final int flags) { argument 511 if (id < 0) { 512 throw new IllegalArgumentException("Bad id: " + id); 522 popBackStackImmediate(int id, int flags) argument 1260 findFragmentById(int id) argument 1474 popBackStackState(Handler handler, String name, int id, int flags) argument [all...] |
/frameworks/base/core/java/android/content/ |
H A D | ContentResolver.java | 439 InputStream stream = r.r.openRawResource(r.id); 604 return r.r.openRawResourceFd(r.id); 769 * A resource identified by the {@link Resources} that contains it, and a resource id. 775 public int id; field in class:ContentResolver.OpenResourceIdResult 779 * Resolves an android.resource URI to a {@link Resources} and a resource id. 800 int id; 803 id = Integer.parseInt(path.get(0)); 808 id = r.getIdentifier(path.get(1), path.get(0), authority); 812 if (id == 0) { 817 res.id [all...] |
/frameworks/base/core/java/android/content/res/ |
H A D | Resources.java | 216 * @param id The desired resource identifier, as generated by the aapt 225 public CharSequence getText(int id) throws NotFoundException { argument 226 CharSequence res = mAssets.getResourceText(id); 231 + Integer.toHexString(id)); 241 * @param id The desired resource identifier, as generated by the aapt 252 public CharSequence getQuantityText(int id, int quantity) throws NotFoundException { argument 254 CharSequence res = mAssets.getResourceBagText(id, 259 res = mAssets.getResourceBagText(id, ID_OTHER); 263 throw new NotFoundException("Plural resource ID #0x" + Integer.toHexString(id) 304 * @param id Th 313 getString(int id) argument 341 getString(int id, Object... formatArgs) argument 368 getQuantityString(int id, int quantity, Object... formatArgs) argument 392 getQuantityString(int id, int quantity) argument 410 getText(int id, CharSequence def) argument 426 getTextArray(int id) argument 446 getStringArray(int id) argument 466 getIntArray(int id) argument 488 obtainTypedArray(int id) argument 519 getDimension(int id) argument 551 getDimensionPixelOffset(int id) argument 585 getDimensionPixelSize(int id) argument 616 getFraction(int id, int base, int pbase) argument 656 getDrawable(int id) argument 683 getDrawableForDensity(int id, int density) argument 715 getMovie(int id) argument 741 getColor(int id) argument 772 getColorStateList(int id) argument 793 getBoolean(int id) argument 818 getInteger(int id) argument 852 getLayout(int id) argument 876 getAnimation(int id) argument 901 getXml(int id) argument 919 openRawResource(int id) argument 938 openRawResource(int id, TypedValue value) argument 973 openRawResourceFd(int id) argument 1008 getValue(int id, TypedValue outValue, boolean resolveRefs) argument 1031 getValueForDensity(int id, int density, TypedValue outValue, boolean resolveRefs) argument 1889 loadDrawable(TypedValue value, int id) argument 2031 loadColorStateList(TypedValue value, int id) argument 2135 loadXmlResourceParser(int id, String type) argument 2150 loadXmlResourceParser(String file, int id, int assetCookie, String type) argument [all...] |
H A D | XmlBlock.java | 142 int id = nativeGetText(mParseState); 143 return id >= 0 ? mStrings.get(id).toString() : null; 170 int id = nativeGetNamespace(mParseState); 171 return id >= 0 ? mStrings.get(id).toString() : ""; 174 int id = nativeGetName(mParseState); 175 return id >= 0 ? mStrings.get(id).toString() : null; 178 int id 457 getPooledString(int id) argument [all...] |
/frameworks/base/core/java/android/preference/ |
H A D | PreferenceActivity.java | 271 holder.icon = (ImageView) view.findViewById(com.android.internal.R.id.icon); 272 holder.title = (TextView) view.findViewById(com.android.internal.R.id.title); 273 holder.summary = (TextView) view.findViewById(com.android.internal.R.id.summary); 297 * Default value for {@link Header#id Header.id} indicating that no 310 * {@link PreferenceActivity#HEADER_ID_UNDEFINED}, meaning no id. 313 public long id = HEADER_ID_UNDEFINED; field in class:PreferenceActivity.Header 452 dest.writeLong(id); 474 id = in.readLong(); 512 mListFooter = (FrameLayout)findViewById(com.android.internal.R.id 967 onListItemClick(ListView l, View v, int position, long id) argument [all...] |
/frameworks/base/core/java/android/view/ |
H A D | ViewDebug.java | 440 // Look by id 441 final int id = root.getResources().getIdentifier(parameter, null, null); 442 return root.getRootView().findViewById(id); 654 final int id = view.getId(); 656 if (id != View.NO_ID) { 657 name = resolveId(view.getContext(), id).toString(); 959 final int id = (Integer) methodValue; 960 methodValue = resolveId(context, id); 1032 final int id = field.getInt(view); 1033 fieldValue = resolveId(context, id); 1167 resolveId(Context context, int id) argument [all...] |
/frameworks/base/core/java/android/webkit/ |
H A D | HTML5VideoViewProxy.java | 96 // http://b/issue?id=1973663 is fixed. 551 public void error(int id, String description) { argument
|
/frameworks/base/core/java/android/widget/ |
H A D | AdapterView.java | 81 * Row id to look for when data has changed 155 * The item id of the item to select during the next layout. 166 * The item id of the currently selected item. 193 * Represents an empty or invalid row id 203 * The id of the last selected position we used when notifying 260 * @param id The row id of the item that was clicked. 262 void onItemClick(AdapterView<?> parent, View view, int position, long id); argument 277 * been clicked, or null id no callback has been set. 288 * @param id Th 292 performItemClick(View view, int position, long id) argument 324 onItemLongClick(AdapterView<?> parent, View view, int position, long id) argument 368 onItemSelected(AdapterView<?> parent, View view, int position, long id) argument 403 AdapterContextMenuInfo(View targetView, int position, long id) argument 424 public long id; field in class:AdapterView.AdapterContextMenuInfo [all...] |
H A D | AutoCompleteTextView.java | 68 * findViewById(R.id.countries_list); 157 // Get the anchor's id now, but the view won't be ready, so wait to actually get the 230 mHintResource, null).findViewById(com.android.internal.R.id.text1); 311 * <p>Returns the id for the view that the auto-complete drop down list is anchored to.</p> 313 * @return the view's id, or {@link View#NO_ID} if none specified 323 * corresponding to this id will not be loaded until the next time it is needed to avoid 326 * @param id the id to anchor the drop down list view to 330 public void setDropDownAnchor(int id) { argument 331 mDropDownAnchorId = id; 364 setDropDownBackgroundResource(int id) argument 877 performCompletion(View selectedView, int position, long id) argument 1191 onItemClick(AdapterView parent, View v, int position, long id) argument [all...] |
H A D | ExpandableListView.java | 513 public boolean performItemClick(View v, int position, long id) { argument 517 return super.performItemClick(v, position, id); 522 return handleItemClick(v, adjustedPosition, id); 531 * @param id The ListAdapter ID, not the group or child ID. 533 boolean handleItemClick(View v, int position, long id) { argument 536 id = getChildOrGroupId(posMetadata.position); 545 posMetadata.position.groupPos, id)) { 584 posMetadata.position.childPos, id); 702 * @param id The row id o 705 onGroupClick(ExpandableListView parent, View v, int groupPosition, long id) argument 732 onChildClick(ExpandableListView parent, View v, int groupPosition, int childPosition, long id) argument 985 createContextMenuInfo(View view, int flatListPosition, long id) argument 1085 ExpandableListContextMenuInfo(View targetView, long packedPosition, long id) argument 1110 public long id; field in class:ExpandableListView.ExpandableListContextMenuInfo [all...] |
H A D | Gallery.java | 1097 long id = getItemIdAtPosition(mDownTouchPosition); 1098 dispatchLongPress(mDownTouchView, mDownTouchPosition, id); 1174 private boolean dispatchLongPress(View view, int position, long id) { argument 1179 mDownTouchPosition, id); 1183 mContextMenuInfo = new AdapterContextMenuInfo(view, position, id);
|
H A D | ProgressBar.java | 98 * mProgress = (ProgressBar) findViewById(R.id.progress_bar); 323 int id = background.getId(i); 325 (id == R.id.progress || id == R.id.secondaryProgress)); 543 doRefreshProgress(R.id.progress, mProgress, false, false); 544 doRefreshProgress(R.id.secondaryProgress, mSecondaryProgress, false, false); 598 doRefreshProgress(rd.id, rd.progress, rd.fromUser, true); 608 public int id; field in class:ProgressBar.RefreshData 632 obtain(int id, int progress, boolean fromUser) argument 665 doRefreshProgress(int id, int progress, boolean fromUser, boolean callBackToApp) argument 696 refreshProgress(int id, int progress, boolean fromUser) argument [all...] |
H A D | RemoteViewsAdapter.java | 106 // If a new RemoteViewsAdapter with the same intent / widget id isn't constructed within this 409 // A mapping from type id to a set of unique type ids 449 // We +1 because the loading view always has view type id of 0 481 loadingView.setTagInternal(com.android.internal.R.id.rowTypeId, 536 public void set(RemoteViews v, long id) { argument 537 itemId = id; 836 // Strip the previously injected app widget id from service intent 1123 * Returns the item type id for the specified convert view. Returns -1 if the convert view 1129 Object tag = convertView.getTag(com.android.internal.R.id.rowTypeId); 1200 newView.setTagInternal(com.android.internal.R.id [all...] |
/frameworks/base/core/java/com/android/internal/app/ |
H A D | MediaRouteChooserDialogFragment.java | 178 mVolumeIcon = (ImageView) layout.findViewById(R.id.volume_icon); 179 mVolumeSlider = (SeekBar) layout.findViewById(R.id.volume_slider); 184 final View extendedSettingsButton = layout.findViewById(R.id.extended_settings); 189 final ListView list = (ListView) layout.findViewById(R.id.list); 419 holder.text1 = (TextView) convertView.findViewById(R.id.text1); 420 holder.text2 = (TextView) convertView.findViewById(R.id.text2); 421 holder.icon = (ImageView) convertView.findViewById(R.id.icon); 422 holder.check = (CheckBox) convertView.findViewById(R.id.check); 424 R.id.expand_button); 507 public void onItemClick(AdapterView<?> parent, View view, int position, long id) { argument [all...] |