Home
last modified time | relevance | path

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

12345678910>>...12

/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/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/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/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/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/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/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/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/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/tools/winscope/src/
Ddetectfile.js20 function arrayEquals(a, b) { argument
21 if (a.length !== b.length) {
24 for (var i = 0; i < a.length; i++) {
25 if (a[i] != b[i]) {
/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/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.
/development/vndk/tools/sourcedr/ninja/tests/testdata/
Dglobal_binding.ninja1 a = 1
5 d = $a $b $c
6 e = mixed $a and $b
/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/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/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/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/samples/browseable/SwipeRefreshMultipleViews/
D_index.jd9 gesture to a layout with multiple children, enabling the ability to trigger a
11 contains a scrollable GridView, along with a TextView empty view.
/development/samples/browseable/SkeletonWearableApp/
D_index.jd8 This sample is a mostly empty wearable app that implements a fullscreen activity
10 … DelayedConfirmationView, and DismissOverlayView. Developers who require a fullscreen activity for
11 their wearable app can use this sample as a starting point.
/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()
/development/vndk/tools/header-checker/tests/integration/c_and_cpp/include/
Dc_and_cpp.h15 Foo(int *a, int *b) : a_(a), b_(b) {} in Foo() argument
21 Foo foo(int *a, int *b);
/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/WearHighBandwidthNetworking/
D_index.jd8 Sample demonstrates how to determine if a high-bandwidth network is available for use cases that
9 require a minimum network bandwidth, such as streaming media or downloading large files. In
10 addition, the sample demonstrates best practices for asking a user to add a new Wi-Fi network for

12345678910>>...12