Searched defs:item (Results 1 - 25 of 185) sorted by relevance

12345678

/frameworks/base/core/java/android/content/pm/
H A DXmlSerializerAndParser.java27 void writeAsXml(T item, XmlSerializer out) throws IOException; argument
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
H A DOnItemClickedListener.java19 * Interface for receiving notification when a item is clicked.
25 public void onItemClicked(Object item, Row row); argument
H A DOnItemSelectedListener.java17 * Interface for receiving notification when a row or item becomes selected.
23 * Called when the a row or a new item becomes selected. The concept of current selection
24 * is different than focus. Row or item can be selected even they don't have focus.
26 * item or selected row when user selects rows outside row UI (e.g. headers left of
29 * For a none {@link ListRow} case, parameter item is always null. Event is fired when
32 * For a {@link ListRow} case, parameter item can be null if the list row is empty.
42 * focused item in the row.
45 * @param item The item that is currently selected.
48 public void onItemSelected(Object item, Ro argument
[all...]
H A DPresenterSelector.java21 * Returns a presenter for the given item.
23 public abstract Presenter getPresenter(Object item); argument
H A DSinglePresenterSelector.java25 * @param presenter The Presenter to return for every item.
32 public Presenter getPresenter(Object item) { argument
H A DClassPresenterSelector.java19 * A ClassPresenterSelector selects a {@link Presenter} based on the item's
31 public Presenter getPresenter(Object item) { argument
32 Class<?> cls = item.getClass();
H A DOnItemViewClickedListener.java17 * Interface for receiving notification when a item view holder is clicked.
21 public void onItemClicked(Presenter.ViewHolder itemViewHolder, Object item, argument
H A DOnItemViewSelectedListener.java17 * Interface for receiving notification when a row or item becomes selected.
21 * Called when the a row or a new item becomes selected. The concept of current selection
22 * is different than focus. Row or item can be selected even they don't have focus.
24 * item or selected row when user selects rows outside row UI (e.g. headers left of
27 * For a none {@link ListRow} case, parameter item is always null. Event is fired when
30 * For a {@link ListRow} case, parameter item can be null if the list row is empty.
40 * focused item in the row.
43 * @param itemViewHolder The view holder of item that is currently selected.
44 * @param item The item tha
48 onItemSelected(Presenter.ViewHolder itemViewHolder, Object item, RowPresenter.ViewHolder rowViewHolder, Row row) argument
[all...]
H A DPresenter.java40 * public void onBindViewHolder(ViewHolder viewHolder, Object item) {
41 * String str = (String) item;
44 * textView.setText(item);
75 * Binds a {@link View} to an item.
77 public abstract void onBindViewHolder(ViewHolder viewHolder, Object item); argument
80 * Unbinds a {@link View} from an item. Any expensive references may be
81 * released here, and any fields that are not bound for every item should be
/frameworks/support/v4/ics/android/support/v4/app/
H A DShareCompatICS.java28 public static void configureMenuItem(MenuItem item, Activity callingActivity, Intent intent) { argument
29 ActionProvider itemProvider = item.getActionProvider();
39 item.setActionProvider(provider);
/frameworks/support/v4/java/android/support/v4/view/
H A DMenuCompat.java33 public static void setShowAsAction(MenuItem item, int actionEnum) { argument
34 MenuItemCompat.setShowAsAction(item, actionEnum);
/frameworks/base/tests/MusicServiceDemo/src/com/example/android/musicservicedemo/
H A DMainActivity.java68 public boolean onOptionsItemSelected(MenuItem item) { argument
69 // Handle action bar item clicks here. The action bar will
72 int id = item.getItemId();
76 return super.onOptionsItemSelected(item);
/frameworks/base/tests/RenderScriptTests/PerfTest/src/com/android/perftest/
H A DRsBench.java93 public boolean onOptionsItemSelected(MenuItem item) { argument
94 // Handle item selection
95 switch (item.getItemId()) {
106 public void onClick(DialogInterface dialog, int item) {
108 "Starting to benchmark: " + mView.getTestNames()[item],
110 mView.setBenchmarkMode(item);
122 public void onClick(DialogInterface dialog, int item) {
124 "Switching to: " + mView.getTestNames()[item],
126 mView.setDebugMode(item);
133 return super.onOptionsItemSelected(item);
[all...]
/frameworks/base/tools/layoutlib/bridge/tests/res/testApp/MyApplication/src/main/java/com/android/layoutlib/test/myapplication/
H A DMyActivity.java25 public boolean onOptionsItemSelected(MenuItem item) { argument
26 // Handle action bar item clicks here. The action bar will
29 int id = item.getItemId();
33 return super.onOptionsItemSelected(item);
/frameworks/compile/libbcc/lib/Renderscript/
H A DRSInfoWriter.cpp120 ItemType item; local
125 if (!helper_adapt_list_item<ItemType, ItemContainer>(item,
130 // And write out an item.
131 if (pOutput.write(&item, sizeof(item)) != sizeof(item)) {
132 ALOGE("Cannot write out item of %s for RSInfo file %s! (%s)",
/frameworks/native/libs/gui/
H A DBufferQueue.cpp35 const android::BufferItem& item) {
38 listener->onFrameAvailable(item);
34 onFrameAvailable( const android::BufferItem& item) argument
H A DIConsumerListener.cpp43 virtual void onFrameAvailable(const BufferItem& item) { argument
46 data.write(item);
73 BufferItem item; local
74 data.read(item);
75 onFrameAvailable(item);
/frameworks/support/v4/honeycomb/android/support/v4/view/
H A DMenuItemCompatHoneycomb.java26 public static void setShowAsAction(MenuItem item, int actionEnum) { argument
27 item.setShowAsAction(actionEnum);
30 public static MenuItem setActionView(MenuItem item, View view) { argument
31 return item.setActionView(view);
34 public static MenuItem setActionView(MenuItem item, int resId) { argument
35 return item.setActionView(resId);
38 public static View getActionView(MenuItem item) { argument
39 return item.getActionView();
/frameworks/base/core/java/android/content/
H A DSyncAdaptersCache.java80 public void writeAsXml(SyncAdapterType item, XmlSerializer out) throws IOException { argument
81 out.attribute(null, "authority", item.authority);
82 out.attribute(null, "accountType", item.accountType);
/frameworks/base/services/core/java/com/android/server/accounts/
H A DAccountAuthenticatorCache.java84 public void writeAsXml(AuthenticatorDescription item, XmlSerializer out) argument
86 out.attribute(null, "type", item.type);
/frameworks/base/tests/RenderScriptTests/ModelViewer/src/com/android/modelviewer/
H A DSimpleModel.java80 public boolean onOptionsItemSelected(MenuItem item) { argument
81 // Handle item selection
82 switch (item.getItemId()) {
92 return super.onOptionsItemSelected(item);
/frameworks/base/tests/RenderScriptTests/SceneGraph/src/com/android/testapp/
H A DTestApp.java81 public boolean onOptionsItemSelected(MenuItem item) { argument
82 // Handle item selection
83 switch (item.getItemId()) {
91 return super.onOptionsItemSelected(item);
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/binding/
H A DAdapterHelper.java42 static Pair<View, Boolean> getView(AdapterItem item, AdapterItem parentItem, ViewGroup parent, argument
45 DataBindingItem dataBindingItem = item.getDataBindingItem();
56 fillView(context, view, item, parentItem, callback, adapterRef);
67 private static void fillView(BridgeContext context, View view, AdapterItem item, argument
73 fillView(context, group.getChildAt(i), item, parentItem, callback, adapterRef);
80 int fullPosition = item.getFullPosition();
81 int positionPerType = item.getPositionPerType();
90 item.getDataBindingItem().getViewReference(),
110 item.getDataBindingItem().getViewReference(),
130 item
[all...]
/frameworks/support/v4/ics/android/support/v4/view/
H A DMenuItemCompatIcs.java23 public static boolean expandActionView(MenuItem item) { argument
24 return item.expandActionView();
27 public static boolean collapseActionView(MenuItem item) { argument
28 return item.collapseActionView();
31 public static boolean isActionViewExpanded(MenuItem item) { argument
32 return item.isActionViewExpanded();
35 public static MenuItem setOnActionExpandListener(MenuItem item, argument
37 return item.setOnActionExpandListener(new OnActionExpandListenerWrapper(listener));
46 boolean onMenuItemActionExpand(MenuItem item); argument
47 boolean onMenuItemActionCollapse(MenuItem item); argument
59 onMenuItemActionExpand(MenuItem item) argument
64 onMenuItemActionCollapse(MenuItem item) argument
[all...]
/frameworks/av/drm/common/
H A DDrmSupportInfo.cpp51 const String8 item = mMimeTypeVector.itemAt(i); local
53 if (!strcasecmp(item.string(), mimeType.string())) {
62 const String8 item = mFileSuffixVector.itemAt(i); local
64 if (!strcasecmp(item.string(), fileType.string())) {

Completed in 616 milliseconds

12345678