/frameworks/support/v7/appcompat/src/android/support/v7/internal/app/ |
H A D | NavItemSelectedListener.java | 38 public void onItemSelected(AdapterView<?> parent, View view, int position, long id) { argument 40 mListener.onNavigationItemSelected(position, id);
|
/frameworks/support/v7/appcompat/src/android/support/v7/internal/view/menu/ |
H A D | ActionMenuItem.java | 63 public ActionMenuItem(Context context, int group, int id, int categoryOrder, int ordering, argument 66 mId = id;
|
H A D | BaseMenuPresenter.java | 234 public void setId(int id) { argument 235 mId = id;
|
H A D | BaseMenuWrapper.java | 110 final void internalRemoveItem(final int id) { argument 120 if (id == menuItem.getItemId()) {
|
H A D | ExpandedMenuView.java | 88 public void onItemClick(AdapterView parent, View v, int position, long id) { argument
|
H A D | ListMenuPresenter.java | 168 public void onItemClick(AdapterView<?> parent, View view, int position, long id) { argument 200 public void setId(int id) { argument 201 mId = id;
|
H A D | MenuBuilder.java | 322 final int id = presenter.getId(); 323 if (id > 0) { 326 presenterStates.put(id, state); 345 final int id = presenter.getId(); 346 if (id > 0) { 347 Parcelable parcel = presenterStates.get(id); 432 protected MenuItem addInternal(int group, int id, int categoryOrder, CharSequence title) { argument 435 final MenuItemImpl item = createNewMenuItem(group, id, categoryOrder, ordering, title, 450 private MenuItemImpl createNewMenuItem(int group, int id, int categoryOrder, int ordering, argument 452 return new MenuItemImpl(this, group, id, categoryOrde 466 add(int group, int id, int categoryOrder, CharSequence title) argument 471 add(int group, int id, int categoryOrder, int title) argument 486 addSubMenu(int group, int id, int categoryOrder, CharSequence title) argument 495 addSubMenu(int group, int id, int categoryOrder, int title) argument 500 addIntentOptions(int group, int id, int categoryOrder, ComponentName caller, Intent[] specifics, Intent intent, int flags, MenuItem[] outSpecificItems) argument 530 removeItem(int id) argument 670 findItem(int id) argument 688 findItemIndex(int id) argument 942 performIdentifierAction(int id, int flags) argument [all...] |
H A D | MenuItemImpl.java | 115 * @param id Unique item ID. Use 0 if you do not need a unique ID. 119 MenuItemImpl(MenuBuilder menu, int group, int id, int categoryOrder, int ordering, argument 135 mId = id;
|
H A D | MenuPopupHelper.java | 189 public void onItemClick(AdapterView<?> parent, View view, int position, long id) { argument
|
H A D | MenuWrapperICS.java | 101 public void removeItem(int id) { argument 102 internalRemoveItem(id); 103 mWrappedObject.removeItem(id); 139 public MenuItem findItem(int id) { argument 140 return getMenuItemWrapper(mWrappedObject.findItem(id)); 169 public boolean performIdentifierAction(int id, int flags) { argument 170 return mWrappedObject.performIdentifierAction(id, flags);
|
/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/ |
H A D | ActivityChooserView.java | 232 mActivityChooserContent = (LinearLayoutCompat) findViewById(R.id.activity_chooser_view_content); 235 mDefaultActivityButton = (FrameLayout) findViewById(R.id.default_activity_button); 238 mDefaultActivityButtonImage = (ImageView) mDefaultActivityButton.findViewById(R.id.image); 240 final FrameLayout expandButton = (FrameLayout) findViewById(R.id.expand_activities_button); 262 (ImageView) expandButton.findViewById(R.id.image); 313 * @param resourceId The content description resource id. 493 * @param resourceId The resource id. 558 public void onItemClick(AdapterView<?> parent, View view, int position, long id) { argument 727 TextView titleView = (TextView) convertView.findViewById(R.id.title); 733 if (convertView == null || convertView.getId() != R.id [all...] |
H A D | ResourcesWrapper.java | 54 public CharSequence getText(int id) throws NotFoundException { argument 55 return mResources.getText(id); 59 public CharSequence getQuantityText(int id, int quantity) throws NotFoundException { argument 60 return mResources.getQuantityText(id, quantity); 64 public String getString(int id) throws NotFoundException { argument 65 return mResources.getString(id); 69 public String getString(int id, Object... formatArgs) throws NotFoundException { argument 70 return mResources.getString(id, formatArgs); 74 public String getQuantityString(int id, int quantity, Object... formatArgs) argument 76 return mResources.getQuantityString(id, quantit 80 getQuantityString(int id, int quantity) argument 85 getText(int id, CharSequence def) argument 90 getTextArray(int id) argument 95 getStringArray(int id) argument 100 getIntArray(int id) argument 105 obtainTypedArray(int id) argument 110 getDimension(int id) argument 115 getDimensionPixelOffset(int id) argument 120 getDimensionPixelSize(int id) argument 125 getFraction(int id, int base, int pbase) argument 130 getDrawable(int id) argument 135 getDrawable(int id, Theme theme) argument 140 getDrawableForDensity(int id, int density) argument 145 getDrawableForDensity(int id, int density, Theme theme) argument 150 getMovie(int id) argument 155 getColor(int id) argument 160 getColorStateList(int id) argument 165 getBoolean(int id) argument 170 getInteger(int id) argument 175 getLayout(int id) argument 180 getAnimation(int id) argument 185 getXml(int id) argument 190 openRawResource(int id) argument 195 openRawResource(int id, TypedValue value) argument 200 openRawResourceFd(int id) argument 205 getValue(int id, TypedValue outValue, boolean resolveRefs) argument 211 getValueForDensity(int id, int density, TypedValue outValue, boolean resolveRefs) argument [all...] |
H A D | ScrollingTabContainerView.java | 369 public void onItemSelected(AdapterView<?> adapterView, View view, int position, long id) { argument
|
H A D | TintContextWrapper.java | 71 public Drawable getDrawable(int id) throws NotFoundException { argument 72 Drawable d = super.getDrawable(id); 74 mTintManager.tintDrawableUsingColorFilter(id, d);
|
/frameworks/support/v7/mediarouter/src/android/support/v7/app/ |
H A D | MediaRouteChooserDialog.java | 153 mListView = (ListView)findViewById(R.id.media_route_list); 156 mListView.setEmptyView(findViewById(android.R.id.empty)); 215 TextView text1 = (TextView)view.findViewById(android.R.id.text1); 216 TextView text2 = (TextView)view.findViewById(android.R.id.text2); 231 public void onItemClick(AdapterView<?> parent, View view, int position, long id) { argument
|
/frameworks/support/v7/mediarouter/src/android/support/v7/media/ |
H A D | MediaRouteDescriptor.java | 32 * Each route is uniquely identified by an opaque id string. This token 39 private static final String KEY_ID = "id"; 64 * Gets the unique id of the route. 66 * The route id associated with a route descriptor functions as a stable 186 * Gets the route's presentation display id, or -1 if none. 218 result.append("id=").append(getId()); 265 * @param id The unique id of the route. 268 public Builder(String id, String name) { argument 270 setId(id); 299 setId(String id) argument [all...] |
H A D | MediaRouter.java | 849 * Gets the unique id of the route. 851 * The route unique id functions as a stable identifier by which the route is known. 852 * For example, an application can use this id as a token to remember the 856 * @return The unique id of the route, never null. 1422 int findRouteByDescriptorId(String id) { argument 1425 if (mRoutes.get(i).mDescriptorId.equals(id)) { 1935 final String id = routeDescriptor.getId(); 1936 final int sourceIndex = provider.findRouteByDescriptorId(id); 1939 String uniqueId = assignRouteUniqueId(provider, id); 1940 RouteInfo route = new RouteInfo(provider, id, uniqueI 2158 getSystemRouteByDescriptorId(String id) argument [all...] |
H A D | SystemMediaRouteProvider.java | 96 public MediaRouter.RouteInfo getSystemRouteByDescriptorId(String id); argument 321 String id = assignRouteId(routeObj); 322 SystemRouteRecord record = new SystemRouteRecord(routeObj, id); 331 // TODO: The framework media router should supply a unique route id that 335 String id = isDefault ? DEFAULT_ROUTE_ID : 337 if (findSystemRouteRecordByDescriptorId(id) < 0) { 338 return id; 341 String newId = String.format(Locale.US, "%s_%d", id, i); 543 protected int findSystemRouteRecordByDescriptorId(String id) { argument 546 if (mSystemRouteRecords.get(i).mRouteDescriptorId.equals(id)) { 668 SystemRouteRecord(Object routeObj, String id) argument [all...] |
/frameworks/support/v7/preference/src/android/support/v7/preference/ |
H A D | PreferenceViewHolder.java | 36 mCachedViews.put(android.R.id.title, itemView.findViewById(android.R.id.title)); 37 mCachedViews.put(android.R.id.summary, itemView.findViewById(android.R.id.summary)); 38 mCachedViews.put(android.R.id.icon, itemView.findViewById(android.R.id.icon)); 39 mCachedViews.put(R.id.icon_frame, itemView.findViewById(R.id.icon_frame)); 46 * @param id Resource ID of the view to find 49 public View findViewById(@IdRes int id) { argument [all...] |
/frameworks/support/v7/recyclerview/jvm-tests/src/android/support/v7/util/ |
H A D | SortedListTest.java | 103 return item1.id == item2.id; 138 Item item2 = new Item(item.id, item.cmpField); 220 Item newItem = new Item(item.id, item.cmpField); 237 Item newItem = new Item(item.id, random.nextInt()); 277 int id = idFrom; 279 Item item = new Item(id, id); 280 item.data = id; 282 id 721 final int id; field in class:SortedListTest.Item 737 Item(int id, int cmpField) argument [all...] |
/frameworks/support/v7/recyclerview/jvm-tests/src/android/support/v7/widget/ |
H A D | AdapterHelperTest.java | 1138 private final int id; field in class:AdapterHelperTest.TestAdapter.Item 1145 id = itemCounter.incrementAndGet();
|
H A D | OpReorderTest.java | 324 Item.idCounter = originalAdded.get(0).id; 362 if (item.id == clone.id && item.version == clone.version) { 625 int id; field in class:OpReorderTest.Item 628 Item(int id, int version) { argument 629 this.id = id; 638 return new Item(other.id, other.version); 642 assertEquals(logPrefix + "\n" + item1 + " vs " + item2, item1.id, item2.id); [all...] |
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/ |
H A D | RecyclerView.java | 2186 Log.e(TAG, "Error processing scroll; pointer index for id " + 2297 Log.e(TAG, "Error processing scroll; pointer index for id " + 3023 * It might be child's position or stable id depending on the adapter type. 3555 * Return the stable item id that the given child view corresponds to. 3558 * @return Item id corresponding to the given view or {@link #NO_ID} 3645 * Return the ViewHolder for the item with the given id. The RecyclerView must 3650 * <code>id</code> is not laid out, it <em>will not</em> create a new one. 3652 * @param id The id for the requested item 3653 * @return The ViewHolder with the given <code>id</cod 3655 findViewHolderForItemId(long id) argument 4922 getScrapViewForId(long id, int type, boolean dryRun) argument [all...] |
/frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/ |
H A D | Allocation.java | 222 MipmapControl(int id) { argument 223 mID = id; 234 public void setIncAllocID(long id) { argument 235 mIncCompatAllocation = id; 307 Allocation(long id, RenderScript rs, Type t, int usage) { argument 308 super(id, rs); 1742 long id = rs.nAllocationCreateTyped(type.getID(rs), mips.mID, usage, 0); 1743 if (id == 0) { 1746 return new Allocation(id, rs, type, usage); 1795 long id 2110 createFromBitmapResource(RenderScript rs, Resources res, int id, MipmapControl mips, int usage) argument 2140 createFromBitmapResource(RenderScript rs, Resources res, int id) argument [all...] |
H A D | BaseObj.java | 29 BaseObj(long id, RenderScript rs) { argument 32 mID = id; 36 void setID(long id) { argument 40 mID = id; 58 throw new RSRuntimeException("Internal error: Object id 0.");
|