Searched refs:item (Results 151 - 175 of 364) sorted by relevance

1234567891011>>

/frameworks/native/libs/gui/
H A DBufferQueueProducer.cpp579 BufferItem item; local
640 item.mAcquireCalled = mSlots[slot].mAcquireCalled;
641 item.mGraphicBuffer = mSlots[slot].mGraphicBuffer;
642 item.mCrop = crop;
643 item.mTransform = transform &
645 item.mTransformToDisplayInverse =
647 item.mScalingMode = static_cast<uint32_t>(scalingMode);
648 item.mTimestamp = timestamp;
649 item.mIsAutoTimestamp = isAutoTimestamp;
650 item
[all...]
H A DGLConsumer.cpp214 BufferItem item; local
219 err = acquireBufferLocked(&item, 0);
234 err = updateAndReleaseLocked(item);
346 status_t GLConsumer::acquireBufferLocked(BufferItem *item, argument
348 status_t err = ConsumerBase::acquireBufferLocked(item, presentWhen,
354 // If item->mGraphicBuffer is not null, this buffer has not been acquired
357 if (item->mGraphicBuffer != NULL) {
358 int slot = item->mBuf;
359 mEglSlots[slot].mEglImage = new EglImage(item->mGraphicBuffer);
378 status_t GLConsumer::updateAndReleaseLocked(const BufferItem& item) argument
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
H A DKeyguardUserSwitcher.java246 UserSwitcherController.UserRecord item = getItem(position);
256 String name = getName(mContext, item);
257 if (item.picture == null) {
258 v.bind(name, getDrawable(mContext, item));
260 v.bind(name, item.picture);
262 convertView.setActivated(item.isCurrent);
263 convertView.setTag(item);
/frameworks/base/tools/aapt2/
H A DLinker.cpp271 for (auto& item : array.items) {
272 item->accept(*this, Args{ args.referrer, args.source });
279 for (auto& item : plural.values) {
280 if (item) {
281 item->accept(*this, Args{ args.referrer, args.source });
/frameworks/av/media/libmedia/
H A DIResourceManagerService.cpp52 T item; local
53 item.readFromParcel(data);
54 items->add(item);
/frameworks/base/core/java/android/content/
H A DSyncAdaptersCache.java142 public void writeAsXml(SyncAdapterType item, XmlSerializer out) throws IOException { argument
143 out.attribute(null, "authority", item.authority);
144 out.attribute(null, "accountType", item.accountType);
/frameworks/base/core/java/android/preference/
H A DPreferenceScreen.java137 * {@link #getRootAdapter()}. It also handles passing list item clicks to the corresponding
210 Object item = getRootAdapter().getItem(position);
211 if (!(item instanceof Preference)) return;
213 final Preference preference = (Preference) item;
/frameworks/base/core/java/android/widget/
H A DPopupMenu.java147 * currently touched list item.
230 * Set a listener that will be notified when the user selects an item from the menu.
250 public boolean onMenuItemSelected(MenuBuilder menu, MenuItem item) { argument
252 return mMenuItemClickListener.onMenuItemClick(item);
294 * Interface responsible for receiving menu item click events if the items themselves
295 * do not have individual item click listeners.
299 * This method will be invoked when a menu item is clicked if the item itself did
302 * @param item {@link MenuItem} that was clicked
305 public boolean onMenuItemClick(MenuItem item); argument
[all...]
H A DArrayAdapter.java47 * of your objects to determine what text will be displayed for the item in the list.
348 * Returns the position of the specified item in the array.
350 * @param item The item to retrieve the position of.
352 * @return The position of the specified item.
354 public int getPosition(T item) { argument
355 return mObjects.indexOf(item);
397 T item = getItem(position);
398 if (item instanceof CharSequence) {
399 text.setText((CharSequence)item);
[all...]
/frameworks/base/tests/UsageStatsTest/src/com/android/tests/usagestats/
H A DUsageStatsActivity.java67 public boolean onOptionsItemSelected(MenuItem item) { argument
68 switch (item.getItemId()) {
74 return super.onOptionsItemSelected(item);
/frameworks/base/wifi/java/android/net/wifi/p2p/
H A DWifiP2pGroupList.java64 for (Map.Entry<Integer, WifiP2pGroup> item : source.mGroups.snapshot().entrySet()) {
65 mGroups.put(item.getKey(), item.getValue());
/frameworks/data-binding/compiler/src/test/java/android/databinding/tool/
H A DLayoutBinderTest.java96 Expr item = mExprModel.getBindingExpressions().get(0);
97 assertTrue(item instanceof FieldAccessExpr);
99 FieldAccessExpr fa = (FieldAccessExpr) item;
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/
H A DCommandParams.java167 for (Item item : mMenu.items) {
168 if (item.icon != null) {
171 item.icon = icon;
H A DMenu.java64 Item item = in.readParcelable(null);
65 items.add(item);
/frameworks/support/v17/tests/src/android/support/v17/leanback/widget/
H A DPresenterTest.java77 protected void onBindDescription(ViewHolder vh, Object item) {
87 Object item = new Object();
88 PlaybackControlsRow controlsRow = new PlaybackControlsRow(item);
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
H A DPopupMenu.java145 * currently touched list item.
228 * Set a listener that will be notified when the user selects an item from the menu.
248 public boolean onMenuItemSelected(MenuBuilder menu, MenuItem item) { argument
250 return mMenuItemClickListener.onMenuItemClick(item);
292 * Interface responsible for receiving menu item click events if the items themselves
293 * do not have individual item click listeners.
297 * This method will be invoked when a menu item is clicked if the item itself did
300 * @param item {@link MenuItem} that was clicked
303 public boolean onMenuItemClick(MenuItem item); argument
[all...]
/frameworks/support/design/src/android/support/design/widget/
H A DNavigationView.java145 public boolean onMenuItemSelected(MenuBuilder menu, MenuItem item) {
146 return mListener != null && mListener.onNavigationItemSelected(item);
191 * Set a listener that will be notified when a menu item is clicked.
268 * Returns the tint which is applied to our item's icons.
280 * Set the tint which is applied to our item's icons.
291 * Returns the tint which is applied to our item's icons.
346 * Sets the currently checked item in this navigation menu.
348 * @param id The item ID of the currently checked item.
351 MenuItem item
407 onNavigationItemSelected(MenuItem item) argument
[all...]
/frameworks/support/v7/appcompat/src/android/support/v7/internal/view/menu/
H A DMenuItemWrapperICS.java238 // Make framework menu item inflate the view
320 public boolean onMenuItemClick(android.view.MenuItem item) { argument
321 return mWrappedObject.onMenuItemClick(getMenuItemWrapper(item));
333 public boolean onMenuItemActionExpand(android.view.MenuItem item) { argument
334 return mWrappedObject.onMenuItemActionExpand(getMenuItemWrapper(item));
338 public boolean onMenuItemActionCollapse(android.view.MenuItem item) { argument
339 return mWrappedObject.onMenuItemActionCollapse(getMenuItemWrapper(item));
/frameworks/base/core/java/android/view/
H A DWindowCallbackWrapper.java90 public boolean onMenuItemSelected(int featureId, MenuItem item) { argument
91 return mWrapped.onMenuItemSelected(featureId, item);
/frameworks/base/packages/DefaultContainerService/src/com/android/defcontainer/
H A DDefaultContainerService.java275 PackageCleanItem item = null;
277 while ((item = pm.nextPackageToClean(item)) != null) {
278 final UserEnvironment userEnv = new UserEnvironment(item.userId);
279 eraseFiles(userEnv.buildExternalStorageAppDataDirs(item.packageName));
280 eraseFiles(userEnv.buildExternalStorageAppMediaDirs(item.packageName));
281 if (item.andCode) {
282 eraseFiles(userEnv.buildExternalStorageAppObbDirs(item.packageName));
/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/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/binding/
H A DFakeAdapter.java112 AdapterItem item = mItems.get(position);
114 Pair<View, Boolean> pair = AdapterHelper.getView(item, null, parent, mCallback,
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
H A DObjectAdapter.java45 * @param positionStart The position of the first item that changed.
55 * @param positionStart The position of the first inserted item.
65 * @param positionStart The position of the first removed item.
196 * Returns true if the item ids are stable across changes to the
205 * Sets whether the item ids are stable across changes to the underlying
225 * Returns the {@link Presenter} for the given item from the adapter.
227 public final Presenter getPresenter(Object item) { argument
231 return mPresenterSelector.getPresenter(item);
240 * Returns the item for the given position.
/frameworks/support/v7/appcompat/src/android/support/v7/internal/view/
H A DWindowCallbackWrapper.java99 public boolean onMenuItemSelected(int featureId, MenuItem item) { argument
100 return mWrapped.onMenuItemSelected(featureId, item);
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
H A DBridgeContext.java706 ResourceValue item = mRenderResources.findResValue(customStyle,
710 item = mRenderResources.resolveResValue(item);
712 if (item instanceof StyleResourceValue) {
713 customStyleValues = (StyleResourceValue)item;
740 ResourceValue item = mRenderResources.findItemInTheme(defStyleAttribute.getFirst(),
743 if (item != null) {
744 // item is a reference to a style entry. Search for it.
745 item = mRenderResources.findResValue(item
[all...]

Completed in 1129 milliseconds

1234567891011>>