Home
last modified time | relevance | path

Searched refs:runs (Results 1 – 25 of 81) sorted by relevance

1234

/frameworks/base/core/java/android/text/
DTextLine.java197 int[] runs = mDirections.mDirections; in draw() local
200 int lastRunIndex = runs.length - 2; in draw()
201 for (int i = 0; i < runs.length; i += 2) { in draw()
202 int runStart = runs[i]; in draw()
203 int runLimit = runStart + (runs[i+1] & Layout.RUN_LENGTH_MASK); in draw()
207 boolean runIsRtl = (runs[i+1] & Layout.RUN_RTL_FLAG) != 0; in draw()
295 int[] runs = mDirections.mDirections; in measure() local
296 for (int i = 0; i < runs.length; i += 2) { in measure()
297 int runStart = runs[i]; in measure()
298 int runLimit = runStart + (runs[i+1] & Layout.RUN_LENGTH_MASK); in measure()
[all …]
DLayout.java658 int[] runs = dirs.mDirections; in isLevelBoundary() local
663 int runIndex = offset == lineStart ? 0 : runs.length - 2; in isLevelBoundary()
664 return ((runs[runIndex + 1] >>> RUN_LEVEL_SHIFT) & RUN_LEVEL_MASK) != paraLevel; in isLevelBoundary()
668 for (int i = 0; i < runs.length; i += 2) { in isLevelBoundary()
669 if (offset == runs[i]) { in isLevelBoundary()
690 int[] runs = dirs.mDirections; in isRtlCharAt() local
692 for (int i = 0; i < runs.length; i += 2) { in isRtlCharAt()
693 int start = lineStart + (runs[i] & RUN_LENGTH_MASK); in isRtlCharAt()
697 int level = (runs[i+1] >>> RUN_LEVEL_SHIFT) & RUN_LEVEL_MASK; in isRtlCharAt()
709 int[] runs = getLineDirections(line).mDirections; in primaryIsTrailingPrevious() local
[all …]
/frameworks/base/opengl/tests/testViewport/
DREADME28 call (which means it is called before every draw), the program runs correctly.
/frameworks/base/docs/html/guide/developing/tools/
Dmonkeyrunner_concepts.jd37 that installs an Android application or test package, runs it, sends keystrokes to it,
46 also known as the <code>monkey</code> tool. The <code>monkey</code> tool runs in an
99 package, runs one of its activities, and sends key events to the activity.
181 runs the file's contents as a Python program; otherwise, it starts an interactive session.
220 If you provide this argument, the <code>monkeyrunner</code> command runs the contents
Dproguard.jd45 manually. ProGuard runs only when you build your application in release mode, so you do not
61 <p>To enable ProGuard so that it runs as part of an Ant or Eclipse build, set the
83 <p>ProGuard outputs the following files after it runs:</p>
155 debugging hard, if not impossible. Fortunately, whenever ProGuard runs, it outputs a
Dmonkey.jd6 <p>The Monkey is a program that runs on your
30 <p>When the Monkey runs, it generates events and sends them to the system. It also <i>watches</i>
49 Because the Monkey runs in the emulator/device environment, you must launch it from a shell in
85 Level 1 provides more details about the test as it runs, such as individual events being sent to
/frameworks/base/docs/html/guide/basics/
Dbuilding-blocks.jd48 Intent, and runs it. Intents can also be used to broadcast interesting
53 <dd>A Service is a body of code that runs in the background. It can run in
Dwhat-is-android.jd123 <p>Every Android application runs in its own process, with its own instance of
127 footprint. The VM is register-based, and runs classes
/frameworks/base/docs/html/guide/topics/resources/
Dlocalization.jd13 <li>When your application runs, Android will load the resource set
103 user runs the application, Android automatically selects and loads the
123 <strong>When a user runs your application:</strong>
138 <p>Whenever the application runs in a locale for which you have not provided
280 <p>If the application runs on a device that is configured to use Japanese,
343 matter what device it runs on.</p>
354 the application needs: When the application runs in an unsupported locale and
372 name fields when the application runs in Japanese, but three name fields when
373 the application runs in some other language. You could handle this in either of
402 application runs on a device in the United Kingdom. </li>
[all …]
/frameworks/base/docs/html/guide/practices/
Dscreens-support-1.5.jd48 android:targetSdkVersion}</a> set to {@code "4"} or higher runs in <a
100 runs fine on them, as long as you don't use APIs in your application code from Android 1.6. </li>
120 Observe the way your application looks and runs, and test all of the user interactions.</li>
/frameworks/base/docs/html/guide/developing/debugging/
Dindex.jd46 … daemon runs on the device or emulator and provides a means for the <code>adb</code> host daemon to
52 a VM. Each application runs in a VM and exposes a unique port that you can attach a debugger to
69 …<p>On your emulator or device, each application runs in its own instance of a Dalvik VM. The <code…
Dddms.jd39 …<p>On Android, every application runs in its own process, each of which runs in its own virtual ma…
/frameworks/base/docs/html/resources/articles/
Dmultitasking-android-way.jd45 …mediately to the foreground if the user returns to it. If a device never runs out of memory, then…
59 …ground, until I say I am done." An application controls when its service runs by explicitly start…
68 …Music playback runs in a service to allow it to continue operating after the user leaves the music…
77 …Background file download is implemented a service that runs when there are any downloads to proces…
Dusing-webviews.jd17 but it runs under the control of your application. The WebView can be
Dtimed-ui-updates.jd145 too. The Handler runs the update code as a part of your main thread,
/frameworks/base/docs/html/guide/topics/graphics/
Ddrawable-animation.jd30 <p>This animation runs for just three frames. By setting the <code>android:oneshot</code>
Dprop-animation.jd377 runs.</p>
389 android.animation.ValueAnimator#start start()} method runs.</p>
599 <li><code>APPEARING</code> - A flag indicating the animation that runs on items that are
602 <li><code>CHANGE_APPEARING</code> - A flag indicating the animation that runs on items that are
605 <li><code>DISAPPEARING</code> - A flag indicating the animation that runs on items that are
608 <li><code>CHANGE_DISAPPEARING</code> - A flag indicating the animation that runs on items that
664 android.animation.ObjectAnimator}) runs, it calculates a current elapsed fraction of the
/frameworks/base/docs/html/guide/developing/testing/
Dtesting_otheride.jd176 {@link android.test.InstrumentationTestRunner} runs test cases. It extends both
312 application to the current AVD or device, and then runs all the test classes in the test
337 runs your tests, produces output, and then returns to the command line on your computer.
368 This operation starts an <code>adb</code> shell, then runs <code>am instrument</code>
679 <code>class</code> keyword, and runs all the methods in the <code>UnitTests</code> class.
/frameworks/base/docs/html/guide/topics/fundamentals/
Dservices.jd12 <li>A service runs in the main thread of the application that hosts it, by default</li>
89 do so across processes with interprocess communication (IPC). A bound service runs only as long as
107 <p class="caution"><strong>Caution:</strong> A service runs in the
133 <p>Remember that if you do use a service, it still runs in your application's main thread by
178 android.app.Service#onStartCommand onStartCommand()} is <em>not</em> called), then the service runs
298 <p class="caution"><strong>Caution:</strong> A services runs in the same process as the application
460 // separate thread because the service normally runs in the process's
733 android.content.Context#startService startService()}. The service then runs indefinitely and must
Dprocesses-and-threads.jd8 <li>Every application runs in its own process and all components of the application run in that
57 process in which that component should run. You can set this attribute so that each component runs
310 android.os.AsyncTask#doInBackground doInBackground()} callback method, which runs in a pool of
313 android.os.AsyncTask#doInBackground doInBackground()} and runs in the UI thread, so you can safely
/frameworks/base/docs/html/guide/tutorials/views/
Dhello-datepicker.jd35 with the current date when our Activity runs.</p>
/frameworks/base/docs/html/resources/tutorials/testing/
Dhelloandroid_test.jd167 it to initialize the environment before each test runs.
309 It's similar to <code>setUp()</code>, but with less overhead, since it only runs once.
403 the testing framework runs the tests and reports the results in the JUnit view of Eclipse,
/frameworks/base/docs/html/guide/topics/
Dfundamentals.jd56 <li>Each process has its own virtual machine (VM), so an application's code runs in isolation from
59 <li>By default, every application runs in its own Linux process. Android starts the process when any
133 <dd>A <i>service</i> is a component that runs in the background to perform long-running
203 runs in the process that belongs to the camera application, not in your application's process.
207 <p>Because the system runs each application in a separate process with file permissions that
/frameworks/base/docs/html/guide/developing/building/
Dbuilding-cmdline.jd139 runs properly on different platforms.</p>
366 runs the tests.</dd>
370 runs the tests with code coverage enabled.</dd>
/frameworks/base/docs/html/guide/webapps/
Dwebview.jd179 <p>You can bind this class to the JavaScript that runs in your {@link android.webkit.WebView} with
209 <p class="note"><strong>Note:</strong> The object that is bound to your JavaScript runs in

1234