Searched refs:generation (Results 1 - 25 of 62) sorted by relevance

123

/frameworks/support/v7/recyclerview/src/android/support/v7/util/
H A DThreadUtil.java23 void updateItemCount(int generation, int itemCount); argument
25 void addTile(int generation, TileList.Tile<T> tile); argument
27 void removeTile(int generation, int position); argument
32 void refresh(int generation); argument
H A DMessageThreadUtil.java40 public void updateItemCount(int generation, int itemCount) {
41 sendMessage(SyncQueueItem.obtainMessage(UPDATE_ITEM_COUNT, generation, itemCount));
45 public void addTile(int generation, TileList.Tile<T> tile) {
46 sendMessage(SyncQueueItem.obtainMessage(ADD_TILE, generation, tile));
50 public void removeTile(int generation, int position) {
51 sendMessage(SyncQueueItem.obtainMessage(REMOVE_TILE, generation, position));
98 public void refresh(int generation) {
99 sendMessageAtFrontOfQueue(SyncQueueItem.obtainMessage(REFRESH, generation, null));
H A DAsyncListUtil.java210 public void updateItemCount(int generation, int itemCount) {
212 log("updateItemCount: size=%d, gen #%d", itemCount, generation);
214 if (!isRequestedGeneration(generation)) {
228 public void addTile(int generation, TileList.Tile<T> tile) {
229 if (!isRequestedGeneration(generation)) {
231 log("recycling an older generation tile @%d", tile.mStartPosition);
243 generation, tile.mStartPosition, mTileList.size());
259 public void removeTile(int generation, int position) {
260 if (!isRequestedGeneration(generation)) {
284 private boolean isRequestedGeneration(int generation) {
[all...]
/frameworks/base/libs/hwui/font/
H A DFontCacheHistoryTracker.cpp27 glyph.startX, glyph.startY, glyph.bitmapW, glyph.bitmapH, glyph.generation);
32 log.appendFormat(" glyph skipped in gen: %d\n", entry.glyph.generation);
43 glyph.generation);
65 entry.glyph.generation = generation;
78 glyph.generation = generation;
88 glyph.generation = generation;
97 generation
[all...]
H A DFontCacheHistoryTracker.h41 uint16_t generation; member in struct:android::uirenderer::FontCacheHistoryTracker::CachedGlyph
60 uint16_t generation = 0; member in class:android::uirenderer::FontCacheHistoryTracker
/frameworks/base/services/core/java/com/android/server/tv/
H A DTvInputHal.java62 int generation);
88 int generation = mStreamConfigGenerations.get(deviceId, 0);
89 if (generation != streamConfig.getGeneration()) {
105 int generation = mStreamConfigGenerations.get(deviceId, 0);
106 if (generation != streamConfig.getGeneration()) {
126 int generation = mStreamConfigGenerations.get(deviceId, 0) + 1;
127 mStreamConfigs.put(deviceId, nativeGetStreamConfigs(mPtr, deviceId, generation));
128 mStreamConfigGenerations.put(deviceId, generation);
61 nativeGetStreamConfigs(long ptr, int deviceId, int generation) argument
/frameworks/base/media/java/android/media/tv/
H A DTvStreamConfig.java55 generation(source.readInt()).build();
144 public Builder generation(int generation) { argument
145 mGeneration = generation;
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/util/
H A DThreadUtilTest.java54 public void updateItemCount(int generation, int itemCount) {
56 setResultData("updateItemCount", generation, itemCount);
60 public void addTile(int generation, TileList.Tile<Integer> data) {
62 setResultData("addTile", generation, data);
66 public void removeTile(int generation, int position) {
68 setResultData("removeTile", generation, position);
75 public void refresh(int generation) {
77 setResultData("refresh", generation);
/frameworks/base/libs/hwui/
H A DPathCache.h65 float offset, int generation)
70 this->generation = generation;
72 PathTexture(Caches& caches, int generation) argument
74 this->generation = generation;
64 PathTexture(Caches& caches, float left, float top, float offset, int generation) argument
H A DTextureCache.cpp141 texture->generation = bitmap->getGenerationID();
152 } else if (!texture->isInUse && bitmap->getGenerationID() != texture->generation) {
156 texture->generation = bitmap->getGenerationID();
186 texture->generation = bitmap->getGenerationID();
H A DTexture.h81 * Note this does not set the generation from the SkBitmap.
115 uint32_t generation = 0; member in class:android::uirenderer::Texture
/frameworks/av/media/libstagefright/wifi-display/source/
H A DMediaPuller.cpp134 int32_t generation; local
135 CHECK(msg->findInt32("generation", &generation));
137 if (generation != mPullGeneration) {
219 msg->setInt32("generation", mPullGeneration);
/frameworks/av/media/libmediaplayerservice/nuplayer/
H A DHTTPLiveSource.cpp201 int32_t &generation = isSub ? mFetchSubtitleDataGeneration : mFetchMetaDataGeneration; local
202 generation++;
206 msg->setInt32("generation", generation);
225 int32_t generation; local
226 CHECK(msg->findInt32("generation", &generation));
228 if (generation != currentGeneration) {
H A DRTSPSource.cpp284 msg->setInt32("generation", ++mSeekGeneration);
420 int32_t generation; local
421 CHECK(msg->findInt32("generation", &generation));
423 if (generation != mSeekGeneration) {
441 msg->setInt32("generation", mSeekGeneration);
457 int32_t generation; local
458 CHECK(msg->findInt32("generation", &generation));
461 if (generation !
[all...]
H A DNuPlayerDecoderPassThrough.cpp101 int32_t generation; local
102 CHECK(msg->findInt32("generation", &generation));
103 return generation != mBufferGeneration;
343 reply->setInt32("generation", mBufferGeneration);
H A DNuPlayerRenderer.cpp477 int32_t generation; local
478 CHECK(msg->findInt32("drainGeneration", &generation));
479 if (generation != getDrainGeneration(true /* audio */)) {
516 int32_t generation; local
517 CHECK(msg->findInt32("drainGeneration", &generation));
518 if (generation != getDrainGeneration(false /* audio */)) {
532 int32_t generation; local
533 CHECK(msg->findInt32("drainGeneration", &generation));
534 if (generation != getDrainGeneration(false /* audio */)) {
557 int32_t generation; local
677 int32_t generation; local
[all...]
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
H A DGenerationRegistry.java58 final int generation = backingStore.get(index) + 1;
59 backingStore.set(index, generation);
62 Slog.e(LOG_TAG, "Error updating generation id", e);
88 Slog.e(LOG_TAG, "Error adding generation data", e);
124 Slog.e(LOG_TAG, "Error creating generation tracker", e);
135 Slog.e(LOG_TAG, "Cannot close generation memory array", e);
167 Slog.e(LOG_TAG, "Could not allocate generation index");
/frameworks/native/include/ui/
H A DGraphicBuffer.h99 void setGenerationNumber(uint32_t generation) { argument
100 mGenerationNumber = generation;
176 // Stores the generation number of this buffer. If this number does not
177 // match the BufferQueue's internal generation number (set through
/frameworks/native/libs/input/
H A DInputDevice.cpp145 void InputDeviceInfo::initialize(int32_t id, int32_t generation, int32_t controllerNumber, argument
149 mGeneration = generation;
/frameworks/compile/mclinker/tools/mcld/
H A DAndroid.mk28 # Collect target specific code generation libraries
45 # Add target specific code generation libraries
/frameworks/native/include/input/
H A DInputDevice.h75 void initialize(int32_t id, int32_t generation, int32_t controllerNumber,
/frameworks/av/include/media/
H A DIAudioPolicyService.h132 unsigned int *generation) = 0;
147 unsigned int *generation) = 0;
/frameworks/av/media/libmedia/
H A DIAudioPolicyService.cpp525 unsigned int *generation)
528 generation == NULL) {
549 *generation = reply.readInt32();
604 unsigned int *generation)
607 generation == NULL) {
626 *generation = reply.readInt32();
1169 unsigned int generation; local
1170 status_t status = listAudioPorts(role, type, &numPorts, ports, &generation);
1179 reply->writeInt32(generation);
1239 unsigned int generation; local
521 listAudioPorts(audio_port_role_t role, audio_port_type_t type, unsigned int *num_ports, struct audio_port *ports, unsigned int *generation) argument
602 listAudioPatches(unsigned int *num_patches, struct audio_patch *patches, unsigned int *generation) argument
[all...]
/frameworks/av/media/libstagefright/rtsp/
H A DMyHandler.h828 int32_t generation; local
829 CHECK(msg->findInt32("generation", &generation));
831 if (generation != mKeepAliveGeneration) {
846 reply->setInt32("generation", mKeepAliveGeneration);
859 int32_t generation; local
860 CHECK(msg->findInt32("generation", &generation));
862 if (generation != mKeepAliveGeneration) {
962 int32_t generation; local
1058 int32_t generation; local
[all...]
/frameworks/av/media/libstagefright/wifi-display/
H A DMediaSender.cpp125 notify->setInt32("generation", mGeneration);
174 notify->setInt32("generation", mGeneration);
289 int32_t generation; local
290 CHECK(msg->findInt32("generation", &generation));
291 if (generation != mGeneration) {

Completed in 707 milliseconds

123