Home
last modified time | relevance | path

Searched refs:a (Results 1 – 25 of 318) sorted by relevance

12345678910>>...13

/development/samples/SearchableDictionary/res/raw/
Ddefinitions.txt1 abbey - n. a monastery ruled by an abbot
11 academy - n. a school for special training
19 account - v. furnish a justifying analysis or explanation
20 accurate - j. conforming exactly or almost exactly to fact or to a standard or performing with tota…
21 accusation - n. an assertion that someone is guilty of a fault or offence
22 accuse - v. blame for, make a claim of wrongdoing or misbehavior against
28 adjacent - j. having a common boundary or edge; abutting; touching
29 administrator - n. someone who manages a government agency or department
39 album - n. a book of blank pages with pockets or envelopes; for organizing photographs or stamp col…
40 alcohol - n. a liquor or brew containing alcohol as the active agent
[all …]
/development/cmds/monkey/
DREADME.NETWORK.txt3 The Simple Protocol for Automated Network Control was designed to be a
5 into the input system. The idea is that a process will run on a host
14 Setup port forwarding from a local port on your machine to a port on
28 respond to every command with a line starting with OK for commands
29 that executed without a problem, or a line starting with ERROR for
30 commands that had problems being run. For commands that return a
33 on that line. For ERROR values, this could be a message indicating
39 ERROR: monkey not a number
58 Note that sending a full button press requires sending both the down
63 This command injects a MotionEvent into the input system that
[all …]
/development/samples/ApiDemos/src/com/example/android/apis/view/
DAnimation3.java57 Animation a = new TranslateAnimation(0.0f, in onItemSelected() local
60 a.setDuration(1000); in onItemSelected()
61 a.setStartOffset(300); in onItemSelected()
62 a.setRepeatMode(Animation.RESTART); in onItemSelected()
63 a.setRepeatCount(Animation.INFINITE); in onItemSelected()
67 a.setInterpolator(AnimationUtils.loadInterpolator(this, in onItemSelected()
71 a.setInterpolator(AnimationUtils.loadInterpolator(this, in onItemSelected()
75 a.setInterpolator(AnimationUtils.loadInterpolator(this, in onItemSelected()
79 a.setInterpolator(AnimationUtils.loadInterpolator(this, in onItemSelected()
83 a.setInterpolator(AnimationUtils.loadInterpolator(this, in onItemSelected()
[all …]
/development/samples/ApiDemos/src/com/example/android/apis/graphics/
DBitmapPixels.java53 private static int pack8888(int r, int g, int b, int a) { in pack8888() argument
54 return (r << 0) | ( g << 8) | (b << 16) | (a << 24); in pack8888()
61 private static short pack4444(int r, int g, int b, int a) { in pack4444() argument
62 return (short)((a << 0) | ( b << 4) | (g << 8) | (r << 12)); in pack4444()
65 private static int mul255(int c, int a) { in mul255() argument
66 int prod = c * a + 128; in mul255()
77 int a = Color.alpha(c); in premultiplyColor() local
79 r = mul255(r, a); in premultiplyColor()
80 g = mul255(g, a); in premultiplyColor()
81 b = mul255(b, a); in premultiplyColor()
[all …]
DColorPickerDialog.java131 int a = ave(Color.alpha(c0), Color.alpha(c1), p); in interpColor() local
136 return Color.argb(a, r, g, b); in interpColor()
154 final float[] a = cm.getArray(); in rotateColor() local
156 int ir = floatToByte(a[0] * r + a[1] * g + a[2] * b); in rotateColor()
157 int ig = floatToByte(a[5] * r + a[6] * g + a[7] * b); in rotateColor()
158 int ib = floatToByte(a[10] * r + a[11] * g + a[12] * b); in rotateColor()
/development/tools/apkcheck/
DREADME.txt9 and each officially released API has a numbered file (e.g. "6.xml").
15 defined locally. The tool can't easily tell anything about a dependency
16 beyond the name (e.g. whether a class is a static or non-static inner
28 analyze the APK, so if you have a large set of APKs it's best to run them
53 you disable both warnings and errors you will only see a summary.
78 This could be a Creator class in the package android.os.Parcelable,
82 The API XML does specify each package in a <package> tag, so we should have
84 at a time from the right until we match a known package. This will work
95 If apkcheck sees a reference to an unknown field, and the field's defining
97 a warning instead of an error.
[all …]
/development/tools/labpretest/
DREADME3 The labpretest.sh script is designed to emulate a typical automated test lab
4 session. It puts a device into bootloader mode, reboots into bootloader mode,
5 determines device type, erases user cache, flashes a generic userdata image,
7 and reboots, sets up for a monkey run and finally runs a random monkey test.
9 It will detect if it is in a low battery situation and wait for it to charge
12 The goal is to see if a device is ready for deployment to automated lab testing
15 I would connect 8 devices to a host and run this script in 8 separate shell
23 have multiple devices attached use the -d <device_id> parameter to target a
31 sub directory. If you are setting this up with only the script, create a tools
35 Here are the steps to add a new device:
[all …]
/development/samples/BrokenKeyDerivation/src/com/example/android/brokenkeyderivation/
DInsecureSHA1PRNGKeyDerivator.java439 int a = arrW[HASH_OFFSET ];
463 temp = ( ( a<<5 ) | ( a>>>27 ) ) +
469 b = a;
470 a = temp;
474 temp = ((( a<<5 ) | ( a>>>27 ))) + (b ^ c ^ d) + (e + arrW[t] + 0x6ED9EBA1) ;
478 b = a;
479 a = temp;
483 temp = (( a<<5 ) | ( a>>>27 )) + ((b & c) | (b & d) | (c & d)) +
488 b = a;
489 a = temp;
[all …]
/development/tools/repo_diff/service/repodiff/mappers/
Dcsv.go20 func CommitEntityToCSVRow(a e.AnalyzedCommitRow) []string {
23 a.Date,
24 a.Commit,
25 a.DownstreamProject,
26 a.Author,
27 a.Subject,
28 c.ProjectTypeToDisplay[a.Type],
/development/samples/browseable/XYZTouristAttractions/
D_index.jd8 This sample aims to be as close to a real world example of a mobile
9 and Wear app combination as possible. It has a more refined design
10 and also provides a practical example of how a mobile app would
13 The app itself is modeled after a hypothetical tourist attractions
17 The Wear component loads a full wearable app that shows images,
19 attractions in a GridViewPager UI component.
/development/samples/browseable/ElizaChat/
D_index.jd8 … This sample is a phone application that provides a chat experience in which users can respond to
9 … messages with a quick voice response. New messages create a notification with a "Reply" action.
11 wearable opens the voice transcription UI allowing the user to speak a response.
/development/tools/repo_diff/
DREADME.md6 The ouput is in CSV and is easily consumable in a spreadsheet.
8 In addition to importing to a spreadsheet, you can also create your own
41 3. Create a [new Google spreadsheet](https://docs.google.com/spreadsheets/create).
42 4. Import projects.csv to a new sheet.
43 5. Create a [new data source in Data Studio](https://datastudio.google.com/datasources/create).
45 7. Add a "Count Diff Status" field by selecting the menu next to the "Diff
49 this is done you should get a link to "Make a copy of this report".
51 10. You may see a "Configuration Incomplete" message under
61 2. Diff projects that have a match.
75 'git cherry' is a useful tool that finds changes
[all …]
/development/samples/browseable/DrawableTinting/
D_index.jd10 … \n\nTinting is set on a nine-patch drawable through the "tint" and "tintMode" parameters.
12 states of a View (for example disabled/enabled, focused, pressed or selected).
13 … \n\nProgrammatically, tinting is applied to a Drawable through its "setColorFilter" method,
14 with a reference to a color and a PorterDuff blend mode. The color and blend mode can be
/development/sdk/
Dsdk_files_NOTICE.txt77 a copy of this software and associated documentation files (the
96 Except as contained in this notice, the name of a copyright holder
119 a) in the case of the initial Contributor, the initial code and
129 Contribution 'originates' from a Contributor if it was added to
139 "Licensed Patents " mean patent claims licensable by a Contributor
151 a) Subject to the terms of this Agreement, each Contributor
152 hereby grants Recipient a non-exclusive, worldwide, royalty-free
159 hereby grants Recipient a non-exclusive, worldwide, royalty-free
177 infringement of intellectual property rights or otherwise. As a
181 For example, if a third party patent license is required to
[all …]
/development/samples/Snake/src/com/example/android/snake/
DBackgroundView.java47 TypedArray a = context.obtainStyledAttributes(attrs, R.styleable.BackgroundView); in BackgroundView() local
48 mColors[0] = a.getColor(R.styleable.BackgroundView_colorSegmentOne, Color.RED); in BackgroundView()
49 mColors[1] = a.getColor(R.styleable.BackgroundView_colorSegmentTwo, Color.YELLOW); in BackgroundView()
50 mColors[2] = a.getColor(R.styleable.BackgroundView_colorSegmentThree, Color.BLUE); in BackgroundView()
51 mColors[3] = a.getColor(R.styleable.BackgroundView_colorSegmentFour, Color.GREEN); in BackgroundView()
53 a.recycle(); in BackgroundView()
DTileView.java65 TypedArray a = context.obtainStyledAttributes(attrs, R.styleable.TileView); in TileView() local
66 mTileSize = a.getDimensionPixelSize(R.styleable.TileView_tileSize, 12); in TileView()
68 a.recycle(); in TileView()
74 TypedArray a = context.obtainStyledAttributes(attrs, R.styleable.TileView); in TileView() local
75 mTileSize = a.getDimensionPixelSize(R.styleable.TileView_tileSize, 12); in TileView()
77 a.recycle(); in TileView()
/development/samples/browseable/WatchFace/
D_index.jd8 This sample demonstrates how to create watch faces for android wear and includes a phone app
9 and a wearable app. The wearable app has a variety of watch faces including analog, digital,
10 opengl, calendar, steps, interactive, etc. It also includes a watch-side configuration example.
11 The phone app includes a phone-side configuration example.
13 Because watch face apps do not have a default Activity in their project, you will need to set your
18 For the Fit Distance related watch face, authentication IS a requirement to request distance from
22 To authenticate and communicate with Google Fit, you must create a project in the Google Developers
/development/tools/idegen/
DREADME2 and Eclipse. Your IDE should be able to compile everything in a reasonable
9 Android is large, thus IDEA needs a lot of memory. Add "-Xms1g -Xmx5g" to
15 Create a JDK configuration named "1.8 (No Libraries)" by adding a new
41 Configure a JRE named "1.7 (No Libraries)" under "Preferences -> Java ->
44 least one jar is present, so include a random jar that won't get in the
71 create a file named "path-precedence" in your project's root directory.
72 Each line in the file is a regular expression that matches a source root
73 path (relative to the project's root directory). If a given source root's
74 path matches a regular expression that comes earlier in the file, that
75 source root will come earlier in the generated configuration. If a source
/development/tools/mkstubs/
DREADME.txt7 MkStub is small tool that takes a given JAR and filters all the private stuff we don't want to
10 - only include a subset of classes.
28 - a package name, e.g. com.android.blah
29 - a dot followed by a class name
30 - a # followed by a field or method name
67 before the generated throw exception. Any attempt to load such a class should trigger
70 - We do not currently check whether a class or method uses only included types.
72 method parameter or return value that uses that type should generate a fatal error.
83 given as ~/somedir/myfinal.jar, there will be a directory created at
/development/vndk/tools/header-checker/tests/integration/cpp/gold/
Dlow_volume_speaker.cpp8 void UnexportedSymbol(int *a) { in UnexportedSymbol() argument
9 if (a) { in UnexportedSymbol()
10 a++; in UnexportedSymbol()
12 a--; in UnexportedSymbol()
/development/samples/USB/AdbTest/
DREADME.txt1 AdbTest is a sample program that implements a subset of the adb USB protocol.
3 output in a text view and only allows connecting to one device at a time.
4 However the support classes are structured in a way that would allow
/development/samples/browseable/DelayedConfirmation/
D_index.jd8 Demonstrates how to create a DelayedConfirmationView in your wearable app. In this
9 … sample, pressing a button on the phone app sends a message to the wearable to start a simple
10 …activity. This activity displays a DelayedConfirmationView that starts when the user presses "Start
/development/samples/browseable/ActiveNotifications/
D_index.jd11 together for a nicer user experience when an app may have multiple
12 notifications. To get started, press the "add a notification" button.
13 If you add more than one notification a notification summary will be
14 added. When a notification is being canceled, the count gets updated
15 via a PendingIntent.
/development/samples/ApiDemos/tests/src/com/example/android/apis/view/
DFocus2ActivityTest.java61 final Focus2 a = getActivity(); in setUp() local
63 assertNotNull(a); in setUp()
64 mLeftButton = (Button) a.findViewById(R.id.leftButton); in setUp()
65 mCenterButton = (Button) a.findViewById(R.id.centerButton); in setUp()
66 mRightButton = (Button) a.findViewById(R.id.rightButton); in setUp()
/development/samples/browseable/ActionBarCompat-Styled/
D_index.jd8 This sample shows you how to use ActionBarCompat with a customized theme. It utilizes a
9 split action bar when running on a device with a narrow display, and show three tabs.

12345678910>>...13