Searched refs:entry (Results 26 - 50 of 497) sorted by relevance

1234567891011>>

/frameworks/support/v4/tests/java/android/support/v4/graphics/
H A DColorUtilsTest.java86 for (TestEntry entry : sEntryList) {
87 verifyColorToHSL(entry.rgb, entry.hsl);
93 for (TestEntry entry : sEntryList) {
94 verifyHSLToColor(entry.hsl, entry.rgb);
102 for (TestEntry entry : sEntryList) {
103 ColorUtils.colorToHSL(entry.rgb, hsl);
113 for (TestEntry entry : sEntryList) {
114 verifyColorToXYZ(entry
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
H A DRemoteInputController.java44 public void addRemoteInput(NotificationData.Entry entry) { argument
45 Preconditions.checkNotNull(entry);
48 entry /* contains */, null /* remove */);
50 mOpen.add(new WeakReference<>(entry));
53 apply(entry);
56 public void removeRemoteInput(NotificationData.Entry entry) { argument
57 Preconditions.checkNotNull(entry);
59 pruneWeakThenRemoveAndContains(null /* contains */, entry /* remove */);
61 apply(entry);
76 private void apply(NotificationData.Entry entry) { argument
88 isRemoteInputActive(NotificationData.Entry entry) argument
126 remoteInputSent(NotificationData.Entry entry) argument
158 onRemoteInputSent(NotificationData.Entry entry) argument
[all...]
/frameworks/volley/src/main/java/com/android/volley/toolbox/
H A DDiskBasedCache.java104 * Returns the cache entry with the specified key if it exists, null otherwise.
108 CacheHeader entry = mEntries.get(key);
109 // if the entry does not exist, return.
110 if (entry == null) {
120 return entry.toCacheEntry(data);
157 CacheHeader entry = CacheHeader.readHeader(fis);
158 entry.size = file.length();
159 putEntry(entry.key, entry);
175 * Invalidates an entry i
196 put(String key, Entry entry) argument
298 putEntry(String key, CacheHeader entry) argument
372 CacheHeader(String key, Entry entry) argument
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
H A DHeadsUpManager.java189 // the entry was released before this update (i.e by a listener) This can happen
198 private void addHeadsUpEntry(NotificationData.Entry entry) { argument
201 // This will also add the entry to the sortedList
202 headsUpEntry.setEntry(entry);
203 mHeadsUpEntries.put(entry.key, headsUpEntry);
204 entry.row.setHeadsUp(true);
205 setEntryPinned(headsUpEntry, shouldHeadsUpBecomePinned(entry));
207 listener.onHeadsUpStateChanged(entry, true);
209 entry.row.sendAccessibilityEvent(AccessibilityEvent.TYPE_WINDOW_CONTENT_CHANGED);
212 private boolean shouldHeadsUpBecomePinned(NotificationData.Entry entry) { argument
216 hasFullScreenIntent(NotificationData.Entry entry) argument
235 removeHeadsUpEntry(NotificationData.Entry entry) argument
577 setRemoteInputActive(NotificationData.Entry entry, boolean remoteInputActive) argument
593 setExpanded(NotificationData.Entry entry, boolean expanded) argument
610 public NotificationData.Entry entry; field in class:HeadsUpManager.HeadsUpEntry
617 setEntry(final NotificationData.Entry entry) argument
742 onHeadsUpStateChanged(NotificationData.Entry entry, boolean isHeadsUp) argument
[all...]
/frameworks/av/services/camera/libcameraservice/common/
H A DCameraModule.cpp42 camera_metadata_entry entry = chars.find(ANDROID_CONTROL_AVAILABLE_SCENE_MODES); local
43 if (entry.count > 1 || entry.data.u8[0] != ANDROID_CONTROL_SCENE_MODE_DISABLED) {
51 entry = chars.find(ANDROID_CONTROL_AE_AVAILABLE_MODES);
52 if (entry.count > 0) {
53 for (size_t i = 0; i < entry.count; i++) {
54 if (entry.data.u8[i] == ANDROID_CONTROL_AE_MODE_OFF) {
60 entry = chars.find(ANDROID_CONTROL_AF_AVAILABLE_MODES);
61 if (entry.count > 0) {
62 for (size_t i = 0; i < entry
133 camera_metadata_entry entry = chars.find(ANDROID_SCALER_AVAILABLE_STREAM_CONFIGURATIONS); local
193 camera_metadata_entry entry = chars.find(ANDROID_SENSOR_INFO_PRE_CORRECTION_ACTIVE_ARRAY_SIZE); local
221 camera_metadata_entry entry = chars.find(keyTag); local
[all...]
/frameworks/av/camera/ndk/
H A DNdkCameraMetadata.cpp31 const ACameraMetadata* acm, uint32_t tag, ACameraMetadata_const_entry* entry) {
33 if (acm == nullptr || entry == nullptr) {
34 ALOGE("%s: invalid argument! metadata %p, tag 0x%x, entry %p",
35 __FUNCTION__, acm, tag, entry);
38 return acm->getConstEntry(tag, entry);
30 ACameraMetadata_getConstEntry( const ACameraMetadata* acm, uint32_t tag, ACameraMetadata_const_entry* entry) argument
/frameworks/base/tools/aapt2/flatten/
H A DResourceTypeExtensions.h29 android::ResTable_entry entry; member in struct:aapt::ResTable_entry_ext
/frameworks/ex/framesequence/jni/
H A DRegistry.cpp24 Registry::Registry(const RegistryEntry& entry) { argument
25 mImpl = entry;
30 if (gHeaderBytesRequired < entry.requiredHeaderBytes) {
31 gHeaderBytesRequired = entry.requiredHeaderBytes;
/frameworks/opt/chips/src/com/android/ex/chips/
H A DPhotoManager.java39 void populatePhotoBytesAsync(RecipientEntry entry, PhotoManagerCallback callback); argument
/frameworks/volley/src/test/java/com/android/volley/mock/
H A DMockCache.java32 public void setEntryToReturn(Entry entry) { argument
33 mFakeEntry = entry;
47 public void put(String key, Entry entry) { argument
50 entryPut = entry;
/frameworks/base/tools/aapt2/compile/
H A DIdAssigner.cpp61 // Collect used entry IDs.
62 for (auto& entry : type->entries) {
63 if (entry->id) {
64 // Mark entry ID as taken.
65 if (!usedEntryIds.insert(entry->id.value()).second) {
67 ResourceNameRef nameRef(package->name, type->type, entry->name);
70 << "has duplicate entry ID "
71 << std::hex << (int) entry->id.value()
78 // Assign unused entry IDs.
82 for (auto& entry
[all...]
/frameworks/volley/src/main/java/com/android/volley/
H A DCacheDispatcher.java100 Cache.Entry entry = mCache.get(request.getCacheKey());
101 if (entry == null) {
109 if (entry.isExpired()) {
111 request.setCacheEntry(entry);
119 new NetworkResponse(entry.data, entry.responseHeaders));
122 if (!entry.refreshNeeded()) {
130 request.setCacheEntry(entry);
/frameworks/base/include/androidfw/
H A DZipFileRO.h59 * "open" and "find entry by name" are fast operations and use as little
83 * Find an entry, by name. Returns the entry identifier, or NULL if
97 * Return the next entry in iteration order, or NULL if there are no more
104 void releaseEntry(ZipEntryRO entry) const;
113 * -1 if "entry" is invalid, or the filename length if it didn't fit. The
116 int getEntryFileName(ZipEntryRO entry, char* buffer, size_t bufLen) const;
119 * Get the vital stats for an entry. Pass in NULL pointers for anything
122 * "*pOffset" holds the Zip file offset of the entry's data.
124 * Returns "false" if "entry" i
[all...]
/frameworks/base/libs/hwui/
H A DLayerCache.cpp85 for (auto entry : mCache) {
86 deleteLayer(entry.mLayer);
94 LayerEntry entry(width, height);
95 auto iter = mCache.find(entry);
98 entry = *iter;
101 layer = entry.mLayer;
107 LAYER_LOGD("Creating new layer %dx%d", entry.mWidth, entry.mHeight);
109 layer = new Layer(Layer::Type::DisplayList, renderState, entry.mWidth, entry
[all...]
/frameworks/base/core/java/android/security/net/config/
H A DApplicationConfig.java85 // Find the Domain -> NetworkSecurityConfig entry with the most specific matching
86 // Domain entry for hostname.
89 for (Pair<Domain, NetworkSecurityConfig> entry : mConfigs) {
90 Domain domain = entry.first;
91 NetworkSecurityConfig config = entry.second;
102 bestMatch = entry;
104 bestMatch = entry;
132 for (Pair<Domain, NetworkSecurityConfig> entry : mConfigs) {
133 if (!entry.second.isCleartextTrafficPermitted()) {
156 for (Pair<Domain, NetworkSecurityConfig> entry
[all...]
/frameworks/base/tools/aapt/
H A DStringPool.h42 struct entry { struct in class:StringPool
43 entry() : offset(0) { } function in struct:StringPool::entry
44 entry(const String16& _value) : value(_value), offset(0), hasStyles(false) { } function in struct:StringPool::entry
45 entry(const entry& o) : value(o.value), offset(o.offset), function in struct:StringPool::entry
58 int compare(const entry& o) const;
60 inline bool operator<(const entry& o) const { return compare(o) < 0; }
61 inline bool operator<=(const entry& o) const { return compare(o) <= 0; }
62 inline bool operator==(const entry& o) const { return compare(o) == 0; }
63 inline bool operator!=(const entry
[all...]
/frameworks/base/tools/aapt2/split/
H A DTableSplitter.cpp58 for (auto& entry : *claimedValues) {
59 // Check if the entry has a density.
60 ResourceConfigValue* configValue = entry.first;
61 if (configValue->config.density == 0 && !entry.second) {
67 // Mark the entry as taken.
68 entry.second = true;
74 for (auto& entry : densityGroups) {
77 const ConfigDescription& config = entry.first;
78 const std::vector<ResourceConfigValue*>& relatedValues = entry.second;
116 for (auto& entry
[all...]
/frameworks/av/services/camera/libcameraservice/api1/client2/
H A DFrameProcessor.cpp82 camera_metadata_entry_t entry;
83 entry = frame.mMetadata.find(ANDROID_QUIRKS_PARTIAL_RESULT);
84 if (entry.count > 0 &&
85 entry.data.u8[0] == ANDROID_QUIRKS_PARTIAL_RESULT_PARTIAL) {
106 camera_metadata_ro_entry_t entry; local
113 entry = frame.find(ANDROID_STATISTICS_FACE_DETECT_MODE);
116 if (entry.count == 0) {
120 uint8_t faceDetectMode = entry.data.u8[0];
130 entry = frame.find(ANDROID_STATISTICS_FACE_RECTANGLES);
131 if (entry
252 camera_metadata_ro_entry_t entry; local
356 camera_metadata_ro_entry_t entry; local
[all...]
/frameworks/base/tools/aapt2/link/
H A DAutoVersioner.cpp28 bool shouldGenerateVersionedResource(const ResourceEntry* entry, const ConfigDescription& config, argument
31 const auto endIter = entry->values.end();
32 auto iter = entry->values.begin();
40 assert(iter != entry->values.end());
69 for (auto& entry : type->entries) {
70 for (size_t i = 0; i < entry->values.size(); i++) {
71 ResourceConfigValue* configValue = entry->values[i].get();
110 if (shouldGenerateVersionedResource(entry.get(),
127 entry->findOrCreateValue(newConfig, {})->value =
/frameworks/multidex/library/test/src/android/support/multidex/
H A DZipEntryReader.java85 ZipEntry entry = new ZipEntry(name);
86 entry.setMethod(compressionMethod);
87 entry.setTime(getTime(time, modDate));
89 entry.setCrc(crc);
90 entry.setCompressedSize(compressedSize);
91 entry.setSize(size);
98 entry.setComment(new String(commentBytes, 0, commentBytes.length, UTF_8));
104 entry.setExtra(extra);
107 return entry;
/frameworks/opt/vcard/tests/src/com/android/vcard/tests/
H A DVCardExporterTests.java101 final ContactEntry entry = mVerifier.addInputEntry();
102 entry.addContentValues(StructuredName.CONTENT_ITEM_TYPE)
111 entry.addContentValues(StructuredName.CONTENT_ITEM_TYPE)
125 entry.addContentValues(StructuredName.CONTENT_ITEM_TYPE)
161 final ContactEntry entry = mVerifier.addInputEntry();
162 entry.addContentValues(StructuredName.CONTENT_ITEM_TYPE)
171 entry.addContentValues(StructuredName.CONTENT_ITEM_TYPE)
181 entry.addContentValues(StructuredName.CONTENT_ITEM_TYPE)
190 entry.addContentValues(StructuredName.CONTENT_ITEM_TYPE)
231 final ContactEntry entry
[all...]
/frameworks/base/libs/androidfw/
H A DZipFileRO.cpp41 ZipEntry entry; member in class:_ZipEntryRO
85 const int32_t error = FindEntry(mHandle, data->name, &(data->entry));
95 * Get the useful fields from the zip entry.
100 bool ZipFileRO::getEntryInfo(ZipEntryRO entry, uint16_t* pMethod, argument
104 const _ZipEntryRO* zipEntry = reinterpret_cast<_ZipEntryRO*>(entry);
105 const ZipEntry& ze = zipEntry->entry;
154 int32_t error = Next(ze->cookie, &(ze->entry), &(ze->name));
162 return &(ze->entry);
170 void ZipFileRO::releaseEntry(ZipEntryRO entry) const
172 delete reinterpret_cast<_ZipEntryRO*>(entry);
178 getEntryFileName(ZipEntryRO entry, char* buffer, size_t bufLen) const argument
226 uncompressEntry(ZipEntryRO entry, void* buffer, size_t size) const argument
244 uncompressEntry(ZipEntryRO entry, int fd) const argument
[all...]
/frameworks/base/tests/LocationTracker/src/com/android/locationtracker/data/
H A DKMLFormatter.java43 public String getOutput(TrackerEntry entry) { argument
46 if (entry.getType() == EntryType.LOCATION_TYPE) {
48 Location loc = entry.getLocation();
53 + entry.getDistFromNetLocation());
56 builder.addLine("<when>" + entry.getTimestamp() + "</when>");
/frameworks/base/tools/aapt2/
H A DDebug.cpp44 std::cout << "\n " << symbol.symbol.name.value().entry;
70 for (const auto& entry : style->entries) {
72 if (entry.key.name) {
73 const ResourceName& name = entry.key.name.value();
77 std::cout << name.entry;
80 if (entry.key.id) {
81 std::cout << "(" << entry.key.id.value() << ")";
84 std::cout << "=" << *entry.value;
105 std::cout << name.entry;
137 for (const auto& entry
200 ResourceEntry* entry = result.value().entry; local
[all...]
H A DResource.h35 * to the 'type' in package:type/entry.
78 std::u16string entry; member in struct:aapt::ResourceName
96 StringPiece16 entry; member in struct:aapt::ResourceNameRef
120 * EEEE: 16 bit entry identifier.
256 package(p.toString()), type(t), entry(e.toString()) {
260 return !package.empty() && !entry.empty();
264 return std::tie(lhs.package, lhs.type, lhs.entry)
265 < std::tie(rhs.package, rhs.type, rhs.entry);
269 return std::tie(lhs.package, lhs.type, lhs.entry)
270 == std::tie(rhs.package, rhs.type, rhs.entry);
[all...]

Completed in 3454 milliseconds

1234567891011>>