/frameworks/base/services/input/ |
H A D | InputDispatcher.h | 568 // A command entry captures state and behavior for an action to be performed in the 619 inline void enqueueAtTail(T* entry) { argument 620 entry->prev = tail; 622 tail->next = entry; 624 head = entry; 626 entry->next = NULL; 627 tail = entry; 630 inline void enqueueAtHead(T* entry) { argument 631 entry->next = head; 633 head->prev = entry; 641 dequeue(T* entry) argument 655 T* entry = head; local [all...] |
H A D | InputDispatcher.cpp | 301 // Inbound queue has at least one entry. 400 bool InputDispatcher::enqueueInboundEventLocked(EventEntry* entry) { argument 402 mInboundQueue.enqueueAtTail(entry); 405 switch (entry->type) { 410 KeyEntry* keyEntry = static_cast<KeyEntry*>(entry); 433 MotionEntry* motionEntry = static_cast<MotionEntry*>(entry); 460 void InputDispatcher::addRecentEventLocked(EventEntry* entry) { argument 461 entry->refCount += 1; 462 mRecentQueue.enqueueAtTail(entry); 499 void InputDispatcher::dropInboundEventLocked(EventEntry* entry, DropReaso argument 580 isStaleEventLocked(nsecs_t currentTime, EventEntry* entry) argument 613 EventEntry* entry = mInboundQueue.dequeueAtHead(); local 627 releaseInboundEventLocked(EventEntry* entry) argument 650 KeyEntry* entry = mKeyRepeatState.lastKeyEntry; local 681 dispatchConfigurationChangedLocked( nsecs_t currentTime, ConfigurationChangedEntry* entry) argument 697 dispatchDeviceResetLocked( nsecs_t currentTime, DeviceResetEntry* entry) argument 710 dispatchKeyLocked(nsecs_t currentTime, KeyEntry* entry, DropReason* dropReason, nsecs_t* nextWakeupTime) argument 808 logOutboundKeyDetailsLocked(const char* prefix, const KeyEntry* entry) argument 820 dispatchMotionLocked( nsecs_t currentTime, MotionEntry* entry, DropReason* dropReason, nsecs_t* nextWakeupTime) argument 877 logOutboundMotionDetailsLocked(const char* prefix, const MotionEntry* entry) argument 937 handleTargetsNotReadyLocked(nsecs_t currentTime, const EventEntry* entry, const sp<InputApplicationHandle>& applicationHandle, const sp<InputWindowHandle>& windowHandle, nsecs_t* nextWakeupTime, const char* reason) argument 1054 findFocusedWindowTargetsLocked(nsecs_t currentTime, const EventEntry* entry, Vector<InputTarget>& inputTargets, nsecs_t* nextWakeupTime) argument 1118 findTouchedWindowTargetsLocked(nsecs_t currentTime, const MotionEntry* entry, Vector<InputTarget>& inputTargets, nsecs_t* nextWakeupTime, bool* outConflictingPointerActions) argument 2723 setInjectionResultLocked(EventEntry* entry, int32_t injectionResult) argument 2756 incrementPendingForegroundDispatchesLocked(EventEntry* entry) argument 2763 decrementPendingForegroundDispatchesLocked(EventEntry* entry) argument 3452 KeyEntry* entry = commandEntry->keyEntry; local 3712 initializeKeyEvent(KeyEvent* event, const KeyEntry* entry) argument 3718 updateDispatchStatisticsLocked(nsecs_t currentTime, const EventEntry* entry, int32_t injectionResult, nsecs_t timeSpentWaitingForApplication) argument 3987 trackKey(const KeyEntry* entry, int32_t action, int32_t flags) argument 4038 trackMotion(const MotionEntry* entry, int32_t action, int32_t flags) argument 4130 findMotionMemento(const MotionEntry* entry, bool hovering) const argument 4144 addKeyMemento(const KeyEntry* entry, int32_t flags) argument 4157 addMotionMemento(const MotionEntry* entry, int32_t flags, bool hovering) argument 4173 setPointers(const MotionEntry* entry) argument [all...] |
/frameworks/base/tools/aapt/ |
H A D | AaptAssets.cpp | 1773 struct dirent* entry; local 1775 entry = readdir(dir); 1776 if (entry == NULL) 1779 if (isHidden(srcDir.string(), entry->d_name)) 1782 String8 name(entry->d_name); 1946 const AaptSymbolEntry& entry = javaSymbols->mSymbols.valueAt(i); local 1949 entry.sourcePos.error("Symbol '%s' declared with <java-symbol> not defined\n", name.string()); 1954 // i, N, name.string(), entry.isJavaSymbol ? 1 : 0); 1955 mSymbols.editValueAt(pos).isJavaSymbol = entry.isJavaSymbol; 2002 const String8& filePath, const AaptGroupEntry& entry, 2001 addFile( const String8& filePath, const AaptGroupEntry& entry, const String8& srcDir, sp<AaptGroup>* outGroup, const String8& resType) argument 2242 struct dirent* entry = readdir(dir); local 2330 ZipEntry* entry = zip->getEntryByIndex(i); local [all...] |
H A D | AaptAssets.h | 543 const AaptGroupEntry& entry, 553 void addGroupEntry(const AaptGroupEntry& entry) { mGroupEntries.add(entry); } argument
|
H A D | Command.cpp | 4 // Android Asset Packaging Tool main entry point. 127 const ZipEntry* entry; local 155 entry = zip->getEntryByIndex(i); 160 when = entry->getModWhen(); 165 (long) entry->getUncompressedLen(), 166 compressionName(entry->getCompressionMethod()), 167 (long) entry->getCompressedLen(), 168 calcPercent(entry->getUncompressedLen(), 169 entry->getCompressedLen()), 170 (size_t) entry 1848 ZipEntry* entry; local [all...] |
H A D | ResourceTable.cpp | 596 NOISY(printf("Adding resource bag entry l=%c%c c=%c%c orien=%d d=%d " 740 NOISY(printf("Adding resource entry l=%c%c c=%c%c orien=%d d=%d id=%s: %s\n", 1727 // Every resource table always has one first entry, the bag attributes. 1781 printf("Adding entry left: file=%s, line=%d, type=%s, value=%s\n", 2722 // If this entry has no values for other configs, 2826 // each resource entry in this type. 2950 // Set the offset for this entry in its type. 2957 // Create the entry. 3149 sourcePos.error("Resource entry %s is already defined as a single item.\n" 3166 sourcePos.error("Resource entry 3527 getEntry(const String16& entry, const SourcePos& sourcePos, const ResTable_config* config, bool doSetIndex, bool overlay, bool autoAddOverlay) argument [all...] |
/frameworks/compile/mclinker/lib/Target/ |
H A D | GNULDBackend.cpp | 728 // number of entries in symbol tables starts from 1 to hold the special entry 985 HashTableType::entry_type* entry = NULL; local 987 entry = m_pSymIndexMap->insert(LDSymbol::Null(), sym_exist); 988 entry->setValue(0); 1000 entry = m_pSymIndexMap->insert(*symbol, sym_exist); 1001 entry->setValue(symIdx); 1026 HashTableType::entry_type* entry = 0; local 1081 entry = m_pSymIndexMap->insert(*symbol, sym_exist); 1082 entry->setValue(symIdx); 1120 // set pointer to SONAME entry i 1515 HashTableType::iterator entry = m_pSymIndexMap->find(const_cast<LDSymbol *>(pSymbol)); local [all...] |
/frameworks/av/media/libstagefright/ |
H A D | ACodec.cpp | 3605 OMXCodec::CodecNameAndQuirks *entry = &matchingCodecs.editItemAt(index); local 3606 entry->mName = String8(componentName.c_str()); 3609 componentName.c_str(), &entry->mQuirks)) { 3610 entry->mQuirks = 0;
|
H A D | OMXCodec.cpp | 221 CodecNameAndQuirks *entry = &matchingCodecs->editItemAt(index); local 222 entry->mName = String8(componentName); 223 entry->mQuirks = getComponentQuirks(list, matchIndex); 226 entry->mName.string(), entry->mQuirks);
|
/frameworks/base/core/java/android/widget/ |
H A D | GridLayout.java | 1525 private boolean relax(int[] locations, Arc entry) { argument 1526 if (!entry.valid) { 1529 Interval span = entry.span; 1532 int value = entry.value.value; 1662 // External entry points 2214 // this overwrite duplicates, retaining the last equivalent entry
|
/frameworks/ex/chips/src/com/android/ex/chips/ |
H A D | RecipientEditTextView.java | 548 // autocomplete text entry area. Make sure to leave space for padding 591 // autocomplete text entry area. Make sure to leave space for padding 625 // TODO: cache this in the recipient entry? 954 Log.d(TAG, "There were extra characters after the last tokenizable entry." 964 * point, this chip will be attached to a real contact entry, if one exists. 980 RecipientEntry entry = createTokenizedEntry(token); 981 if (entry != null) { 989 boolean leaveSpace = TextUtils.isEmpty(entry.getDisplayName()) 990 || TextUtils.equals(entry.getDisplayName(), 991 entry 1598 createAddressText(RecipientEntry entry) argument 1627 createChipDisplayText(RecipientEntry entry) argument 1642 createChip(RecipientEntry entry, boolean pressed) argument 2162 replaceChip(DrawableRecipientChip chip, RecipientEntry entry) argument 2460 createFreeChip(RecipientEntry entry) argument [all...] |
/frameworks/support/v7/gridlayout/src/android/support/v7/widget/ |
H A D | GridLayout.java | 1414 private boolean relax(int[] locations, Arc entry) { argument 1415 if (!entry.valid) { 1418 Interval span = entry.span; 1421 int value = entry.value.value; 1551 // External entry points 2097 // this overwrite duplicates, retaining the last equivalent entry
|
/frameworks/base/libs/hwui/ |
H A D | OpenGLRenderer.cpp | 69 // entry. For instance, gBlends[1] == gBlends[SkXfermode::kSrc_Mode] 2098 status_t OpenGLRenderer::drawBitmaps(SkBitmap* bitmap, AssetAtlas::Entry* entry, int bitmapCount, argument 2101 Texture* texture = entry ? entry->texture : mCaches.textureCache.get(bitmap); 2418 AssetAtlas::Entry* entry = mCaches.assetAtlas.getEntry(bitmap); local 2419 const Patch* mesh = mCaches.patchCache.get(entry, bitmap->width(), bitmap->height(), 2422 return drawPatch(bitmap, mesh, entry, left, top, right, bottom, paint); 2425 status_t OpenGLRenderer::drawPatch(SkBitmap* bitmap, const Patch* mesh, AssetAtlas::Entry* entry, argument 2433 Texture* texture = entry ? entry 2489 drawPatches(SkBitmap* bitmap, AssetAtlas::Entry* entry, TextureVertex* vertices, uint32_t indexCount, SkPaint* paint) argument [all...] |
/frameworks/base/libs/androidfw/ |
H A D | ResourceTypes.cpp | 244 const uint32_t entry = Res_GETENTRY(key); local 267 if (entryCount == 0 || entry < entryOffset || entry - entryOffset > entryCount - 1) { 271 const uint32_t index = typeOffset + 2 + entry - entryOffset; 273 ALOGW("Resource ID map: entry index=%d exceeds size of map=%d\n", index, (int)size); 372 ALOGW("Bad string block: entry of %d items extends past data size %d\n", 454 ALOGW("Bad string block: entry of %d styles extends past data size %d\n", 642 ALOGW("Bad string block: string #%d entry is at %d, past end at %d\n", 669 ALOGW("Bad string block: string #%d entry is at %d, past end at %d\n", 699 ALOGW("Bad string block: style #%d entry i 3112 const ResTable_entry* entry; local 3228 const ResTable_entry* entry; local 3505 const ResTable_entry* entry; local 3882 const ResTable_entry* const entry = (const ResTable_entry*) local 5092 const ResTable_entry* const entry = (const ResTable_entry*) local [all...] |