Home
last modified time | relevance | path

Searched refs:slot (Results 1 – 25 of 29) sorted by relevance

12

/packages/apps/Gallery/src/com/android/camera/gallery/
DImageListUber.java66 MergeSlot slot = new MergeSlot(list, i); in ImageListUber() local
67 if (slot.next()) mQueue.add(slot); in ImageListUber()
132 MergeSlot slot = nextMergeSlot(); in getImageAt() local
133 if (slot == null) return null; in getImageAt()
135 IImage result = slot.mImage; in getImageAt()
136 if (slot.next()) mQueue.add(slot); in getImageAt()
139 if (slot.next()) mQueue.add(slot); in getImageAt()
144 MergeSlot slot = mQueue.poll(); in nextMergeSlot() local
145 if (slot == null) return null; in nextMergeSlot()
146 if (slot.mListIndex == mLastListIndex) { in nextMergeSlot()
[all …]
/packages/screensavers/PhotoTable/src/com/android/dreams/phototable/
DPhotoTable.java199 for (int slot = 0; slot < mOnDeck.length; slot++) { in clearSelection()
200 if (mOnDeck[slot] != null) { in clearSelection()
201 fadeAway(mOnDeck[slot], false); in clearSelection()
202 mOnDeck[slot] = null; in clearSelection()
204 if (mLoadOnDeckTasks[slot] != null && in clearSelection()
205 mLoadOnDeckTasks[slot].getStatus() != AsyncTask.Status.FINISHED) { in clearSelection()
206 mLoadOnDeckTasks[slot].cancel(true); in clearSelection()
207 mLoadOnDeckTasks[slot] = null; in clearSelection()
259 for (int slot = 0; slot < mOnDeck.length; slot++) { in promoteSelection()
260 if (mLoadOnDeckTasks[slot] != null && in promoteSelection()
[all …]
/packages/apps/DocumentsUI/src/com/android/documentsui/clipping/
DClipStorage.java150 private Writer createWriter(int slot) throws IOException { in createWriter() argument
151 File file = toSlotDataFile(slot); in createWriter()
156 public synchronized File getFile(int slot) throws IOException { in getFile() argument
157 createSlotFileObject(slot); in getFile()
159 File primary = toSlotDataFile(slot); in getFile()
161 String linkFileName = Integer.toString(mSlots[slot].list().length); in getFile()
162 File link = new File(mSlots[slot], linkFileName); in getFile()
240 int slot = claimStorageSlot(); in persistUris() local
241 persistUris(uris, slot); in persistUris()
242 return slot; in persistUris()
[all …]
/packages/apps/Stk/src/com/android/stk/
DStkAppService.java687 for (int slot = PhoneConstants.SIM_ID_1; slot < mSimCount; slot++) { in handleMessage()
688 checkForSetupEvent(LANGUAGE_SELECTION_EVENT, (Bundle) msg.obj, slot); in handleMessage()
697 for (int slot = 0; slot < mSimCount; slot++) { in handleMessage()
698 if (mStkContext[slot] != null) { in handleMessage()
699 handleIdleScreen(slot); in handleMessage()
709 for (int slot = PhoneConstants.SIM_ID_1; slot < mSimCount; slot++) { in handleMessage()
710 checkForSetupEvent(USER_ACTIVITY_EVENT, null, slot); in handleMessage()
1664 for (int slot = 0; slot < mSimCount; slot++) { in registerUserPresentReceiver()
1665 cancelNotificationOnKeyguard(slot); in registerUserPresentReceiver()
1676 for (int slot = PhoneConstants.SIM_ID_1; slot < mSimCount; slot++) { in unregisterUserPresentReceiver()
[all …]
/packages/apps/Gallery2/src/com/android/gallery3d/data/
DLocalMergeAlbum.java126 MediaItem[] slot = new MediaItem[mSources.length]; in getMediaItem() local
132 slot[i] = mFetcher[i].getItem(subPos[i]); in getMediaItem()
140 if (slot[j] != null) { in getMediaItem()
141 if (k == -1 || mComparator.compare(slot[j], slot[k]) < 0) { in getMediaItem()
153 result.add(slot[k]); in getMediaItem()
155 slot[k] = mFetcher[k].getItem(subPos[k]); in getMediaItem()
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/
DBlobCache.java551 int slot = (int) (key % mMaxEntries); in lookupInternal() local
552 if (slot < 0) slot += mMaxEntries; in lookupInternal()
553 int slotBegin = slot; in lookupInternal()
555 int offset = hashStart + slot * 12; in lookupInternal()
566 if (++slot >= mMaxEntries) { in lookupInternal()
567 slot = 0; in lookupInternal()
569 if (slot == slotBegin) { in lookupInternal()
571 mIndexBuffer.putInt(hashStart + slot * 12 + 8, 0); in lookupInternal()
/packages/modules/NetworkStack/src/android/net/apf/
DApfGenerator.java774 public ApfGenerator addLoadFromMemory(Register register, int slot) in addLoadFromMemory() argument
776 if (slot < 0 || slot > (MEMORY_SLOTS - 1)) { in addLoadFromMemory()
777 throw new IllegalInstructionException("illegal memory slot number: " + slot); in addLoadFromMemory()
780 instruction.setUnsignedImm(ExtendedOpcodes.LDM.value + slot); in addLoadFromMemory()
789 public ApfGenerator addStoreToMemory(Register register, int slot) in addStoreToMemory() argument
791 if (slot < 0 || slot > (MEMORY_SLOTS - 1)) { in addStoreToMemory()
792 throw new IllegalInstructionException("illegal memory slot number: " + slot); in addStoreToMemory()
795 instruction.setUnsignedImm(ExtendedOpcodes.STM.value + slot); in addStoreToMemory()
DApfFilter.java1783 public synchronized void addTcpKeepalivePacketFilter(final int slot, in addTcpKeepalivePacketFilter() argument
1785 log("Adding keepalive ack(" + slot + ")"); in addTcpKeepalivePacketFilter()
1786 if (null != mKeepalivePackets.get(slot)) { in addTcpKeepalivePacketFilter()
1787 throw new IllegalArgumentException("Keepalive slot " + slot + " is occupied"); in addTcpKeepalivePacketFilter()
1790 mKeepalivePackets.put(slot, (ipVersion == 4) in addTcpKeepalivePacketFilter()
1803 public synchronized void addNattKeepalivePacketFilter(final int slot, in addNattKeepalivePacketFilter() argument
1805 log("Adding NAT-T keepalive packet(" + slot + ")"); in addNattKeepalivePacketFilter()
1806 if (null != mKeepalivePackets.get(slot)) { in addNattKeepalivePacketFilter()
1807 throw new IllegalArgumentException("NAT-T Keepalive slot " + slot + " is occupied"); in addNattKeepalivePacketFilter()
1812 mKeepalivePackets.put(slot, new NattKeepaliveResponse(sentKeepalivePacket)); in addNattKeepalivePacketFilter()
[all …]
/packages/modules/NetworkStack/src/android/net/ip/
DIpClient.java552 public void addKeepalivePacketFilter(int slot, TcpKeepalivePacketDataParcelable pkt) { in addKeepalivePacketFilter() argument
554 IpClient.this.addKeepalivePacketFilter(slot, pkt); in addKeepalivePacketFilter()
557 public void addNattKeepalivePacketFilter(int slot, NattKeepalivePacketDataParcelable pkt) { in addNattKeepalivePacketFilter() argument
559 IpClient.this.addNattKeepalivePacketFilter(slot, pkt); in addNattKeepalivePacketFilter()
562 public void removeKeepalivePacketFilter(int slot) { in removeKeepalivePacketFilter() argument
564 IpClient.this.removeKeepalivePacketFilter(slot); in removeKeepalivePacketFilter()
703 public void addKeepalivePacketFilter(int slot, @NonNull TcpKeepalivePacketDataParcelable pkt) { in addKeepalivePacketFilter() argument
704 sendMessage(CMD_ADD_KEEPALIVE_PACKET_FILTER_TO_APF, slot, 0 /* Unused */, pkt); in addKeepalivePacketFilter()
711 public void addNattKeepalivePacketFilter(int slot, in addNattKeepalivePacketFilter() argument
713 sendMessage(CMD_ADD_KEEPALIVE_PACKET_FILTER_TO_APF, slot, 0 /* Unused */ , pkt); in addNattKeepalivePacketFilter()
[all …]
/packages/apps/Dialer/java/com/android/incallui/incall/impl/
DMappedButtonConfig.java88 public List<Integer> getButtonsForSlot(int slot) { in getButtonsForSlot() argument
91 if (entry.getValue().getSlot() == slot) { in getButtonsForSlot()
184 static Builder builder(int slot) {
186 .setSlot(slot)
195 public abstract Builder setSlot(int slot);
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/clipping/
DClipStorageTest.java109 int slot = mStorage.claimStorageSlot(); in testClaimStorageSlot_NoAvailableSlot() local
110 writeAll(slot, TEST_URIS); in testClaimStorageSlot_NoAvailableSlot()
111 mStorage.getFile(slot); in testClaimStorageSlot_NoAvailableSlot()
151 private void writeAll(int slot, List<Uri> uris) { in writeAll() argument
152 mStorage.persistUris(uris, slot); in writeAll()
/packages/apps/Car/libs/car-apps-common/src/com/android/car/apps/common/
DControlBar.java355 FrameLayout slot = (FrameLayout) ((LinearLayout) mRowsContainer.getChildAt(rowIdx)) in getViewAt() local
357 return slot.getChildCount() > 0 ? slot.getChildAt(0) : null; in getViewAt()
/packages/apps/Dialer/java/com/android/dialer/dialpadview/
DSpecialCharSequenceMgr.java328 for (int slot = 0; slot < telephonyManager.getPhoneCount(); slot++) { in handleDeviceIdDisplay()
329 String deviceId = telephonyManager.getDeviceId(slot); in handleDeviceIdDisplay()
/packages/apps/DocumentsUI/tests/
DREADME7 device has SD Card slot. If SD Card is not inserted or supported, the test creates virtual SD Card
/packages/services/Telephony/src/com/android/phone/
DPhoneInterfaceManager.java6405 UiccSlot slot = slots[i]; in getUiccSlotsInfo() local
6406 if (slot == null) { in getUiccSlotsInfo()
6411 UiccCard card = slot.getUiccCard(); in getUiccSlotsInfo()
6415 cardId = slot.getIccId(); in getUiccSlotsInfo()
6419 switch (slot.getCardState()) { in getUiccSlotsInfo()
6438 slot.isActive(), in getUiccSlotsInfo()
6439 slot.isEuicc(), in getUiccSlotsInfo()
6442 slot.getPhoneId(), in getUiccSlotsInfo()
6443 slot.isExtendedApduSupported(), in getUiccSlotsInfo()
6444 slot.isRemovable()); in getUiccSlotsInfo()
/packages/inputmethods/LatinIME/dictionaries/
Den_US_wordlist.combined.gz
Den_GB_wordlist.combined.gz
Den_wordlist.combined.gz
Dcs_wordlist.combined.gz1dictionary=main:cs,locale=cs,description=Čeština,date=1393228134, ...
Dpl_wordlist.combined.gz1dictionary=main:pl,locale=pl,description=Polski,date=1414726264, ...
Dit_wordlist.combined.gz
Dnl_wordlist.combined.gz
Dnb_wordlist.combined.gz1dictionary=main:nb,locale=nb,description=Norsk bokmål,date=1393228136 ...
Dda_wordlist.combined.gz1dictionary=main:da,locale=da,description=Dansk,date=1393228134, ...
Dro_wordlist.combined.gz

12