Searched defs:id (Results 276 - 300 of 397) sorted by relevance

<<111213141516

/frameworks/native/libs/utils/
H A DRefBase.cpp70 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/opt/photoviewer/src/com/android/ex/photo/
H A DPhotoViewActivity.java193 mViewPager = (PhotoViewPager) findViewById(R.id.photo_view_pager);
249 case android.R.id.home:
300 public Loader<Cursor> onCreateLoader(int id, Bundle args) { argument
301 if (id == LOADER_PHOTO_LIST) {
309 final int id = loader.getId();
310 if (id == LOADER_PHOTO_LIST) {
/frameworks/support/renderscript/v8/java/src/android/support/v8/renderscript/
H A DAllocation.java137 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/base/media/java/android/media/
H A DTimedText.java257 * @param id the font ID.
260 public Font(int id, String name) { argument
261 this.ID = id;
598 int id = parcel.readInt();
604 Font font = new Font(id, name);
/frameworks/base/media/java/android/media/audiofx/
H A DVisualizer.java187 int[] id = new int[1];
192 int result = native_setup(new WeakReference<Visualizer>(this), audioSession, id);
203 mId = id[0];
625 int[] id);
623 native_setup(Object audioeffect_this, int audioSession, int[] id) argument
/frameworks/base/media/jni/
H A Dandroid_media_MediaProfiles.cpp173 android_media_MediaProfiles_native_get_camcorder_profile(JNIEnv *env, jobject thiz, jint id, jint quality) argument
175 ALOGV("native_get_camcorder_profile: %d %d", id, quality);
182 int duration = sProfiles->getCamcorderProfileParamByName("duration", id, q);
183 int fileFormat = sProfiles->getCamcorderProfileParamByName("file.format", id, q);
184 int videoCodec = sProfiles->getCamcorderProfileParamByName("vid.codec", id, q);
185 int videoBitRate = sProfiles->getCamcorderProfileParamByName("vid.bps", id, q);
186 int videoFrameRate = sProfiles->getCamcorderProfileParamByName("vid.fps", id, q);
187 int videoFrameWidth = sProfiles->getCamcorderProfileParamByName("vid.width", id, q);
188 int videoFrameHeight = sProfiles->getCamcorderProfileParamByName("vid.height", id, q);
189 int audioCodec = sProfiles->getCamcorderProfileParamByName("aud.codec", id,
222 android_media_MediaProfiles_native_has_camcorder_profile(JNIEnv *env, jobject thiz, jint id, jint quality) argument
[all...]
/frameworks/av/media/libmedia/
H A DAudioSystem.cpp708 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 DIAudioFlinger.cpp539 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 DMtpServer.cpp136 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 DDialog.java454 * 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 DFragmentManager.java160 * 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 DContentResolver.java439 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 DResources.java216 * @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 DXmlBlock.java142 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 DPreferenceActivity.java271 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 DViewDebug.java440 // 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 DHTML5VideoViewProxy.java96 // http://b/issue?id=1973663 is fixed.
551 public void error(int id, String description) { argument
/frameworks/base/core/java/android/widget/
H A DAdapterView.java81 * 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 DAutoCompleteTextView.java68 * 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 DExpandableListView.java513 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 DGallery.java1097 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 DProgressBar.java98 * 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 DRemoteViewsAdapter.java101 // If a new RemoteViewsAdapter with the same intent / widget id isn't constructed within this
369 // A mapping from type id to a set of unique type ids
409 // We +1 because the loading view always has view type id of 0
441 loadingView.setTagInternal(com.android.internal.R.id.rowTypeId,
496 public void set(RemoteViews v, long id) { argument
497 itemId = id;
764 // Strip the previously injected app widget id from service intent
1050 * Returns the item type id for the specified convert view. Returns -1 if the convert view
1056 Object tag = convertView.getTag(com.android.internal.R.id.rowTypeId);
1123 newView.setTagInternal(com.android.internal.R.id
[all...]
/frameworks/base/core/java/com/android/internal/app/
H A DMediaRouteChooserDialogFragment.java176 mVolumeIcon = (ImageView) layout.findViewById(R.id.volume_icon);
177 mVolumeSlider = (SeekBar) layout.findViewById(R.id.volume_slider);
182 final View extendedSettingsButton = layout.findViewById(R.id.extended_settings);
187 final ListView list = (ListView) layout.findViewById(R.id.list);
417 holder.text1 = (TextView) convertView.findViewById(R.id.text1);
418 holder.text2 = (TextView) convertView.findViewById(R.id.text2);
419 holder.icon = (ImageView) convertView.findViewById(R.id.icon);
420 holder.check = (CheckBox) convertView.findViewById(R.id.check);
422 R.id.expand_button);
505 public void onItemClick(AdapterView<?> parent, View view, int position, long id) { argument
[all...]
/frameworks/base/core/java/com/android/internal/view/menu/
H A DMenuBuilder.java276 final int id = presenter.getId();
277 if (id > 0) {
280 presenterStates.put(id, state);
299 final int id = presenter.getId();
300 if (id > 0) {
301 Parcelable parcel = presenterStates.get(id);
386 private MenuItem addInternal(int group, int id, int categoryOrder, CharSequence title) { argument
389 final MenuItemImpl item = new MenuItemImpl(this, group, id, categoryOrder,
411 public MenuItem add(int group, int id, int categoryOrder, CharSequence title) { argument
412 return addInternal(group, id, categoryOrde
415 add(int group, int id, int categoryOrder, int title) argument
427 addSubMenu(int group, int id, int categoryOrder, CharSequence title) argument
435 addSubMenu(int group, int id, int categoryOrder, int title) argument
439 addIntentOptions(int group, int id, int categoryOrder, ComponentName caller, Intent[] specifics, Intent intent, int flags, MenuItem[] outSpecificItems) argument
468 removeItem(int id) argument
597 findItem(int id) argument
615 findItemIndex(int id) argument
862 performIdentifierAction(int id, int flags) argument
[all...]

Completed in 377 milliseconds

<<111213141516