/frameworks/data-binding/compiler/src/main/kotlin/android/databinding/tool/writer/ |
DataBinderWriter.kt | 24 tab("final static int TARGET_MIN_SDK = ${minSdk};") 26 tab("public $className() {") { 28 tab("}") 30 tab("public android.databinding.ViewDataBinding getDataBinder(android.databinding.DataBindingComponent bindingComponent, android.view.View view, int layoutId) {") { 31 tab("switch(layoutId) {") { 34 tab("case ${firstVal.getModulePackage()}.R.layout.${firstVal.getLayoutname()}:") { 37 tab("return new ${firstVal.getPackage()}.${firstVal.getImplementationName()}(bindingComponent, new android.view.View[]{view});") 39 tab("return ${firstVal.getPackage()}.${firstVal.getImplementationName()}.bind(view, bindingComponent);") 43 tab("{") { 44 tab("final Object tag = view.getTag();" [all...] |
LayoutBinderWriter.kt | 290 tab(declareIncludeViews()) 291 tab(declareViews()) 292 tab(declareVariables()) 293 tab(declareBoundValues()) 294 tab(declareListeners()) 295 tab(declareConstructor(minSdk)) 296 tab(declareInvalidateAll()) 297 tab(declareHasPendingBindings()) 298 tab(declareLog()) 299 tab(declareSetVariable() [all...] |
/external/mesa3d/src/mesa/main/ |
vtxfmt.c | 48 install_vtxfmt(struct gl_context *ctx, struct _glapi_table *tab, 52 _mesa_install_arrayelt_vtxfmt(tab, vfmt); 53 SET_Color3f(tab, vfmt->Color3f); 54 SET_Color3fv(tab, vfmt->Color3fv); 55 SET_Color4f(tab, vfmt->Color4f); 56 SET_Color4fv(tab, vfmt->Color4fv); 57 SET_EdgeFlag(tab, vfmt->EdgeFlag); 61 _mesa_install_eval_vtxfmt(tab, vfmt); 65 SET_FogCoordfEXT(tab, vfmt->FogCoordfEXT); 66 SET_FogCoordfvEXT(tab, vfmt->FogCoordfvEXT) [all...] |
/development/samples/training/TabCompat/src/com/example/android/tabcompat/lib/ |
CompatTabListener.java | 27 *android.app.ActionBar.Tab, android.app.FragmentTransaction) 29 public void onTabSelected(CompatTab tab, FragmentTransaction ft); 33 *android.app.ActionBar.Tab, android.app.FragmentTransaction) 35 public void onTabUnselected(CompatTab tab, FragmentTransaction ft); 39 *android.app.ActionBar.Tab, android.app.FragmentTransaction) 41 public void onTabReselected(CompatTab tab, FragmentTransaction ft);
|
TabHelperHoneycomb.java | 46 public void addTab(CompatTab tab) { 47 String tag = tab.getTag(); 49 // Check to see if we already have a fragment for this tab, probably 51 // initial state is that a tab isn't shown. 54 tab.setFragment(fragment); 62 if (tab.getCallback() == null) { 66 // We know tab is a CompatTabHoneycomb instance, so its 67 // native tab object is an ActionBar.Tab. 68 mActionBar.addTab((ActionBar.Tab) tab.getTab()) [all...] |
/packages/apps/Browser/src/com/android/browser/ |
WebViewController.java | 49 void onSetWebView(Tab tab, WebView view); 51 void createSubWindow(Tab tab); 53 void onPageStarted(Tab tab, WebView view, Bitmap favicon); 55 void onPageFinished(Tab tab); 57 void onProgressChanged(Tab tab); [all...] |
UI.java | 57 public void addTab(Tab tab); 59 public void removeTab(Tab tab); 61 public void setActiveTab(Tab tab); 63 public void updateTabs(List<Tab> tabs); 65 public void detachTab(Tab tab); 67 public void attachTab(Tab tab) [all...] |
UiController.java | 41 Tab getCurrentTab(); 45 List<Tab> getTabs(); 47 Tab openTabToHomePage(); 49 Tab openIncognitoTab(); 51 Tab openTab(String url, boolean incognito, boolean setActive, 54 void setActiveTab(Tab tab); 56 boolean switchToTab(Tab tab); 60 void closeTab(Tab tab) [all...] |
PreloadController.java | 71 public void onSetWebView(Tab tab, WebView view) { 76 public void createSubWindow(Tab tab) { 81 public void onPageStarted(Tab tab, WebView view, Bitmap favicon) { 85 // user visits a preloaded tab, the only item in the history 92 public void onPageFinished(Tab tab) { 94 if (tab != null) [all...] |
XLargeUi.java | 90 for (Tab t : mTabControl.getTabs()) { 134 public void addTab(Tab tab) { 135 mTabBar.onNewTab(tab); 138 protected void onAddTabCompleted(Tab tab) { 143 public void setActiveTab(final Tab tab) { 146 super.setActiveTab(tab); 147 BrowserWebView view = (BrowserWebView) tab.getWebView() [all...] |
BaseUi.java | 54 import com.android.browser.Tab.SecurityState; 83 protected Tab mActiveTab; 167 // check if we exited without setting active tab 169 final Tab ct = mTabControl.getCurrentTab(); 218 // Tab callbacks 220 public void onTabDataChanged(Tab tab) { 221 setUrlTitle(tab); 222 setFavicon(tab); 223 updateLockIconToLatest(tab); [all...] |
TabControl.java | 32 // next Tab ID, starting at 1 39 void onThumbnailUpdated(Tab t); 45 private ArrayList<Tab> mTabs; 47 private ArrayList<Tab> mTabQueue; 61 mTabs = new ArrayList<Tab>(mMaxTabs); 62 mTabQueue = new ArrayList<Tab>(mMaxTabs); 70 * Return the current tab's main WebView. This will always return the main 71 * WebView for a given tab and not a subwindow. 72 * @return The current tab's WebView. 75 Tab t = getTab(mCurrentTab) 433 final Tab tab = tabMap.get(id); local [all...] |
Controller.java | 287 // Find out if we will restore any state and remember the tab. 317 // Create an initial tab. 320 // the tab will be close when exit. 322 Tab t = null; 343 List<Tab> tabs = mTabControl.getTabs(); 345 for (Tab t : tabs) { 353 // TabControl.restoreState() will create a new tab even if 408 public void onSetWebView(Tab tab, WebView view) { 409 mUi.onSetWebView(tab, view) 642 Tab tab = mTabControl.getCurrentTab(); local 807 Tab tab = mTabControl.getCurrentTab(); local 1900 final Tab tab = getCurrentTab(); local 2292 Tab tab = showPreloadedTab(urlData); local 2327 Tab tab = createNewTab(incognito, setActive, useCurrent); local 2345 Tab tab = null; local 2429 Tab tab = mTabControl.getTab(i); local 2438 Tab tab = getCurrentTab(); local 2586 Tab tab = getCurrentTab(); local [all...] |
/frameworks/base/media/tests/MediaDump/src/com/android/mediadump/ |
MediaDump.java | 39 TabHost tab = getTabHost(); local 41 // Setup video dumping tab 42 TabHost.TabSpec videoDumpTab = tab.newTabSpec("VideoDump"); 48 tab.addTab(videoDumpTab); 50 // Setup rgb player tab 51 TabHost.TabSpec rgbPlayerTab = tab.newTabSpec("RgbPlayer"); 57 tab.addTab(rgbPlayerTab);
|
/external/valgrind/VEX/priv/ |
host_generic_regs.c | 123 void ppHRegUsage ( const RRegUniverse* univ, HRegUsage* tab ) 132 Bool rRd = (tab->rRead & (1ULL << i)) != 0; 133 Bool rWr = (tab->rWritten & (1ULL << i)) != 0; 144 for (UInt i = 0; i < tab->n_vRegs; i++) { 146 switch (tab->vMode[i]) { 153 ppHReg(tab->vRegs[i]); 164 void addHRegUse ( HRegUsage* tab, HRegMode mode, HReg reg ) 172 for (i = 0; i < tab->n_vRegs; i++) 173 if (sameHReg(tab->vRegs[i], reg)) 175 if (i == tab->n_vRegs) [all...] |
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/ |
vlc_decode.cpp | 842 const VLCtab2 *tab; local 847 /* if(GetTcoeffIntra(code,pTcoef,&tab,stream)!=PV_SUCCESS) return status;*/ 850 tab = &PV_DCT3Dtab3[(code >> 6) - 16]; 856 tab = &PV_DCT3Dtab4[(code >> 3) - 32]; 862 tab = &PV_DCT3Dtab5[(code>>1) - 8]; 871 PV_BitstreamFlushBits(stream, tab->len + 1); 872 pTcoef->sign = (code >> (12 - tab->len)) & 1; 873 pTcoef->run = (uint) tab->run; //(tab->val >> 8) & 255; 874 pTcoef->level = (int) tab->level; //tab->val & 255 1025 const VLCtab2 *tab; local 1204 const VLCtab2 *tab; local 1264 const VLCtab2 *tab; local 1319 const VLCtab2 *tab; local 1392 const VLCtab2 *tab; local [all...] |
/development/samples/training/multiscreen/newsreader/src/com/example/android/newsreader/ |
CompatActionBarNavHandler.java | 20 import android.app.ActionBar.Tab; 49 * Called by framework when a tab is selected. 54 public void onTabSelected(Tab tab, FragmentTransaction ft) { 56 mNavListener.onCategorySelected(tab.getPosition()); 72 * Called by framework when a tab is re-selected. That is, it was already selected and is 76 public void onTabReselected(Tab tab, FragmentTransaction ft) { 81 * Called by framework when a tab is unselected. Not used in our app. 84 public void onTabUnselected(Tab tab, FragmentTransaction ft) [all...] |
/external/ltrace/sysdeps/linux-gnu/ |
mksyscallent_s390 | 52 $tab = $len / 8; 54 print " \"$_\"," ," " x $space , "\t" x $tab, " \/* $i \*\/\n";
|
/external/jemalloc/src/ |
ckh.c | 59 cell = &ckh->tab[(bucket << LG_CKH_BUCKET_CELLS) + i]; 104 cell = &ckh->tab[(bucket << LG_CKH_BUCKET_CELLS) + 145 cell = &ckh->tab[(bucket << LG_CKH_BUCKET_CELLS) + i]; 249 ckhc_t *tab, *ttab; local 273 tab = (ckhc_t *)ipallocztm(tsd, usize, CACHELINE, true, NULL, 275 if (tab == NULL) { 280 ttab = ckh->tab; 281 ckh->tab = tab; 282 tab = ttab 304 ckhc_t *tab, *ttab; local [all...] |
/external/e2fsprogs/lib/et/ |
com_right.c | 75 struct error_table tab; member in struct:foobar 92 struct error_table *tab; local 102 et->table = tab = &f->tab; 103 tab->msgs = messages; 104 tab->n_msgs = num_errors; 105 tab->base = base;
|
/external/toybox/toys/posix/ |
expand.c | 19 Specify tab stops, either a single number instead of the default 8, 21 positions (absolute, not increments) with each additional tab beyound 31 unsigned tabcount, *tab; 74 width = TT.tabcount ? *TT.tab : 8; 77 if (TT.tab[stop] > x) { 78 width = TT.tab[stop] - x; 122 TT.tab = xmalloc(sizeof(unsigned)*TT.tabcount); 123 parse_tablist(TT.tab); 127 if (CFG_TOYBOX_FREE) free(TT.tab);
|
/external/selinux/checkpolicy/ |
Makefile | 17 CHECKOBJS = y.tab.o lex.yy.o queue.o module_compiler.o parse_util.o \ 24 GENERATED=lex.yy.c y.tab.c y.tab.h 36 y.tab.o: y.tab.c 42 y.tab.c: policy_parse.y 45 lex.yy.c: policy_scan.l y.tab.c 60 -rm -f $(TARGETS) $(CHECKPOLOBJS) $(CHECKMODOBJS) y.tab.c y.tab.h lex.yy.c
|
/external/bison/tests/ |
bison.in | 39 # We are called by ylwrap which still uses y.tab.*, and 40 # post-processes the synclines on y.tab.c itself. Don't let it 43 $PERL -pi -e 's{"y\.tab\.}{"parse-gram.}g;' \ 45 y.tab.[ch]
|
/external/bison/build-aux/ |
missing | 81 bison create 'y.tab.[ch]', if possible, from existing .[ch] 86 yacc create 'y.tab.[ch]', if possible, from existing .[ch] 216 rm -f y.tab.c y.tab.h 223 cp "$SRCFILE" y.tab.c 227 cp "$SRCFILE" y.tab.h 232 if test ! -f y.tab.h; then 233 echo >y.tab.h 235 if test ! -f y.tab.c; then 236 echo 'main() { return 0; }' >y.tab. [all...] |
/external/clang/test/Sema/ |
wchar.c | 21 wchar_t tab[] = L"x"; local
|