Home
last modified time | relevance | path

Searched refs:remove (Results 1 – 25 of 99) sorted by relevance

1234

/development/samples/devbytes/animation/ListViewItemAnimations/src/com/example/android/listviewitemanimations/
DListViewItemAnimations.java151 final boolean remove;
156 remove = true;
161 remove = false;
165 animateSwipe(v, endX, duration, remove);
185 private void animateSwipe(final View view, float endX, long duration, final boolean remove) { in animateSwipe() argument
190 alpha(remove ? 0 : 1).translationX(endX). in animateSwipe()
197 if (remove) { in animateSwipe()
210 AlphaAnimation alphaAnim = new AlphaAnimation(mCurrentAlpha, remove ? 0 : 1); in animateSwipe()
219 if (remove) { in animateSwipe()
277 mAdapter.remove(mAdapter.getItem(position)); in animateOtherViews()
/development/samples/browseable/BatchStepSensor/src/com.example.android.batchstepsensor/cardstream/
DCardStreamFragment.java106 mVisibleCards.remove(tag); in removeCard()
111 card = mHiddenCards.remove(tag); in removeCard()
137 mHiddenCards.remove(tag); in showCard()
157 mVisibleCards.remove(tag); in hideCard()
158 mDismissibleCards.remove(tag); in hideCard()
171 mDismissibleCards.remove(tag); in dismissCard()
172 mVisibleCards.remove(tag); in dismissCard()
/development/samples/browseable/Geofencing/Application/src/com.example.android.wearable.geofencing/
DSimpleGeofenceStore.java105 prefs.remove(getGeofenceFieldKey(id, KEY_LATITUDE)); in clearGeofence()
106 prefs.remove(getGeofenceFieldKey(id, KEY_LONGITUDE)); in clearGeofence()
107 prefs.remove(getGeofenceFieldKey(id, KEY_RADIUS)); in clearGeofence()
108 prefs.remove(getGeofenceFieldKey(id, KEY_EXPIRATION_DURATION)); in clearGeofence()
109 prefs.remove(getGeofenceFieldKey(id, KEY_TRANSITION_TYPE)); in clearGeofence()
/development/samples/browseable/MediaBrowserService/src/com.example.android.mediabrowserservice/utils/
DCarHelper.java42 extras.remove(SLOT_RESERVATION_QUEUE); in setSlotReservationFlags()
47 extras.remove(SLOT_RESERVATION_SKIP_TO_PREV); in setSlotReservationFlags()
52 extras.remove(SLOT_RESERVATION_SKIP_TO_NEXT); in setSlotReservationFlags()
/development/samples/IntentPlayground/src/com/example/android/intentplayground/
DTracking.java96 mTaskOverView.remove(task.id); in onDestroy()
97 mTaskOrdering.remove(task); in onDestroy()
107 mTaskOrdering.remove(task); in bringToFront()
143 iterator.remove(); in moveActivitiesInOrder()
179 mListeners.remove(listener); in removeListener()
220 activityIterator.remove(); in activityResumed()
/development/samples/browseable/MidiScope/src/com.example.android.common.midi/
DEventScheduler.java71 public SchedulableEvent remove() { in remove() method in EventScheduler.FastEventQueue
128 event = mEventPool.remove(); in removeEventfromPool()
179 mEventBuffer.remove(lowestTime); in removeNextEventLocked()
181 event = list.remove(); in removeNextEventLocked()
DMidiDispatcher.java55 mReceivers.remove(receiver);
84 mReceivers.remove(receiver); in onSend()
DMidiPortSelector.java121 mAdapter.remove(wrapper); in onDeviceRemoved()
150 mAdapter.remove(wrapper); in onDeviceStatusChanged()
154 if (mBusyPorts.remove(wrapper)) { in onDeviceStatusChanged()
/development/samples/browseable/MidiSynth/src/com.example.android.common.midi/
DEventScheduler.java71 public SchedulableEvent remove() { in remove() method in EventScheduler.FastEventQueue
128 event = mEventPool.remove(); in removeEventfromPool()
179 mEventBuffer.remove(lowestTime); in removeNextEventLocked()
181 event = list.remove(); in removeNextEventLocked()
DMidiDispatcher.java55 mReceivers.remove(receiver);
84 mReceivers.remove(receiver); in onSend()
DMidiPortSelector.java121 mAdapter.remove(wrapper); in onDeviceRemoved()
150 mAdapter.remove(wrapper); in onDeviceStatusChanged()
154 if (mBusyPorts.remove(wrapper)) { in onDeviceStatusChanged()
/development/samples/devbytes/animation/ListViewRemovalAnimation/src/com/example/android/listviewremovalanimation/
DListViewRemovalAnimation.java123 final boolean remove;
129 remove = true;
135 remove = false;
152 if (remove) {
191 mAdapter.remove(mAdapter.getItem(position)); in animateRemoval()
/development/samples/devbytes/ui/ListViewDeletion/src/com/example/android/listviewdeletion/
DListViewDeletion.java81 adapter.remove(item); in onCreate()
101 adapter.remove(item); in onCreate()
110 adapter.remove(item); in onCreate()
144 mCheckedViews.remove(view); in onCreate()
/development/samples/ShortcutSample/src/com/example/android/shortcutsample/
DMain.java99 sVisibleInstances.remove(this); in onStop()
196 case R.id.remove: in onClick()
304 final Button remove = (Button) view.findViewById(R.id.remove); in bindView() local
311 remove.setVisibility(shortcut.isImmutable() ? View.GONE : View.VISIBLE); in bindView()
317 remove.setOnClickListener(Main.this); in bindView()
/development/samples/browseable/AppShortcuts/src/com.example.android.appshortcuts/
DMain.java140 case R.id.remove: in onClick()
239 final Button remove = (Button) view.findViewById(R.id.remove); in bindView() local
245 remove.setOnClickListener(Main.this); in bindView()
/development/samples/ControllerSample/src/com/example/inputmanagercompat/
DInputManagerV9.java72 imv.mDevices.remove(id); in handleMessage()
120 mListeners.remove(listener); in registerInputDeviceListener()
129 mListeners.remove(listener); in unregisterInputDeviceListener()
/development/samples/browseable/DisplayingBitmaps/src/com.example.android.displayingbitmaps/util/
DDiskLruCache.java376 lruEntries.remove(key); in readJournalLine()
417 i.remove(); in processJournal()
606 lruEntries.remove(entry.key); in completeEdit()
631 public synchronized boolean remove(String key) throws IOException { in remove() method in DiskLruCache
650 lruEntries.remove(key); in remove()
702 remove(toEvict.getKey()); in trimToSize()
843 remove(entry.key); // the previous entry is stale in commit()
/development/samples/browseable/MidiScope/src/com.example.android.common.midi/synth/
DSynthEngine.java189 iterator.remove(); in generateBuffer()
234 mVoices.remove(noteIndex); in noteOn()
237 voice = mFreeVoices.remove(mFreeVoices.size() - 1); in noteOn()
/development/samples/browseable/BasicMediaDecoder/src/com.example.android.common.media/
DMediaCodecWrapper.java195 int index = mAvailableInputBuffers.remove(); in writeSample()
250 int index = mAvailableInputBuffers.remove(); in writeSample()
312 int index = mAvailableOutputBuffers.remove(); in popSample()
/development/samples/browseable/MidiSynth/src/com.example.android.common.midi/synth/
DSynthEngine.java189 iterator.remove(); in generateBuffer()
234 mVoices.remove(noteIndex); in noteOn()
237 voice = mFreeVoices.remove(mFreeVoices.size() - 1); in noteOn()
/development/samples/browseable/MediaRecorder/src/com.example.android.common.media/
DMediaCodecWrapper.java195 int index = mAvailableInputBuffers.remove(); in writeSample()
250 int index = mAvailableInputBuffers.remove(); in writeSample()
312 int index = mAvailableOutputBuffers.remove(); in popSample()
/development/samples/browseable/BasicRenderScript/src/com.example.android.common.media/
DMediaCodecWrapper.java195 int index = mAvailableInputBuffers.remove(); in writeSample()
250 int index = mAvailableInputBuffers.remove(); in writeSample()
312 int index = mAvailableOutputBuffers.remove(); in popSample()
/development/samples/ApiDemos/src/com/example/android/apis/app/
DMessengerService.java92 mClients.remove(msg.replyTo); in handleMessage()
104 mClients.remove(i); in handleMessage()
/development/samples/devbytes/animation/ListViewCellInsertion/src/com/example/android/insertingcells/
DInsertionListView.java217 listViewItemBounds.remove(itemId); in addRow()
218 listViewItemDrawables.remove(itemId); in addRow()
255 listViewItemBounds.remove(itemId); in addRow()
256 listViewItemDrawables.remove(itemId); in addRow()
/development/samples/devbytes/animation/ListViewAnimations/src/com/example/android/listviewanimations/
DListViewAnimations.java70 cheeseList.remove(item); in onCreate()
93 cheeseList.remove(item); in onCreate()

1234