Home
last modified time | relevance | path

Searched refs:n (Results 1 – 25 of 54) sorted by relevance

123

/development/samples/SearchableDictionary/res/raw/
Ddefinitions.txt1 abbey - n. a monastery ruled by an abbot
4 absence - n. the state of being absent
6 abstinence - n. practice of refraining from indulging an appetite especially alcohol
11 academy - n. a school for special training
15 acclaim - n. enthusiastic approval
21 accusation - n. an assertion that someone is guilty of a fault or offence
26 acquisition - n. something acquired or received
29 administrator - n. someone who manages a government agency or department
30 advent - n. arrival that has been awaited (especially of something momentous)
32 advisory - n. an announcement that usually advises or warns the public of some threat
[all …]
/development/samples/browseable/BasicAndroidKeyStore/
D_index.jd8 Welcome to the <b>Basic Android Key Store</b> sample!\n\n
11 using those keys.\n\n
12 To create a new KeyPair, click \"Create\".\n\n
13 To sign some data using a KeyPair, click \"Sign\".\n\n
14 To verify the data using the signature provided, click \"Verify\".\n\n
/development/samples/ApiDemos/src/com/example/android/apis/graphics/
DBitmapPixels.java86 private static void makeRamp(int from, int to, int n, in makeRamp() argument
94 int dr = ((getR32(to) << 23) - r) / (n - 1); in makeRamp()
95 int dg = ((getG32(to) << 23) - g) / (n - 1); in makeRamp()
96 int db = ((getB32(to) << 23) - b) / (n - 1); in makeRamp()
97 int da = ((getA32(to) << 23) - a) / (n - 1); in makeRamp()
99 for (int i = 0; i < n; i++) { in makeRamp()
111 private static IntBuffer makeBuffer(int[] src, int n) { in makeBuffer() argument
112 IntBuffer dst = IntBuffer.allocate(n*n); in makeBuffer()
113 for (int i = 0; i < n; i++) { in makeBuffer()
120 private static ShortBuffer makeBuffer(short[] src, int n) { in makeBuffer() argument
[all …]
DColorPickerDialog.java100 int n = java.lang.Math.round(x); in floatToByte() local
101 return n; in floatToByte()
103 private int pinToByte(int n) { in pinToByte() argument
104 if (n < 0) { in pinToByte()
105 n = 0; in pinToByte()
106 } else if (n > 255) { in pinToByte()
107 n = 255; in pinToByte()
109 return n; in pinToByte()
DTextAlign.java55 int n = paint.getTextWidths(text, widths); in buildTextPositions() local
57 float[] pos = new float[n * 2]; in buildTextPositions()
59 for (int i = 0; i < n; i++) { in buildTextPositions()
/development/samples/BrokenKeyDerivation/src/com/example/android/brokenkeyderivation/
DInsecureSHA1PRNGKeyDerivator.java280 int i, n; in nextBytes() local
348 n = (HASHBYTES_TO_USE - nextBIndex) < (bytes.length - nextByteToReturn) ? HASHBYTES_TO_USE in nextBytes()
351 if (n > 0) { in nextBytes()
352 System.arraycopy(nextBytes, nextBIndex, bytes, nextByteToReturn, n); in nextBytes()
353 nextBIndex += n; in nextBytes()
354 nextByteToReturn += n; in nextBytes()
361 n = seed[BYTES_OFFSET] & 0x03; in nextBytes()
363 if (n == 0) { in nextBytes()
371 seed[lastWord] |= (int) ((counter >>> RIGHT1[n]) & MASK[n]); in nextBytes()
372 seed[lastWord + 1] = (int) ((counter >>> RIGHT2[n]) & 0xFFFFFFFF); in nextBytes()
[all …]
DBrokenKeyDerivationActivity.java272 int n = fis.read(bytes, numBytes, bytes.length - numBytes); in readBytesFromFile() local
273 if (n <= 0) { in readBytesFromFile()
276 numBytes += n; in readBytesFromFile()
/development/scripts/gdb/
Ddalvik.gdb32 printf "Caught SIGSEGV in user program\n"
36 printf "ART debugging mode is enabled.\n"
37 printf "If you are debugging a native only process, you need to\n"
38 printf "re-enable normal SIGSEGV handling using this command:\n"
39 printf " handle SIGSEGV print stop\n"
42 printf "ART debugging mode is already enabled.\n"
64 printf "ART debugging mode is disabled.\n"
/development/tools/logblame/
Danalyze_logs.py74 def FormatMemory(n): argument
76 if n >= 1024 * 1024 * 1024:
77 return "%10d gb" % (n / (1024 * 1024 * 1024))
78 elif n >= 1024 * 1024:
79 return "%10d mb" % (n / (1024 * 1024))
80 elif n >= 1024:
81 return "%10d kb" % (n / 1024)
83 return "%10d b " % n
/development/samples/Vault/src/com/example/android/vault/
DEncryptedDocument.java283 int n; in readSection() local
284 while ((n = f.read(inbuf, 0, (int) Math.min(section.length, inbuf.length))) != -1) { in readSection()
285 section.length -= n; in readSection()
286 mMac.update(inbuf, 0, n); in readSection()
287 outbuf = mCipher.update(inbuf, 0, n); in readSection()
326 int n; in writeSection() local
327 while ((n = in.read(inbuf)) != -1) { in writeSection()
328 plainLength += n; in writeSection()
329 outbuf = mCipher.update(inbuf, 0, n); in writeSection()
/development/tools/repo_diff/service/repodiff/repositories/
Dcommit.go22 func (n NullCommit) InsertCommitRows(commitRows []e.AnalyzedCommitRow) error {
23 return n.originalErr
25 func (n NullCommit) GetFirstSeenTimestamp(commitHashes []string, nullTimestamp e.RepoTimestamp) (ma…
26 return nil, n.originalErr
28 func (n NullCommit) GetMostRecentCommits() ([]e.AnalyzedCommitRow, error) {
29 return nil, n.originalErr
/development/samples/browseable/AdvancedImmersiveMode/
D_index.jd8 \n\n\n\"Immersive Mode\", added in Android 4.4, improves the \"hide full screen\" and
/development/vndk/tools/definition-tool/assets/visual/
Ddep-graph.js255 node.each(function(n) { n.target = n.source = false; }); argument
279 function(n) { argument
280 return n.target;
283 function(n) { return n.source; }) argument
285 function(n) { argument
286 return n === d;
/development/samples/browseable/BasicMediaRouter/
D_index.jd9 content on a secondary display.\n\nUse the "Media Route Action Item" in the ActionBar
12 Secondary screen simulation can also be enabled from the "Developer Options".\n\n
/development/tools/winscope/src/
Dtransform_sf.js287 nodes.forEach((n) => {
288 fun(n);
289 foreachTree(n.children, fun);
298 foreachTree(transformed_roots, (n) => {
299 idToTransformed[n.obj.id] = n;
/development/samples/browseable/DisplayingBitmaps/
D_index.jd10 (http://developer.android.com/training/displaying-bitmaps/).\n\n
/development/samples/ApiDemos/src/com/example/android/apis/content/
DInstallApkSessionApi.java98 int n; in addApkToInstallSession() local
99 while ((n = is.read(buffer)) >= 0) { in addApkToInstallSession()
100 packageInSession.write(buffer, 0, n); in addApkToInstallSession()
DFileProvider.java138 int n; in writeDataToPipe() local
141 while ((n=args.read(buffer)) >= 0) { in writeDataToPipe()
142 fout.write(buffer, 0, n); in writeDataToPipe()
DInstallApk.java148 int n; in getApkUri() local
149 while ((n=is.read(buffer)) >= 0) { in getApkUri()
150 fout.write(buffer, 0, n); in getApkUri()
/development/samples/ToyVpn/server/linux/
DToyVpnServer.cpp112 int n = recvfrom(tunnel, packet, sizeof(packet), 0, in get_tunnel() local
114 if (n <= 0) { in get_tunnel()
117 packet[n] = 0; in get_tunnel()
/development/samples/browseable/CardReader/
D_index.jd10 loyalty card implemented in the "CardEmulation" sample.\n\n
/development/samples/browseable/DrawableTinting/
D_index.jd10 … \n\nTinting is set on a nine-patch drawable through the "tint" and "tintMode" parameters.
13 … \n\nProgrammatically, tinting is applied to a Drawable through its "setColorFilter" method,
/development/samples/CubeLiveWallpaper/src/com/example/android/livecubes/cube2/
DCubeWallpaper2.java254 int n = mOriginalPoints.length; in rotateAndProjectPoints() local
255 for (int i = 0; i < n; i++) { in rotateAndProjectPoints()
279 int n = mLines.length; in drawLines() local
280 for (int i = 0; i < n; i++) { in drawLines()
/development/samples/ApiDemos/src/com/example/android/apis/graphics/spritetext/
DMatrixTrackingGL.java176 public void glDeleteTextures(int n, int[] textures, int offset) { in glDeleteTextures() argument
177 mgl.glDeleteTextures(n, textures, offset); in glDeleteTextures()
180 public void glDeleteTextures(int n, IntBuffer textures) { in glDeleteTextures() argument
181 mgl.glDeleteTextures(n, textures); in glDeleteTextures()
274 public void glGenTextures(int n, int[] textures, int offset) { in glGenTextures() argument
275 mgl.glGenTextures(n, textures, offset); in glGenTextures()
278 public void glGenTextures(int n, IntBuffer textures) { in glGenTextures() argument
279 mgl.glGenTextures(n, textures); in glGenTextures()
769 public void glDeleteBuffers(int n, int[] buffers, int offset) { in glDeleteBuffers() argument
773 public void glDeleteBuffers(int n, IntBuffer buffers) { in glDeleteBuffers() argument
[all …]
/development/tools/labpretest/
Dlabpretest.sh112 local n=0
113 while [ "$device" != "$fdevice" -a $n -le 30 ]; do
116 let n+=1
118 if [ $n -gt 30 ]; then

123