Searched refs:item (Results 201 - 225 of 364) sorted by relevance

1234567891011>>

/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
H A DGrid.java25 * To use the Grid, user must implement a Provider to create or remove visible item.
30 * uses size of visible item returned from Provider.createItem() to decide which row
31 * to add a new visible item and may cache the algorithm results. User must call
32 * invalidateItemsAfter() when it detects item size changed to ask Grid to remove cached
45 * the method to create item and remove item.
55 * Create visible item and where the provider should measure it.
57 * @param index 0-based index of the item in provider
58 * @param append True if new item is after last visible item, fals
63 createItem(int index, boolean append, Object[] item) argument
73 addItem(Object item, int index, int length, int rowIndex, int edge) argument
[all...]
H A DPresenter.java50 * public void onBindViewHolder(ViewHolder viewHolder, Object item) {
51 * String str = (String) item;
54 * textView.setText(item);
112 * Binds a {@link View} to an item.
114 public abstract void onBindViewHolder(ViewHolder viewHolder, Object item); argument
117 * Unbinds a {@link View} from an item. Any expensive references may be
118 * released here, and any fields that are not bound for every item should be
/frameworks/support/v7/appcompat/src/android/support/v7/internal/view/
H A DStandaloneActionMode.java136 public boolean onMenuItemSelected(MenuBuilder menu, MenuItem item) { argument
137 return mCallback.onActionItemClicked(this, item);
/frameworks/av/cmds/screenrecord/
H A DOverlay.h81 virtual void onFrameAvailable(const BufferItem& item);
/frameworks/av/services/camera/libcameraservice/api1/client2/
H A DZslProcessor.h57 virtual void onFrameAvailable(const BufferItem& item);
/frameworks/base/core/java/android/app/
H A DFragmentBreadCrumbs.java294 // If there's a parent entry, then return that for zero'th item, else top entry.
322 final View item = mInflater.inflate(mLayoutResId, this, false);
323 final TextView text = (TextView) item.findViewById(com.android.internal.R.id.title);
328 item.findViewById(com.android.internal.R.id.left_icon).setVisibility(View.GONE);
330 mContainer.addView(item);
/frameworks/base/core/java/android/service/textservice/
H A DSpellCheckerService.java426 final SentenceWordItem item = originalTextInfoParams.mItems.get(i);
430 if (cur != null && cur.getSequence() == item.mTextInfo.getSequence()) {
436 offsets[i] = item.mStart;
437 lengths[i] = item.mLength;
/frameworks/base/core/java/com/android/internal/view/menu/
H A DMenuPopupHelper.java340 public boolean expandItemActionView(MenuBuilder menu, MenuItemImpl item) { argument
344 public boolean collapseItemActionView(MenuBuilder menu, MenuItemImpl item) { argument
390 // Since a menu item's ID is optional, we'll use the position as an
391 // ID for the item in the AdapterView
414 final MenuItemImpl item = items.get(i);
415 if (item == expandedItem) {
/frameworks/native/include/gui/
H A DStreamSplitter.h77 virtual void onFrameAvailable(const BufferItem& item);
/frameworks/support/v7/appcompat/src/android/support/v7/internal/view/menu/
H A DMenuPopupHelper.java317 public boolean expandItemActionView(MenuBuilder menu, MenuItemImpl item) { argument
321 public boolean collapseItemActionView(MenuBuilder menu, MenuItemImpl item) { argument
367 // Since a menu item's ID is optional, we'll use the position as an
368 // ID for the item in the AdapterView
391 final MenuItemImpl item = items.get(i);
392 if (item == expandedItem) {
/frameworks/base/core/java/android/speech/tts/
H A DTextToSpeechService.java518 // Stop the current speech item
527 * Adds a speech item to the queue.
598 // Note that the current speech item must be removed only if it
599 // belongs to the callingApp, else the item will be "orphaned" and
600 // not stopped correctly if a stop request comes along for the item
625 // Stop the current speech item unconditionally .
735 * An item in the synth thread queue.
763 * Checker whether the item is valid. If this method returns false, the item should not
769 * Plays the speech item
[all...]
/frameworks/base/core/java/android/webkit/
H A DFindActionModeCallback.java234 public boolean onActionItemClicked(ActionMode mode, MenuItem item) { argument
240 switch(item.getItemId()) {
302 public boolean onActionItemClicked(ActionMode mode, MenuItem item) { argument
/frameworks/base/core/java/com/android/internal/app/
H A DLocalePicker.java179 LocaleInfo item = getItem(position);
180 text.setText(item.toString());
181 text.setTextLocale(item.getLocale());
/frameworks/base/packages/SystemUI/src/com/android/systemui/tuner/
H A DDemoModeFragment.java87 public boolean onOptionsItemSelected(MenuItem item) { argument
88 switch (item.getItemId()) {
93 return super.onOptionsItemSelected(item);
H A DTunerFragment.java156 public boolean onOptionsItemSelected(MenuItem item) { argument
157 switch (item.getItemId()) {
170 return super.onOptionsItemSelected(item);
/frameworks/base/samples/training/network-usage/src/com/example/android/networkusage/
H A DNetworkActivity.java176 public boolean onOptionsItemSelected(MenuItem item) { argument
177 switch (item.getItemId()) {
186 return super.onOptionsItemSelected(item);
/frameworks/base/test-runner/src/android/test/suitebuilder/
H A DTestGrouping.java171 for (T item : items) {
172 if (predicate.apply(item)) {
173 selectedItems.add(item);
/frameworks/base/tests/LocationTracker/src/com/android/locationtracker/
H A DTrackerActivity.java88 * Handles menu item selection
90 * @param item - the selected menu item
93 public boolean onOptionsItemSelected(MenuItem item) { argument
94 switch (item.getItemId()) {
122 return super.onOptionsItemSelected(item);
/frameworks/base/tests/appwidgets/AppWidgetHostTest/src/com/android/tests/appwidgethost/
H A DAppWidgetHostActivity.java173 public boolean onContextItemSelected(MenuItem item) { argument
174 MyAppWidgetView view = (MyAppWidgetView)item.getMenuInfo();
175 switch (item.getItemId()) {
/frameworks/base/tools/aapt2/
H A DBinaryResourceParser.cpp75 for (auto& item : array.items) {
76 item->accept(*this, {});
81 for (auto& item : plural.values) {
82 if (item) {
83 item->accept(*this, {});
871 std::unique_ptr<Item> item = parseValue(name, config, &mapEntry.value, 0); local
875 plural->values[Plural::Zero] = std::move(item);
878 plural->values[Plural::One] = std::move(item);
881 plural->values[Plural::Two] = std::move(item);
884 plural->values[Plural::Few] = std::move(item);
[all...]
/frameworks/base/tools/aidl/
H A Daidl.cpp876 interface_item_type* item = first_item; local
879 while (item != NULL) {
880 if (item->item_type == METHOD_TYPE) {
881 method_type* method_item = (method_type*)item;
915 item = item->next;
921 item = first_item;
922 while (item != NULL) {
923 if (item->item_type == METHOD_TYPE) {
924 method_type* method_item = (method_type*)item;
[all...]
/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/reflection/
H A DSdkUtil.java105 NodeList allClasses = mDoc.getChildNodes().item(0).getChildNodes();
107 Node node = allClasses.item(j);
118 Node child = childNodes.item(i);
/frameworks/data-binding/samples/BindingDemo/app/src/main/java/com/android/example/bindingdemo/
H A DMainActivity.java123 public boolean onOptionsItemSelected(MenuItem item) { argument
124 // Handle action bar item clicks here. The action bar will
127 int id = item.getItemId();
134 return super.onOptionsItemSelected(item);
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/
H A DValueParser.java111 Item item = null;
124 item = new Item(id, text);
130 return item;
178 * Retrieves item icons id from an Icon Identifier List COMPREHENSION-TLV
/frameworks/rs/java/tests/RsBLAS_Benchmark/src/com/example/android/rs/blasbenchmark/
H A DBlasControls.java201 public boolean onOptionsItemSelected(MenuItem item) { argument
203 switch(item.getItemId()) {
209 return super.onOptionsItemSelected(item);

Completed in 912 milliseconds

1234567891011>>