/frameworks/base/tests/TransitionTests/src/com/android/transitiontests/ |
CrossfadeMultiple.java | 52 ViewGroup container = (ViewGroup) findViewById(R.id.container); 55 mButton = (Button) findViewById(R.id.button); 56 mImageView = (ImageView) findViewById(R.id.imageview); 57 mTextView = (TextView) findViewById(R.id.textview); 60 mCrossfade.addTarget(R.id.button).addTarget(R.id.textview).addTarget(R.id.imageview); 96 int id = view.getId(); local 98 switch (id) { 99 case R.id.button1 122 int id = view.getId(); local [all...] |
/packages/apps/Browser/src/com/android/browser/ |
Preloader.java | 59 private PreloaderSession getSession(String id) { 61 if (LOGD_ENABLED) Log.d(LOGTAG, "Create new preload session " + id); 62 mSession = new PreloaderSession(id); 66 } else if (mSession.mId.equals(id)) { 67 if (LOGD_ENABLED) Log.d(LOGTAG, "Returning existing preload session " + id); 76 private PreloaderSession takeSession(String id) { 78 if (mSession != null && mSession.mId.equals(id)) { 90 public void handlePreloadRequest(String id, String url, Map<String, String> headers, 92 PreloaderSession s = getSession(id); 109 public void cancelSearchBoxPreload(String id) { [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/common/layout/ |
FrameLayoutRuleTest.java | 28 INode layout = TestNode.create("android.widget.FrameLayout").id("@+id/FrameLayout01") 30 TestNode.create("android.widget.Button").id("@+id/Button01").bounds( 32 TestNode.create("android.widget.Button").id("@+id/Button02").bounds( 34 TestNode.create("android.widget.Button").id("@+id/Button03").bounds( 36 TestNode.create("android.widget.Button").id("@+id/Button04").bounds [all...] |
/external/chromium_org/chrome/browser/extensions/ |
extension_sorting_unittest.cc | 40 extension_sorting()->GetAppLaunchOrdinal(extension_->id()).IsValid()); 42 extension_sorting()->GetPageOrdinal(extension_->id()).IsValid()); 59 EXPECT_FALSE(prefs()->IsExtensionDisabled(extension_->id())); 68 extension_sorting()->GetAppLaunchOrdinal(extension_->id()); 78 extension_->id(), 81 extension_sorting()->GetAppLaunchOrdinal(extension_->id()); 117 extension_sorting()->GetPageOrdinal(extension_->id()))); 127 extension_sorting()->GetPageOrdinal(extension2->id()))); 132 extension_sorting()->SetPageOrdinal(extension_->id(), new_page); 135 new_page.Equals(extension_sorting()->GetPageOrdinal(extension_->id()))); [all...] |
pending_extension_manager.cc | 40 const std::string& id) const { 45 if (id == iter->id()) 52 bool PendingExtensionManager::Remove(const std::string& id) { 57 if (id == iter->id()) { 66 bool PendingExtensionManager::IsIdPending(const std::string& id) const { 71 if (id == iter->id()) 95 const std::string& id, [all...] |
app_sync_bundle.cc | 34 AddApp(app_sync_data.id()); 88 HasExtensionId(extension.id()) ? 91 MarkPendingAppSynced(extension.id()); 96 RemoveApp(app_sync_data.id()); 98 AddApp(app_sync_data.id()); 109 bool AppSyncBundle::HasExtensionId(const std::string& id) const { 110 return synced_apps_.find(id) != synced_apps_.end(); 113 bool AppSyncBundle::HasPendingExtensionId(const std::string& id) const { 114 return pending_sync_data_.find(id) != pending_sync_data_.end(); 117 void AppSyncBundle::AddPendingApp(const std::string& id, [all...] |
extension_sync_bundle.cc | 34 AddExtension(extension_sync_data.id()); 89 HasExtensionId(extension.id()) ? 92 MarkPendingExtensionSynced(extension.id()); 98 RemoveExtension(extension_sync_data.id()); 100 AddExtension(extension_sync_data.id()); 110 const std::string& id) const { 111 return synced_extensions_.find(id) != synced_extensions_.end(); 115 const std::string& id) const { 116 return pending_sync_data_.find(id) != pending_sync_data_.end(); 120 const std::string& id, [all...] |
app_icon_loader_impl.cc | 20 const std::string& id) { 25 return service->GetInstalledExtension(id); 46 void AppIconLoaderImpl::FetchImage(const std::string& id) { 49 if (i->second == id) 53 const extensions::Extension* extension = GetExtensionByID(profile_, id); 65 map_[image] = id; 73 void AppIconLoaderImpl::ClearImage(const std::string& id) { 76 if (i->second == id) { 84 void AppIconLoaderImpl::UpdateImage(const std::string& id) { 87 if (i->second == id) { [all...] |
/frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/ |
RenderScript.java | 144 ContextType(int id) { 145 mID = id; 176 native void rsnContextSendMessage(int con, int id, int[] data); 177 synchronized void nContextSendMessage(int id, int[] data) { 179 rsnContextSendMessage(mContext, id, data); 182 native void rsnObjDestroy(int con, int id); 183 synchronized void nObjDestroy(int id) { 188 rsnObjDestroy(mContext, id); 202 native void rsnElementGetNativeData(int con, int id, int[] elementData); 203 synchronized void nElementGetNativeData(int id, int[] elementData) [all...] |
/external/chromium/chrome/browser/ui/gtk/ |
view_id_util.cc | 20 ViewID id; // Input: the ID we are searching for. member in struct:__anon5084::ViewIDSearchStruct 24 // Recursively search for the given view ID among the children of |widget|. 33 // Check if the widget defines its own ID function. 37 search_struct->widget = delegate->GetWidgetForViewID(search_struct->id); 47 if (search_struct->id == widget_id) { 60 const char* GetNameFromID(ViewID id) { 61 switch (id) { 111 // set its ID. 123 void ViewIDUtil::SetID(GtkWidget* widget, ViewID id) { [all...] |
/external/chromium_org/chrome/browser/ui/gtk/ |
view_id_util.cc | 20 ViewID id; // Input: the ID we are searching for. member in struct:__anon8606::ViewIDSearchStruct 24 // Recursively search for the given view ID among the children of |widget|. 33 // Check if the widget defines its own ID function. 37 search_struct->widget = delegate->GetWidgetForViewID(search_struct->id); 47 if (search_struct->id == widget_id) { 60 const char* GetNameFromID(ViewID id) { 61 switch (id) { 117 // set its ID. 128 void ViewIDUtil::SetID(GtkWidget* widget, ViewID id) { [all...] |
/external/chromium_org/content/test/data/npapi/ |
npapi.js | 5 /* public */ function onSuccess(name, id) 7 setTimeout(onFinished, 0, name, id, "OK"); 10 /* public */ function onFailure(name, id, status) 12 setTimeout(onFinished, 0, name, id, status); 19 /* private */ function onFinished(name, id, result)
|
/external/chromium_org/third_party/WebKit/Source/core/platform/chromium/support/ |
WebCryptoAlgorithm.cpp | 42 WebCryptoAlgorithmPrivate(WebCryptoAlgorithmId id, const char* name, PassOwnPtr<WebCryptoAlgorithmParams> params) 43 : id(id) 49 WebCryptoAlgorithmId id; member in class:WebKit::WebCryptoAlgorithmPrivate 54 WebCryptoAlgorithm::WebCryptoAlgorithm(WebCryptoAlgorithmId id, const char* name, PassOwnPtr<WebCryptoAlgorithmParams> params) 55 : m_private(adoptRef(new WebCryptoAlgorithmPrivate(id, name, params))) 59 WebCryptoAlgorithm WebCryptoAlgorithm::adoptParamsAndCreate(WebCryptoAlgorithmId id, const char* name, WebCryptoAlgorithmParams* params) 61 return WebCryptoAlgorithm(id, name, adoptPtr(params)); 64 WebCryptoAlgorithmId WebCryptoAlgorithm::id() const function in class:WebKit::WebCryptoAlgorithm 66 return m_private->id; [all...] |
/external/chromium_org/ui/message_center/ |
message_center.h | 77 virtual bool HasNotification(const std::string& id) = 0; 79 virtual bool HasClickedListener(const std::string& id) = 0; 91 // Updates an existing notification with id = old_id and set its id to new_id. 97 virtual void RemoveNotification(const std::string& id, bool by_user) = 0; 117 // extension id given. 118 virtual void DisableNotificationsByExtension(const std::string& id) = 0; 127 // given notification id). 128 virtual void ShowNotificationSettings(const std::string& id) = 0; 131 virtual void ExpandNotification(const std::string& id) = 0 [all...] |
/external/eigen/doc/special_examples/ |
Tutorial_sparse_example_details.cpp | 8 void insertCoefficient(int id, int i, int j, double w, std::vector<T>& coeffs, 14 if(i==-1 || i==n) b(id) -= w * boundary(j); // constrained coeffcieint 15 else if(j==-1 || j==n) b(id) -= w * boundary(i); // constrained coeffcieint 16 else coeffs.push_back(T(id,id1,w)); // unknown coefficient 27 int id = i+j*n; local 28 insertCoefficient(id, i-1,j, -1, coefficients, b, boundary); 29 insertCoefficient(id, i+1,j, -1, coefficients, b, boundary); 30 insertCoefficient(id, i,j-1, -1, coefficients, b, boundary); 31 insertCoefficient(id, i,j+1, -1, coefficients, b, boundary); 32 insertCoefficient(id, i,j, 4, coefficients, b, boundary) [all...] |
/external/skia/tests/ |
ImageCacheTest.cpp | 21 SkScaledImageCache::ID* id; local 30 id = cache.findAndLock(bm[i], scale, scale, &tmp); 31 REPORTER_ASSERT(reporter, NULL == id); 34 id = cache.addAndLock(bm[i], scale, scale, tmp); 35 REPORTER_ASSERT(reporter, NULL != id); 38 SkScaledImageCache::ID* id2 = cache.findAndLock(bm[i], scale, scale, 40 REPORTER_ASSERT(reporter, id == id2); 46 cache.unlock(id); 56 id = cache.addAndLock(bm[0], scale, scale, tmp) [all...] |
/external/chromium/chrome/common/extensions/docs/examples/extensions/fx/ |
bg.js | 104 function shouldPlay(id) { 106 if (id != "startup" && !started) 108 var val = localStorage.getItem(id); 110 console.log(id + " disabled"); 116 function didPlay(id) { 117 if (!localStorage.getItem(id)) 118 localStorage.setItem(id, "enabled"); 121 function playSound(id, loop) { 122 if (!shouldPlay(id)) 125 var sound = sounds[id]; [all...] |
/external/antlr/antlr-3.4/runtime/ObjC/ANTLR.framework/Headers/ |
ANTLRBufferedTokenStream.h | 34 id<ANTLRTokenSource> tokenSource; 56 @property (retain, getter=getTokenSource,setter=setTokenSource) id<ANTLRTokenSource> tokenSource; 63 + (ANTLRBufferedTokenStream *) newANTLRBufferedTokenStreamWith:(id<ANTLRTokenSource>)aSource; 64 - (id) initWithSource:(id<ANTLRTokenSource>)aSource; 65 - (id) copyWithZone:(NSZone *)aZone; 80 - (id<ANTLRToken>) getToken:(NSInteger) i; 83 - (id<ANTLRToken>) LT:(NSInteger) k; 84 - (id<ANTLRToken>) LB:(NSInteger) k; 86 - (id<ANTLRTokenSource>) getTokenSource [all...] |
ANTLRCommonToken.h | 47 id<ANTLRCharStream> input; 58 @property (retain, getter=getInput, setter=setInput:) id<ANTLRCharStream> input; 62 + (ANTLRCommonToken *) newANTLRCommonToken:(id<ANTLRCharStream>)anInput 68 + (id<ANTLRToken>) newANTLRCommonToken:(NSInteger)tokenType Text:(NSString *)tokenText; 69 + (id<ANTLRToken>) newANTLRCommonTokenWithToken:(id<ANTLRToken>)fromToken; 70 + (id<ANTLRToken>) eofToken; 71 + (id<ANTLRToken>) skipToken; 72 + (id<ANTLRToken>) invalidToken; 77 - (ANTLRCommonToken *) initWithInput:(id<ANTLRCharStream>)anInpu [all...] |
/external/antlr/antlr-3.4/runtime/ObjC/ANTLR.framework/Versions/A/Headers/ |
ANTLRBufferedTokenStream.h | 34 id<ANTLRTokenSource> tokenSource; 56 @property (retain, getter=getTokenSource,setter=setTokenSource) id<ANTLRTokenSource> tokenSource; 63 + (ANTLRBufferedTokenStream *) newANTLRBufferedTokenStreamWith:(id<ANTLRTokenSource>)aSource; 64 - (id) initWithSource:(id<ANTLRTokenSource>)aSource; 65 - (id) copyWithZone:(NSZone *)aZone; 80 - (id<ANTLRToken>) getToken:(NSInteger) i; 83 - (id<ANTLRToken>) LT:(NSInteger) k; 84 - (id<ANTLRToken>) LB:(NSInteger) k; 86 - (id<ANTLRTokenSource>) getTokenSource [all...] |
ANTLRCommonToken.h | 47 id<ANTLRCharStream> input; 58 @property (retain, getter=getInput, setter=setInput:) id<ANTLRCharStream> input; 62 + (ANTLRCommonToken *) newANTLRCommonToken:(id<ANTLRCharStream>)anInput 68 + (id<ANTLRToken>) newANTLRCommonToken:(NSInteger)tokenType Text:(NSString *)tokenText; 69 + (id<ANTLRToken>) newANTLRCommonTokenWithToken:(id<ANTLRToken>)fromToken; 70 + (id<ANTLRToken>) eofToken; 71 + (id<ANTLRToken>) skipToken; 72 + (id<ANTLRToken>) invalidToken; 77 - (ANTLRCommonToken *) initWithInput:(id<ANTLRCharStream>)anInpu [all...] |
/external/antlr/antlr-3.4/runtime/ObjC/ANTLR.framework/Versions/Current/Headers/ |
ANTLRBufferedTokenStream.h | 34 id<ANTLRTokenSource> tokenSource; 56 @property (retain, getter=getTokenSource,setter=setTokenSource) id<ANTLRTokenSource> tokenSource; 63 + (ANTLRBufferedTokenStream *) newANTLRBufferedTokenStreamWith:(id<ANTLRTokenSource>)aSource; 64 - (id) initWithSource:(id<ANTLRTokenSource>)aSource; 65 - (id) copyWithZone:(NSZone *)aZone; 80 - (id<ANTLRToken>) getToken:(NSInteger) i; 83 - (id<ANTLRToken>) LT:(NSInteger) k; 84 - (id<ANTLRToken>) LB:(NSInteger) k; 86 - (id<ANTLRTokenSource>) getTokenSource [all...] |
ANTLRCommonToken.h | 47 id<ANTLRCharStream> input; 58 @property (retain, getter=getInput, setter=setInput:) id<ANTLRCharStream> input; 62 + (ANTLRCommonToken *) newANTLRCommonToken:(id<ANTLRCharStream>)anInput 68 + (id<ANTLRToken>) newANTLRCommonToken:(NSInteger)tokenType Text:(NSString *)tokenText; 69 + (id<ANTLRToken>) newANTLRCommonTokenWithToken:(id<ANTLRToken>)fromToken; 70 + (id<ANTLRToken>) eofToken; 71 + (id<ANTLRToken>) skipToken; 72 + (id<ANTLRToken>) invalidToken; 77 - (ANTLRCommonToken *) initWithInput:(id<ANTLRCharStream>)anInpu [all...] |
/external/antlr/antlr-3.4/runtime/ObjC/Framework/ |
ANTLRBufferedTokenStream.h | 36 __strong id<ANTLRTokenSource> tokenSource; 58 @property (retain, getter=getTokenSource,setter=setTokenSource:) id<ANTLRTokenSource> tokenSource; 65 + (ANTLRBufferedTokenStream *) newANTLRBufferedTokenStreamWith:(id<ANTLRTokenSource>)aSource; 66 - (id) initWithTokenSource:(id<ANTLRTokenSource>)aSource; 68 - (id) copyWithZone:(NSZone *)aZone; 83 - (id<ANTLRToken>) getToken:(NSInteger) i; 86 - (id<ANTLRToken>) LB:(NSInteger) k; 87 - (id<ANTLRToken>) LT:(NSInteger) k; 89 - (id<ANTLRTokenSource>) getTokenSource [all...] |
/external/chromium_org/cc/quads/ |
render_pass.cc | 16 void* RenderPass::Id::AsTracingId() const { 26 : id(Id(-1, -1)), 33 "cc::RenderPass", id.AsTracingId()); 36 scoped_ptr<RenderPass> RenderPass::Copy(Id new_id) const { 47 void RenderPass::SetNew(Id id, 51 DCHECK_GT(id.layer_id, 0); 52 DCHECK_GE(id.index, 0); 54 this->id = id [all...] |