Searched defs:item (Results 176 - 200 of 479) sorted by relevance

1234567891011>>

/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/services/core/java/com/android/server/job/
H A DGrantedUriPermissions.java131 private static GrantedUriPermissions grantItem(IActivityManager am, ClipData.Item item, argument
134 if (item.getUri() != null) {
135 curPerms = grantUri(am, item.getUri(), sourceUid, targetPackage, targetUserId,
138 Intent intent = item.getIntent();
/frameworks/base/telephony/java/android/telephony/ims/compat/stub/
H A DImsConfigImplBase.java69 * @param item, as defined in com.android.ims.ImsConfig#ConfigConstants.
72 public int getProvisionedValue(int item) throws RemoteException { argument
80 * @param item, as defined in com.android.ims.ImsConfig#ConfigConstants.
83 public String getProvisionedStringValue(int item) throws RemoteException { argument
89 * management entity. It sets the config item value in the provisioned storage
92 * @param item, as defined in com.android.ims.ImsConfig#ConfigConstants.
96 public int setProvisionedValue(int item, int value) throws RemoteException { argument
102 * management entity. It sets the config item value in the provisioned storage
105 * @param item as defined in com.android.ims.ImsConfig#ConfigConstants.
109 public int setProvisionedStringValue(int item, Strin argument
175 notifyProvisionedValueChanged(int item, int value) argument
187 notifyProvisionedValueChanged(int item, String value) argument
232 getProvisionedValue(int item) argument
253 getProvisionedStringValue(int item) argument
276 setProvisionedValue(int item, int value) argument
300 setProvisionedStringValue(int item, String value) argument
363 sendImsConfigChangedIntent(int item, int value) argument
367 sendImsConfigChangedIntent(int item, String value) argument
376 updateCachedValue(int item, int value, boolean notifyChange) argument
383 updateCachedValue( int item, String value, boolean notifyChange) argument
[all...]
/frameworks/base/telephony/java/android/telephony/ims/stub/
H A DImsConfigImplBase.java97 * @param item integer key
102 public synchronized int getConfigInt(int item) throws RemoteException { argument
103 if (mProvisionedIntValue.containsKey(item)) {
104 return mProvisionedIntValue.get(item);
106 int retVal = getImsConfigImpl().getConfigInt(item);
108 updateCachedValue(item, retVal, false);
119 * @param item integer key
123 public synchronized String getConfigString(int item) throws RemoteException { argument
124 if (mProvisionedIntValue.containsKey(item)) {
125 return mProvisionedStringValue.get(item);
147 setConfigInt(int item, int value) argument
172 setConfigString(int item, String value) argument
192 notifyImsConfigChanged(int item, int value) argument
196 notifyImsConfigChanged(int item, String value) argument
200 updateCachedValue(int item, int value, boolean notifyChange) argument
208 updateCachedValue(int item, String value, boolean notifyChange) argument
224 onIntConfigChanged(int item, int value) argument
229 onStringConfigChanged(int item, String value) argument
238 onConfigChanged(int item, int value) argument
247 onConfigChanged(int item, String value) argument
303 notifyConfigChanged(int item, int value) argument
317 notifyConfigChanged(int item, String value) argument
344 notifyProvisionedValueChanged(int item, int value) argument
360 notifyProvisionedValueChanged(int item, String value) argument
376 setConfig(int item, int value) argument
389 setConfig(int item, String value) argument
401 getConfigInt(int item) argument
412 getConfigString(int item) argument
[all...]
/frameworks/base/tests/TouchLatency/app/src/main/java/com/prefabulated/touchlatency/
H A DTouchLatencyActivity.java157 public void changeMode(MenuItem item) { argument
162 item.setTitle(modes[mMode]);
195 public boolean onOptionsItemSelected(MenuItem item) { argument
196 // Handle action bar item clicks here. The action bar will
199 int id = item.getItemId();
203 mTouchView.changeMode(item);
206 return super.onOptionsItemSelected(item);
/frameworks/base/tests/UsageStatsTest/src/com/android/tests/usagestats/
H A DUsageStatsActivity.java90 public boolean onOptionsItemSelected(MenuItem item) { argument
91 switch (item.getItemId()) {
102 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/data-binding/samples/BindingDemo/app/src/main/java/com/android/example/bindingdemo/
H A DMainActivity.java102 public boolean onOptionsItemSelected(MenuItem item) { argument
103 // Handle action bar item clicks here. The action bar will
106 int id = item.getItemId();
113 return super.onOptionsItemSelected(item);
/frameworks/layoutlib/bridge/src/android/view/
H A DWindowCallback.java81 public boolean onMenuItemSelected(int featureId, MenuItem item) { argument
/frameworks/ml/nn/runtime/test/benchmark/src/com/example/android/nn/benchmark/
H A DNNControls.java202 public boolean onOptionsItemSelected(MenuItem item) { argument
204 switch(item.getItemId()) {
210 return super.onOptionsItemSelected(item);
/frameworks/native/cmds/installd/
H A DCacheTracker.cpp120 auto item = std::shared_ptr<CacheItem>(new CacheItem(p)); local
121 p->fts_pointer = static_cast<void*>(item.get());
122 items.push_back(item);
128 auto item = static_cast<CacheItem*>(p->fts_pointer); local
129 item->group |= (getxattr(p->fts_path, kXattrCacheGroup, nullptr, 0) >= 0);
130 item->tombstone |= (getxattr(p->fts_path, kXattrCacheTombstone, nullptr, 0) >= 0);
133 if (item->group) {
135 if (p->fts_info == FTS_DP && p->fts_level == item->level) break;
142 item->size += p->fts_statp->st_blocks * 512;
143 item
158 auto item = static_cast<CacheItem*>(p->fts_pointer); local
[all...]
/frameworks/native/services/sensorservice/
H A DRingBuffer.h97 * Adds item to the front of this RingBuffer. If the RingBuffer is at its maximum length,
103 void add(const T& item);
106 * Moves item to the front of this RingBuffer. Following a call to this, item should no
112 void add(T&& item);
115 * Construct item in-place in the front of this RingBuffer using the given arguments. If
265 void RingBuffer<T>::add(const T& item) { argument
267 mBuffer.push_back(item);
272 mBuffer[mFrontIdx] = item;
277 void RingBuffer<T>::add(T&& item) { argument
[all...]
/frameworks/native/services/surfaceflinger/DisplayHardware/
H A DFramebufferSurface.cpp112 BufferItem item; local
113 status_t err = acquireBufferLocked(&item, 0);
132 item.mSlot != mCurrentBufferSlot) {
137 mCurrentBufferSlot = item.mSlot;
139 mCurrentFence = item.mFence;
141 outFence = item.mFence;
144 outDataspace = static_cast<Dataspace>(item.mDataSpace);
/frameworks/opt/photoviewer/activity/src/com/android/ex/photo/
H A DPhotoViewActivity.java107 public boolean onOptionsItemSelected(MenuItem item) { argument
108 return mController.onOptionsItemSelected(item) || super.onOptionsItemSelected(item);
/frameworks/opt/photoviewer/appcompat/src/com/android/ex/photo/
H A DPhotoViewActivity.java107 public boolean onOptionsItemSelected(MenuItem item) { argument
108 return mController.onOptionsItemSelected(item) || super.onOptionsItemSelected(item);
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/items/
H A DButtonItem.java32 * Description of a button inside {@link com.android.setupwizardlib.items.ButtonBarItem}. This item
38 void onClick(ButtonItem item); argument
120 * Create a button according to this button item.
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ims/
H A DImsManagerTest.java397 private int getProvisionedInt(int item) { argument
398 if (mProvisionedIntVals.containsKey(item)) {
399 return mProvisionedIntVals.get(item);
406 private String getProvisionedString(int item) { argument
407 if (mProvisionedStringVals.containsKey(item)) {
408 return mProvisionedStringVals.get(item);
/frameworks/rs/rsov/tests/RSoVTest/src/com/android/rs/rsov/test/
H A DUnitTest.java138 public void setItem(ScriptField_ListAllocs_s.Item item) { argument
139 mItem = item;
/frameworks/rs/tests/java_api/RSTest_CompatLibLegacy/src/com/android/rs/test/
H A DUnitTest.java134 public void setItem(ScriptField_ListAllocs_s.Item item) { argument
135 mItem = item;
/frameworks/rs/tests/java_api/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);
/frameworks/support/frameworks/support/samples/Support4Demos/src/main/java/com/example/android/supportv4/widget/
H A DSlidingPaneLayoutActivity.java97 public boolean onOptionsItemSelected(MenuItem item) { argument
102 if (item.getItemId() == android.R.id.home && !mSlidingLayout.isOpen()) {
106 return super.onOptionsItemSelected(item);
110 * This list item click listener implements very simple view switching by changing
/frameworks/support/frameworks/support/samples/Support7Demos/src/main/java/com/example/android/supportv7/app/
H A DActionBarFragmentMenu.java145 public boolean onOptionsItemSelected(MenuItem item) { argument
146 if (item.getTitle().equals("Menu 1a")) {
150 if (item.getTitle().equals("Menu 1b")) {
154 return super.onOptionsItemSelected(item);
185 public boolean onOptionsItemSelected(MenuItem item) { argument
186 if (item.getTitle().equals("Menu 2")) {
228 public boolean onOptionsItemSelected(MenuItem item) { argument
229 if (item.getItemId() == R.id.simple_item) {
230 Toast.makeText(getActivity(), "Selected nested fragment's menu item.",
234 return super.onOptionsItemSelected(item);
[all...]
/frameworks/support/frameworks/support/samples/Support7Demos/src/main/java/com/example/android/supportv7/graphics/
H A DPaletteActivity.java113 public boolean onOptionsItemSelected(MenuItem item) { argument
114 switch (item.getItemId()) {
117 item.setChecked(true);
121 item.setChecked(true);
125 item.setChecked(true);
129 item.setChecked(true);
133 item.setChecked(true);
137 return super.onOptionsItemSelected(item);
H A DPaletteDetailActivity.java43 * Displays the full generated palette of colors in a grid, which allows clicking on an palette item
71 // Set an OnItemClickListener to display a information Toast when a Palette item is clicked
80 final Palette.Swatch item = (Palette.Swatch) adapterView.getItemAtPosition(pos);
82 item.toString(), Toast.LENGTH_LONG);
98 public boolean onOptionsItemSelected(MenuItem item) { argument
99 switch (item.getItemId()) {
102 item.setChecked(true);
106 item.setChecked(true);
110 item.setChecked(true);
114 item
[all...]
/frameworks/support/frameworks/support/samples/Support7Demos/src/main/java/com/example/android/supportv7/util/
H A DSortedListActivity.java109 for (Item item : items) {
110 mData.add(item);
114 public void addItem(Item item) { argument
115 mData.add(item);
161 public void bindTo(Item item) { argument
162 mBoundItem = item;
163 mCheckBox.setText(item.mText);
164 mCheckBox.setChecked(item.mIsDone);

Completed in 239 milliseconds

1234567891011>>