HomeSort by relevance Sort by last modified time
    Searched defs:slice (Results 26 - 50 of 873) sorted by null

12 3 4 5 6 7 8 91011>>

  /frameworks/base/core/java/android/app/slice/
SliceSpec.java 17 package android.app.slice;
25 * Class describing the structure of the data contained within a slice.
34 * will also be given to the app. Apps should only return a {@link Slice} with a
38 * @see Slice
92 * @see androidx.slice.widget.SliceView
  /frameworks/support/samples/SupportSliceDemos/src/main/java/com/example/androidx/slice/demos/
SliceBroadcastReceiver.java 17 package com.example.androidx.slice.demos;
19 import static android.app.slice.Slice.EXTRA_RANGE_VALUE;
20 import static android.app.slice.Slice.EXTRA_TOGGLE_STATE;
22 import static com.example.androidx.slice.demos.SampleSliceProvider.getUri;
  /frameworks/support/slices/builders/src/main/java/androidx/slice/builders/impl/
GridRowBuilder.java 17 package androidx.slice.builders.impl;
28 import androidx.slice.builders.SliceAction;
51 * If all content in a slice cannot be shown, the cell added here will be displayed where the
62 * If all content in a slice cannot be shown, a "see more" affordance will be displayed where
MessagingBuilder.java 17 package androidx.slice.builders.impl;
TemplateBuilderImpl.java 17 package androidx.slice.builders.impl;
23 import androidx.slice.Slice;
24 import androidx.slice.SliceSpec;
32 private final Slice.Builder mSliceBuilder;
35 protected TemplateBuilderImpl(Slice.Builder b, SliceSpec spec) {
41 * Construct the slice.
43 public Slice build() {
53 public Slice.Builder getBuilder() {
61 public Slice.Builder createChildBuilder()
    [all...]
  /frameworks/support/slices/core/src/androidTest/java/androidx/slice/compat/
CompatPermissionManagerTest.java 17 package androidx.slice.compat;
  /frameworks/support/slices/core/src/main/java/androidx/slice/
ArrayUtils.java 16 package androidx.slice;
SliceSpec.java 17 package androidx.slice;
25 * Class describing the structure of the data contained within a slice.
34 * will also be given to the app. Apps should only return a {@link Slice} with a
39 * @see Slice
75 * @see androidx.slice.widget.SliceView
  /frameworks/support/slices/core/src/main/java/androidx/slice/core/
SliceAction.java 17 package androidx.slice.core;
27 * Interface for a slice action, supports tappable icons, custom toggle icons, and default toggles.
SliceQuery.java 17 package androidx.slice.core;
19 import static android.app.slice.SliceItem.FORMAT_ACTION;
20 import static android.app.slice.SliceItem.FORMAT_SLICE;
25 import androidx.slice.Slice;
26 import androidx.slice.SliceItem;
33 * Utilities for finding content within a Slice.
67 public static boolean hasHints(Slice item, String... hints) {
111 public static List<SliceItem> findAll(Slice s, String format, String hints, String nonHints) {
124 public static List<SliceItem> findAll(Slice s, final String format, final String[] hints
    [all...]
  /prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/x86_64-linux/include/c++/4.8/bits/
slice_array.h 49 * The slice class represents a one-dimensional subset of an array,
56 * For example, with an array of size 10, and a slice with offset 1, size 3
59 class slice class
62 /// Construct an empty slice.
63 slice();
66 * @brief Construct a slice.
69 * @param __d Number of elements in slice.
72 slice(size_t __o, size_t __d, size_t __s);
74 /// Return array offset of first slice element.
76 /// Return size of slice
90 slice::slice() function in class:slice
94 slice::slice(size_t __o, size_t __d, size_t __s) function in class:slice
    [all...]
  /prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/c++/4.8.3/bits/
slice_array.h 49 * The slice class represents a one-dimensional subset of an array,
56 * For example, with an array of size 10, and a slice with offset 1, size 3
59 class slice class
62 /// Construct an empty slice.
63 slice();
66 * @brief Construct a slice.
69 * @param __d Number of elements in slice.
72 slice(size_t __o, size_t __d, size_t __s);
74 /// Return array offset of first slice element.
76 /// Return size of slice
90 slice::slice() function in class:slice
94 slice::slice(size_t __o, size_t __d, size_t __s) function in class:slice
    [all...]
  /system/netd/libnetdutils/
MemBlockTest.cpp 24 #include "netdutils/Slice.h"
37 for (Slice slice = result.get(); !slice.empty(); slice = drop(slice, 1)) {
38 slice.base()[0] = ARBITRARY_VALUE;
43 void checkAllZeros(Slice slice) {
44 for (; !slice.empty(); slice = drop(slice, 1))
50 Slice slice = block.get(); local
85 Slice slice = dnsPacket.get(); local
    [all...]
  /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/
DoubleBufferTest.java 584 DoubleBuffer slice = buf.slice(); local
585 assertEquals(buf.isReadOnly(), slice.isReadOnly());
586 assertEquals(buf.isDirect(), slice.isDirect());
587 assertEquals(buf.order(), slice.order());
588 assertEquals(slice.position(), 0);
589 assertEquals(slice.limit(), buf.remaining());
590 assertEquals(slice.capacity(), buf.remaining());
592 slice.reset();
598 // slice share the same content with bu
    [all...]
FloatBufferTest.java 595 FloatBuffer slice = buf.slice(); local
596 assertEquals(buf.isReadOnly(), slice.isReadOnly());
597 assertEquals(buf.isDirect(), slice.isDirect());
598 assertEquals(buf.order(), slice.order());
599 assertEquals(slice.position(), 0);
600 assertEquals(slice.limit(), buf.remaining());
601 assertEquals(slice.capacity(), buf.remaining());
603 slice.reset();
609 // slice share the same content with bu
    [all...]
IntBufferTest.java 571 IntBuffer slice = buf.slice(); local
572 assertEquals(buf.isReadOnly(), slice.isReadOnly());
573 assertEquals(buf.isDirect(), slice.isDirect());
574 assertEquals(buf.order(), slice.order());
575 assertEquals(slice.position(), 0);
576 assertEquals(slice.limit(), buf.remaining());
577 assertEquals(slice.capacity(), buf.remaining());
579 slice.reset();
585 // slice share the same content with bu
    [all...]
LongBufferTest.java 578 LongBuffer slice = buf.slice(); local
579 assertEquals(buf.isReadOnly(), slice.isReadOnly());
580 assertEquals(buf.isDirect(), slice.isDirect());
581 assertEquals(buf.order(), slice.order());
582 assertEquals(slice.position(), 0);
583 assertEquals(slice.limit(), buf.remaining());
584 assertEquals(slice.capacity(), buf.remaining());
586 slice.reset();
592 // slice share the same content with bu
    [all...]
ShortBufferTest.java 558 ShortBuffer slice = buf.slice(); local
559 assertEquals(buf.isReadOnly(), slice.isReadOnly());
560 assertEquals(buf.isDirect(), slice.isDirect());
561 assertEquals(buf.order(), slice.order());
562 assertEquals(slice.position(), 0);
563 assertEquals(slice.limit(), buf.remaining());
564 assertEquals(slice.capacity(), buf.remaining());
566 slice.reset();
572 // slice share the same content with bu
    [all...]
  /tools/apksig/src/main/java/com/android/apksig/internal/util/
ChainedDataSource.java 102 public DataSource slice(long offset, long size) { method in class:ChainedDataSource
103 // Find the first slice.
110 return beginSource.slice(beginLocalOffset, size);
113 // Add the first slice to chaining, followed by the middle full slices, then the last.
115 sources.add(beginSource.slice(
126 sources.add(mSources[endIndex].slice(0, endLocalOffset));
  /cts/tests/tests/slice/src/android/slice/cts/
LocalSliceProvider.java 15 package android.slice.cts;
21 import android.app.slice.Slice;
22 import android.app.slice.SliceManager;
23 import android.app.slice.SliceSpec;
68 public Slice onBindSlice(Uri sliceUri, Set<SliceSpec> specs) {
  /external/brotli/java/org/brotli/wrapper/enc/
BrotliEncoderChannel.java 67 ByteBuffer slice = src.slice(); local
68 slice.limit(limit);
69 inputBuffer.put(slice);
  /external/eigen/unsupported/test/
cxx11_tensor_ref.cpp 98 TensorRef<Tensor<float, 5>> slice = tensor.slice(indices, sizes); local
99 VERIFY_IS_EQUAL(slice(0,0,0,0,0), tensor(1,2,3,4,5));
103 slice = tensor.slice(indices2, sizes2);
107 VERIFY_IS_EQUAL(slice(0,0,i,j,k), tensor(1,1,3+i,4+j,5+k));
114 slice = tensor.slice(indices3, sizes3);
115 VERIFY_IS_EQUAL(slice.data(), tensor.data());
190 TensorRef<Tensor<float, 4>> slice = tensor.chip(7, 4) local
    [all...]
  /external/mesa3d/src/gallium/drivers/ilo/
ilo_blit.c 180 * Resolve on all slices not sharing the clear value of the first slice.
182 * be made to have the same clear value as the first slice does. This
185 * - 3DSTATE_CLEAR_PARAMS can be set to the clear value of any slice
189 * Since slice clear value is the value the slice is cleared to when
200 const struct ilo_texture_slice *slice = local
203 if (slice->flags & other_writers) {
206 } else if (slice->clear_value != first_clear_value &&
207 (slice->flags & ILO_TEXTURE_RENDER_WRITE)) {
230 const struct ilo_texture_slice *slice local
    [all...]
  /external/swiftshader/third_party/LLVM/include/llvm/ADT/
ArrayRef.h 113 /// slice(n) - Chop off the first N elements of the array.
114 ArrayRef<T> slice(unsigned N) { function in class:llvm::ArrayRef
119 /// slice(n, m) - Chop off the first N elements of the array, and keep M
121 ArrayRef<T> slice(unsigned N, unsigned M) { function in class:llvm::ArrayRef
  /external/tensorflow/tensorflow/core/framework/
tensor_slice_test.cc 83 TensorSlice slice; local
84 Status s = TensorSlice::Parse("-:-:1,3:4:5", &slice);
92 TensorSlice slice; local
93 Status s = TensorSlice::Parse("-:-1,3", &slice);
115 TensorSlice slice; local
117 TensorSlice::Parse("19223372036854775808,19223372036854775808", &slice);
126 // Testing the slice intersection
181 // Testing applying a slice to a tensor shape
200 "shape = [2,4,5,8], slice = 1,1:1,4:-:-",
292 TensorSlice slice(3)
    [all...]

Completed in 600 milliseconds

12 3 4 5 6 7 8 91011>>