/packages/apps/Camera2/jni/ |
jpegutilnative.cpp | 31 * @param crBuf the buffer containing the Cr component of the image 43 jbyte* cr = (jbyte*)env->GetDirectBufferAddress(crBuf); local 50 jpegutil::Plane crP(width, height, width / 2, height / 2, (unsigned char*)cr,
|
/development/tools/mkstubs/tests/com/android/mkstubs/sourcer/ |
ClassSourcerTest.java | 49 ClassReader cr = new ClassReader("data/TestBaseClass"); local 52 cr.accept(jw, 0); 79 ClassReader cr = new ClassReader("data/TestInnerClass"); local 82 cr.accept(jw, 0); 107 ClassReader cr = new ClassReader("data/TestTemplateClass"); local 110 cr.accept(jw, 0);
|
/libcore/luni/src/test/java/libcore/java/io/ |
OldCharArrayReaderTest.java | 27 CharArrayReader cr; field in class:OldCharArrayReaderTest 36 cr = new CharArrayReader(hw); 37 assertTrue("Failed to create reader", cr.ready()); 48 cr = new CharArrayReader(null, 0, 0); 54 cr = new CharArrayReader(hw, -1, 0); 60 cr = new CharArrayReader(hw, 0, -1); 66 cr = new CharArrayReader(hw, hw.length + 1, 1); 72 cr = new CharArrayReader(hw, 5, 5); 73 assertTrue("Test 5: Failed to create reader", cr.ready()); 75 'W', cr.read()) [all...] |
/packages/apps/Browser/src/com/android/browser/ |
AccountsChangedReceiver.java | 55 ContentResolver cr = mContext.getContentResolver(); local 56 Cursor c = cr.query(Accounts.CONTENT_URI, PROJECTION, 62 delete(cr, name, type); 65 cr.update(Accounts.CONTENT_URI, null, null, null); 69 void delete(ContentResolver cr, String name, String type) { 77 cr.delete(uri, DELETE_SELECTION, new String[] { name, type });
|
/external/chromium_org/tools/cr/cr/actions/ |
gdb.py | 7 import cr namespace 10 class GdbDebugger(cr.Debugger): 11 """An implementation of cr.Debugger that launches gdb.""" 13 DETECTED = cr.Config('DETECTED') 17 return (cr.LinuxPlatform.GetInstance().is_active and 23 cr.Host.Execute( 36 gdb_binaries = cr.Host.SearchPath('gdb')
|
gyp.py | 5 """A module to add gyp support to cr.""" 7 import cr namespace 12 class GypPrepareOut(cr.PrepareOut): 15 ENABLED = cr.Config.From( 23 gyp_defines = cr.context.Find('GYP_DEFINES') or '' 24 for key, value in cr.context.exported.items(): 27 cr.context['GYP_DEFINES'] = gyp_defines.strip() 28 if cr.context.verbose >= 1: 29 print cr.context.Substitute('GYP_DEFINES = {GYP_DEFINES}') 32 if cr.context.verbose >= 1 [all...] |
installer.py | 7 import cr namespace 10 class Installer(cr.Action, cr.Plugin.Type): 22 @cr.Plugin.activemethod 28 @cr.Plugin.activemethod 33 @cr.Plugin.activemethod
|
linux.py | 7 import cr namespace 10 class LinuxRunner(cr.Runner): 11 """An implementation of cr.Runner for the linux platform. 18 return cr.LinuxPlatform.GetInstance().is_active 26 cr.Host.Execute('{CR_BINARY}', '{CR_RUN_ARGUMENTS}', *arguments) 32 class LinuxInstaller(cr.Installer): 33 """An implementation of cr.Installer for the linux platform. 41 return cr.LinuxPlatform.GetInstance().is_active
|
/external/chromium_org/tools/cr/cr/base/ |
buildtype.py | 5 """A module for the basic build type support in cr.""" 7 import cr namespace 10 class BuildType(cr.Plugin, cr.Plugin.Type): 11 """Base class for implementing cr build types. 20 DEFAULT = cr.Config.From(
|
linux_chromeos.py | 9 import cr namespace 11 class LinuxChromeOSPlatform(cr.Platform): 14 ACTIVE = cr.Config.From( 22 return cr.Platform.System() == 'Linux'
|
/external/chromium_org/tools/cr/cr/commands/ |
command.py | 8 import cr namespace 11 class Command(cr.Plugin, cr.Plugin.Type): 12 """Base class for implementing cr commands. 29 if cr.context.args: 30 return getattr(cr.context.args, '_command', None) 60 cr.context.AddCommonArguments(self.parser) 61 cr.base.client.AddArguments(self.parser) 86 cr.base.client.ApplyOutArgument() 88 @cr.Plugin.activemetho [all...] |
select.py | 7 import cr namespace 14 class SelectCommand(cr.Command): 53 cr.base.client.WriteConfig( 54 cr.context.Get('CR_CLIENT_PATH'), dict( 55 CR_OUT_FULL=cr.context.Get('CR_OUT_FULL'))) 56 cr.base.client.PrintInfo() 58 if not getattr(cr.context.args, '_no_prepare', None): 59 cr.PrepareCommand.Prepare()
|
/external/chromium_org/tools/cr/cr/targets/ |
chrome_shell.py | 7 import cr namespace 10 class ChromeShellTarget(cr.NamedTarget): 12 CONFIG = cr.Config.From( 13 CR_RUN_ARGUMENTS=cr.Config.Optional('-d "{CR_URL!e}"'), 20 class ChromeShellTestTarget(cr.NamedTarget): 22 CONFIG = cr.Config.From(
|
content_shell.py | 7 import cr namespace 10 class ContentShellTarget(cr.NamedTarget): 12 CONFIG = cr.Config.From( 13 CR_RUN_ARGUMENTS=cr.Config.Optional('-d "{CR_URL!e}"'), 20 class ContentShellTestTarget(cr.NamedTarget): 22 CONFIG = cr.Config.From(
|
/external/chromium_org/ui/file_manager/file_manager/foreground/js/ |
error_dialog.js | 12 cr.ui.dialogs.BaseDialog.call(this, parentNode); 16 __proto__: cr.ui.dialogs.BaseDialog.prototype 24 cr.ui.dialogs.BaseDialog.prototype.initDom_.call(this);
|
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/ |
h264bsd_image.h | 53 u8 *cr; member in struct:__anon18129
|
/art/test/121-modifiers/src/ |
Asm.java | 90 ClassReader cr = new ClassReader(clazz); local 91 cr.accept(classNode, 0);
|
/development/tools/mkstubs/src/com/android/mkstubs/ |
SourceGenerator.java | 57 ClassReader cr = entry.getValue(); local 59 String name = classNameToJavaPath(cr.getClassName()); 64 visitClassSource(fw, cr, filter); 92 void visitClassSource(Writer fw, ClassReader cr, Filter filter) { 93 mLog.debug("Dump " + cr.getClassName()); 97 cr.accept(classFilter, 0 /*flags*/);
|
/external/chromium_org/chrome/browser/resources/sync_internals/ |
sync_node_browser.js | 5 // require: cr.js 6 // require: cr/ui.js 7 // require: cr/ui/tree.js 73 * @extends {cr.ui.TreeItem} 76 var treeItem = new cr.ui.TreeItem(); 95 __proto__: cr.ui.TreeItem.prototype, 125 * @extends {cr.ui.Tree} 127 var SyncNodeTree = cr.ui.define('tree'); 130 __proto__: cr.ui.Tree.prototype, 133 cr.ui.Tree.prototype.decorate.call(this) [all...] |
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/ |
CharArrayReaderTest.java | 27 CharArrayReader cr; field in class:CharArrayReaderTest 33 cr = new CharArrayReader(hw); 34 assertTrue("Failed to create reader", cr.ready()); 41 cr = new CharArrayReader(hw, 5, 5); 42 assertTrue("Failed to create reader", cr.ready()); 44 int c = cr.read(); 53 cr = new CharArrayReader(hw); 54 cr.close(); 56 cr.read(); 63 cr.close() [all...] |
/libcore/luni/src/test/java/libcore/java/nio/charset/ |
CharsetEncoderTest.java | 70 CoderResult cr = e.encode(CharBuffer.wrap(new char[] { '\ud842', '\udf9f' }), bb, false); local 71 assertEquals(CoderResult.UNDERFLOW, cr); 84 CoderResult cr = e.encode(CharBuffer.wrap(new char[] { '\udf9f' }), bb, false); local 85 assertTrue(cr.toString(), cr.isMalformed()); 86 assertEquals(1, cr.length()); 121 CoderResult cr = e.encode(CharBuffer.wrap(new char[] { '\ud842' }), bb, false); local 122 assertEquals(CoderResult.UNDERFLOW, cr); 124 cr = e.encode(CharBuffer.wrap(new char[] { '\udf9f' }), bb, false); 125 assertEquals(CoderResult.UNDERFLOW, cr); 145 CoderResult cr = e.encode(CharBuffer.wrap(new char[] { 'x' }), bb, false); local [all...] |
/packages/apps/Launcher3/src/com/android/launcher3/ |
UninstallShortcutReceiver.java | 94 final ContentResolver cr = context.getContentResolver(); local 95 Cursor c = cr.query(LauncherSettings.Favorites.CONTENT_URI, 110 cr.delete(uri, null, null); 125 cr.notifyChange(LauncherSettings.Favorites.CONTENT_URI, null);
|
/cts/tests/tests/provider/src/android/provider/cts/ |
Settings_NameValueTableTest.java | 29 ContentResolver cr = mContext.getContentResolver(); local 35 Cursor c = cr.query(uri, null, null, null, null); 41 MyNameValueTable.putString(cr, uri, name, value); 42 c = cr.query(uri, null, null, null, null); 49 c = cr.query(uri, null, selection, null, null); 58 cr.delete(uri, selection, null); 59 c = cr.query(uri, null, null, null, null);
|
/frameworks/base/tools/layoutlib/create/tests/com/android/tools/layoutlib/create/ |
ClassHasNativeVisitorTest.java | 38 ClassReader cr = new ClassReader(className); local 40 cr.accept(cv, 0 /* flags */); 50 ClassReader cr = new ClassReader(className); local 52 cr.accept(cv, 0 /* flags */);
|
/packages/apps/Email/tests/src/com/android/email/provider/ |
AccountBackupRestoreTests.java | 105 ContentResolver cr = mMockContext.getContentResolver(); local 106 cr.delete(Account.CONTENT_URI, null, null); 107 cr.delete(HostAuth.CONTENT_URI, null, null); 123 Cursor c = cr.query(Account.CONTENT_URI, Account.CONTENT_PROJECTION, null, null, "_id ASC");
|