Searched defs:model (Results 1 - 25 of 561) sorted by relevance

1234567891011>>

/external/chromium_org/chrome/browser/extensions/api/processes/
H A Dprocesses_apitest.cc22 TaskManagerModel* model = TaskManager::GetInstance()->model(); local
23 EXPECT_EQ(0, model->update_requests_);
24 EXPECT_EQ(TaskManagerModel::IDLE, model->update_state_);
33 EXPECT_EQ(1, model->update_requests_);
34 EXPECT_EQ(TaskManagerModel::TASK_PENDING, model->update_state_);
39 EXPECT_EQ(2, model->update_requests_);
40 EXPECT_EQ(TaskManagerModel::TASK_PENDING, model->update_state_);
44 EXPECT_EQ(1, model->update_requests_);
/external/glide/library/src/main/java/com/bumptech/glide/load/model/
H A DModelLoader.java1 package com.bumptech.glide.load.model;
3 import com.bumptech.glide.load.model.stream.StreamStringLoader;
8 * An interface for translating an arbitrarily complex data model into a concrete data type that can be used by an
9 * {@link DataFetcher} to obtain the data for an image represented by the model.
12 * 1. To translate a specific data model into something that can be used by a decoder to load a Bitmap.
14 * 2. To allow a data model to be combined with the dimensions of the view to fetch an image of a specific size.
24 * @param <T> The type of the model
32 * image represented by this model. The {@link DataFetcher} will not be used if
42 * @param model The model representin
48 getResourceFetcher(T model, int width, int height) argument
[all...]
H A DFileLoader.java1 package com.bumptech.glide.load.model;
9 * A simple model loader for {@link File}
20 public DataFetcher<T> getResourceFetcher(File model, int width, int height) { argument
21 return uriLoader.getResourceFetcher(Uri.fromFile(model), width, height);
H A DResourceLoader.java1 package com.bumptech.glide.load.model;
8 * A model loader for handling resources. Model must be a resource id in the package of the given context.
21 public DataFetcher<T> getResourceFetcher(Integer model, int width, int height) { argument
22 Uri uri = Uri.parse("android.resource://" + context.getPackageName() + "/" + model.toString());
H A DStringLoader.java1 package com.bumptech.glide.load.model;
9 * A model loader for handling certain string models. Handles paths, urls, and any uri string with a scheme handled by
20 public DataFetcher<T> getResourceFetcher(String model, int width, int height) { argument
21 Uri uri = Uri.parse(model);
25 uri = Uri.fromFile(new File(model));
H A DUriLoader.java1 package com.bumptech.glide.load.model;
18 public final DataFetcher<T> getResourceFetcher(Uri model, int width, int height) { argument
19 final String scheme = model.getScheme();
23 result = getLocalUriFetcher(context, model);
25 result = urlLoader.getResourceFetcher(new GlideUrl(model.toString()), width, height);
H A DUrlLoader.java1 package com.bumptech.glide.load.model;
15 public DataFetcher<T> getResourceFetcher(URL model, int width, int height) { argument
16 return glideUrlLoader.getResourceFetcher(new GlideUrl(model), width, height);
/external/chromium_org/components/bookmarks/browser/
H A Dscoped_group_bookmark_actions.cc11 ScopedGroupBookmarkActions::ScopedGroupBookmarkActions(BookmarkModel* model) argument
12 : model_(model) {
/external/chromium_org/tools/telemetry/telemetry/timeline/
H A Dmodel_unittest.py7 from telemetry.timeline import model namespace
13 model.TimelineModel(
15 model.TimelineModel(
/external/chromium_org/chrome/browser/extensions/api/bookmarks/
H A Dbookmark_apitest.cc28 BookmarkModel* model = BookmarkModelFactory::GetForProfile(profile); local
31 test::WaitForBookmarkModelToLoad(model);
/external/chromium_org/chrome/browser/profiles/
H A Dbookmark_model_loaded_observer.cc17 void BookmarkModelLoadedObserver::BookmarkModelLoaded(BookmarkModel* model, argument
21 model->RemoveObserver(this);
26 BookmarkModel* model) {
27 model->RemoveObserver(this);
25 BookmarkModelBeingDeleted( BookmarkModel* model) argument
/external/chromium_org/chrome/browser/search_engines/
H A Dtemplate_url_scraper_unittest.cc27 explicit TemplateURLServiceLoader(TemplateURLService* model) : model_(model) { argument
/external/chromium_org/chrome/browser/ui/ash/app_list/
H A Dapp_sync_ui_state_watcher.cc11 app_list::AppListModel* model)
13 model_(model) {
10 AppSyncUIStateWatcher(Profile* profile, app_list::AppListModel* model) argument
/external/chromium_org/chrome/browser/ui/views/
H A Dconfirm_bubble_views_unittest.cc26 // Bubble owns the model.
28 TestConfirmBubbleModel* model = local
30 ConfirmBubbleViews* bubble = new ConfirmBubbleViews(model);
/external/chromium_org/third_party/WebKit/Source/platform/audio/
H A DPanner.cpp40 Panner* Panner::create(PanningModel model, float sampleRate, HRTFDatabaseLoader* databaseLoader) argument
44 switch (model) {
/external/chromium_org/ui/views/
H A Dview_model_utils_unittest.cc16 ViewModel model; local
17 model.Add(&v1, 0);
19 model.set_ideal_bounds(0, v1_bounds);
20 ViewModelUtils::SetViewBoundsToIdealBounds(model);
27 ViewModel model; local
28 model.Add(&v1, 0);
29 model.Add(&v2, 1);
30 model.Add(&v3, 2);
31 model.set_ideal_bounds(0, gfx::Rect(0, 0, 10, 10));
32 model
[all...]
/external/glide/library/src/main/java/com/bumptech/glide/load/model/file_descriptor/
H A DFileDescriptorModelLoader.java1 package com.bumptech.glide.load.model.file_descriptor;
4 import com.bumptech.glide.load.model.ModelLoader;
11 * @param <T> The type of the model that will be translated into an {@link File}.
/external/glide/library/src/main/java/com/bumptech/glide/load/model/stream/
H A DStreamModelLoader.java1 package com.bumptech.glide.load.model.stream;
3 import com.bumptech.glide.load.model.ModelLoader;
10 * @param <T> The type of the model that will be translated into an {@link InputStream}.
H A DBaseGlideUrlLoader.java1 package com.bumptech.glide.load.model.stream;
5 import com.bumptech.glide.load.model.ModelCache;
6 import com.bumptech.glide.load.model.GlideUrl;
7 import com.bumptech.glide.load.model.ModelLoader;
13 * A base class for loading images over http/https. Can be subclassed for use with any model that can be translated
16 * @param <T> The type of the model
41 public DataFetcher<InputStream> getResourceFetcher(T model, int width, int height) { argument
44 result = modelCache.get(model, width, height);
48 String stringURL = getUrl(model, width, height);
52 modelCache.put(model, widt
67 getUrl(T model, int width, int height) argument
[all...]
H A DMediaStoreStreamLoader.java1 package com.bumptech.glide.load.model.stream;
7 import com.bumptech.glide.load.model.ModelLoader;
28 public DataFetcher<InputStream> getResourceFetcher(Uri model, int width, int height) { argument
29 return new MediaStoreThumbFetcher(context, model, uriLoader.getResourceFetcher(model, width, height), width,
H A DStreamByteArrayLoader.java1 package com.bumptech.glide.load.model.stream;
25 public DataFetcher<InputStream> getResourceFetcher(byte[] model, int width, int height) { argument
26 return new ByteArrayFetcher(model, id);
/external/junit/src/org/junit/runners/model/
H A DStatement.java4 package org.junit.runners.model;
/external/antlr/antlr-3.4/gunit/src/main/java/org/antlr/gunit/swingui/model/
H A DITestCaseInput.java28 package org.antlr.gunit.swingui.model;
H A DITestCaseOutput.java33 package org.antlr.gunit.swingui.model;
/external/chromium_org/chrome/browser/extensions/api/bookmark_manager_private/
H A Dbookmark_manager_private_apitest.cc32 BookmarkModel* model = BookmarkModelFactory::GetForProfile(profile); local
35 test::WaitForBookmarkModelToLoad(model);
58 BookmarkModel* model = BookmarkModelFactory::GetForProfile(profile); local
59 test::WaitForBookmarkModelToLoad(model);
60 const BookmarkNode* bar = model->bookmark_bar_node();
62 model->AddFolder(bar, 0, base::ASCIIToUTF16("Folder"));
63 model->AddURL(bar, 1, base::ASCIIToUTF16("AAA"),
65 model->AddURL(folder, 0, base::ASCIIToUTF16("BBB"),

Completed in 646 milliseconds

1234567891011>>