Home
last modified time | relevance | path

Searched refs:Handle (Results 1 – 25 of 92) sorted by relevance

1234

/frameworks/base/core/java/com/android/internal/content/
DNativeLibraryHelper.java72 public static class Handle implements Closeable { class in NativeLibraryHelper
80 public static Handle create(File packageFile) throws IOException { in create()
89 public static Handle create(Package pkg) throws IOException { in create()
95 public static Handle create(PackageLite lite) throws IOException { in create()
99 private static Handle create(List<String> codePaths, boolean multiArch, in create()
115 return new Handle(apkHandles, multiArch, extractNativeLibs); in create()
118 Handle(long[] apkHandles, boolean multiArch, boolean extractNativeLibs) { in Handle() method in NativeLibraryHelper.Handle
157 private static long sumNativeBinaries(Handle handle, String abi) { in sumNativeBinaries()
173 public static int copyNativeBinaries(Handle handle, File sharedLibraryDir, String abi) { in copyNativeBinaries()
191 public static int findSupportedAbi(Handle handle, String[] supportedAbis) { in findSupportedAbi()
[all …]
DPackageHelper.java526 NativeLibraryHelper.Handle handle = null; in calculateInstalledSize()
528 handle = NativeLibraryHelper.Handle.create(pkg); in calculateInstalledSize()
535 public static long calculateInstalledSize(PackageLite pkg, NativeLibraryHelper.Handle handle, in calculateInstalledSize()
/frameworks/base/core/tests/coretests/src/android/widget/
DTextViewActivityTest.java26 import static android.widget.espresso.TextViewActions.Handle;
307 .perform(dragHandle(textView, Handle.SELECTION_START, text.indexOf('a'))); in testToolbarAndSelectionHandle()
312 .perform(dragHandle(textView, Handle.SELECTION_END, text.length())); in testToolbarAndSelectionHandle()
336 .perform(dragHandle(textView, Handle.INSERTION, text.indexOf('a'))); in testInsertionHandle()
340 .perform(dragHandle(textView, Handle.INSERTION, text.indexOf('f'))); in testInsertionHandle()
356 .perform(dragHandle(textView, Handle.INSERTION, text.indexOf('a'))); in testInsertionHandle_multiLine()
360 .perform(dragHandle(textView, Handle.INSERTION, text.indexOf('f'))); in testInsertionHandle_multiLine()
381 .perform(dragHandle(textView, Handle.SELECTION_START, text.indexOf('a'))); in testSelectionHandles()
385 .perform(dragHandle(textView, Handle.SELECTION_END, text.indexOf('k') + 1)); in testSelectionHandles()
408 .perform(dragHandle(textView, Handle.SELECTION_START, text.indexOf('f'))); in testSelectionHandles_bidi()
[all …]
/frameworks/rs/api/
Drs_object_types.spec44 summary: Handle to an element
53 summary: Handle to a Type
62 summary: Handle to an allocation
71 summary: Handle to a Sampler
80 summary: Handle to a Script
Drs_graphics.spec122 summary: Handle to a Font
134 summary: Handle to a Mesh
145 summary: Handle to a ProgramFragment
156 summary: Handle to a ProgramVertex
167 summary: Handle to a ProgramRaster
178 summary: Handle to a ProgramStore
/frameworks/base/core/tests/coretests/src/android/widget/espresso/
DTextViewActions.java294 public enum Handle { enum in TextViewActions
313 public static ViewAction dragHandle(TextView textView, Handle handleType, int endIndex) { in dragHandle()
332 public static ViewAction dragHandle(TextView textView, Handle handleType, int endIndex, in dragHandle()
402 private final Handle mHandleType;
407 public HandleCoordinates(TextView textView, Handle handleType, int index, boolean primary) { in HandleCoordinates()
438 final int currentOffset = mHandleType == Handle.SELECTION_START ? in locateHandlePointsTextIndex()
/frameworks/base/docs/html/training/wearables/watch-faces/
Dinteracting.jd10 <li><a href="#Handle">Handle Gestures</a></li>
56 in <a href="#Handle">Handle Gestures</a> shows an example of such an
59 <h2 id="Handle">Handle Gestures</h2>
/frameworks/base/docs/html/training/keyboard-input/
Dcommands.jd12 <li><a href="#SingleKey">Handle Single Key Events</a></li>
13 <li><a href="#ModifierKey">Handle Modifier Keys</a></li>
40 <h2 id="SingleKey">Handle Single Key Events</h2>
74 <h2 id="ModifierKey">Handle Modifier Keys</h2>
Dnavigation.jd13 <li><a href="#Tab">Handle Tab Navigation</a></li>
14 <li><a href="#Direction">Handle Directional Navigation</a></li>
87 <h2 id="Tab">Handle Tab Navigation</h2>
130 <h2 id="Direction">Handle Directional Navigation</h2>
/frameworks/base/docs/html/training/sharing/
Dreceive.jd20 <li><a href="#handling-content">Handle the Incoming Content</a></li>
86 <h2 id="handling-content">Handle the Incoming Content</h2>
105 handleSendText(intent); // Handle text being sent
107 handleSendImage(intent); // Handle single image being sent
111 handleSendMultipleImages(intent); // Handle multiple images being sent
114 // Handle other intents, such as being started from the home screen
/frameworks/rs/scriptc/
Drs_object_types.rsh48 * rs_element: Handle to an element
57 * rs_type: Handle to a Type
66 * rs_allocation: Handle to an allocation
75 * rs_sampler: Handle to a Sampler
84 * rs_script: Handle to a Script
/frameworks/base/docs/html/guide/topics/renderscript/reference/
Drs_object_types.jd18 Handle to an allocation
58 Handle to an element
66 Handle to a Sampler
82 Handle to a Script
90 Handle to a Type
99 <span class='normal'>: Handle to an allocation</span>
253 <span class='normal'>: Handle to an element</span>
269 <span class='normal'>: Handle to a Sampler</span>
308 <span class='normal'>: Handle to a Script</span>
324 <span class='normal'>: Handle to a Type</span>
/frameworks/base/docs/html/training/managing-audio/
Daudio-output.jd18 <li><a href="#HandleChanges">Handle Changes in the Audio Output Hardware</a></li>
57 <h2 id="HandleChanges">Handle Changes in the Audio Output Hardware</h2>
/frameworks/base/packages/DefaultContainerService/src/com/android/defcontainer/
DDefaultContainerService.java103 NativeLibraryHelper.Handle handle = null;
107 handle = NativeLibraryHelper.Handle.create(pkg);
313 private String copyPackageToContainerInner(PackageLite pkg, NativeLibraryHelper.Handle handle, in copyPackageToContainerInner()
/frameworks/compile/libbcc/tests/debuginfo/target-tests/driver-common/SRC/
DDriverView.java.template56 // Handle the system event and clean up
/frameworks/native/vulkan/nulldrv/
Dnull_driver.cpp178 template <class Handle>
179 Handle AllocHandle(VkInstance instance, HandleType::Enum type) { in AllocHandle()
180 return reinterpret_cast<Handle>( in AllocHandle()
184 template <class Handle>
185 Handle AllocHandle(VkDevice device, HandleType::Enum type) { in AllocHandle()
186 return reinterpret_cast<Handle>( in AllocHandle()
/frameworks/base/docs/html/training/load-data-background/
Dhandle-results.jd13 <a href="#HandleResults">Handle Query Results</a>
49 <h2 id="HandleResults">Handle Query Results</h2>
/frameworks/base/docs/html/training/tv/discovery/
Dsearchable.jd14 <li><a href="#suggestions">Handle Search Suggestions</a></li>
15 <li><a href="#terms">Handle Search Terms</a></li>
175 <a href="#suggestions">Handle Search Suggestions</a>, below.
252 <h2 id="suggestions">Handle Search Suggestions</h2>
305 <h2 id="terms">Handle Search Terms</h2>
348 <p>If you have set up the search configuration as described in <a href="#suggestions">Handle Search
/frameworks/base/docs/html-intl/intl/ru/training/basics/intents/
Dfilters.jd175 // Handle intents with image data ...
177 // Handle intents with text ...
/frameworks/base/docs/html-intl/intl/zh-tw/training/basics/intents/
Dfilters.jd175 // Handle intents with image data ...
177 // Handle intents with text ...
/frameworks/base/docs/html-intl/intl/zh-cn/training/basics/intents/
Dfilters.jd175 // Handle intents with image data ...
177 // Handle intents with text ...
/frameworks/base/docs/html/training/basics/data-storage/
Dshared-preferences.jd15 <li><a href="#GetSharedPreferences">Get a Handle to a SharedPreferences</a></li>
47 <h2 id="GetSharedPreferences">Get a Handle to a SharedPreferences</h2>
/frameworks/base/docs/html-intl/intl/ja/training/basics/intents/
Dfilters.jd175 // Handle intents with image data ...
177 // Handle intents with text ...
/frameworks/base/docs/html-intl/intl/ko/training/basics/intents/
Dfilters.jd175 // Handle intents with image data ...
177 // Handle intents with text ...
/frameworks/base/docs/html/training/basics/intents/
Dfilters.jd15 <li><a href="#HandleIntent">Handle the Intent in Your Activity</a></li>
157 <h2 id="HandleIntent">Handle the Intent in Your Activity</h2>
182 // Handle intents with image data ...
184 // Handle intents with text ...

1234