/frameworks/support/slices/builders/src/main/java/androidx/slice/builders/impl/ |
MessagingBuilder.java | 17 package androidx.slice.builders.impl;
|
GridRowBuilderListV1Impl.java | 17 package androidx.slice.builders.impl; 19 import static android.app.slice.Slice.HINT_HORIZONTAL; 20 import static android.app.slice.Slice.HINT_LARGE; 21 import static android.app.slice.Slice.HINT_NO_TINT; 22 import static android.app.slice.Slice.HINT_PARTIAL; 23 import static android.app.slice.Slice.HINT_SEE_MORE [all...] |
ListBuilderV1Impl.java | 17 package androidx.slice.builders.impl; 19 import static android.app.slice.Slice.HINT_ACTIONS; 20 import static android.app.slice.Slice.HINT_LARGE; 21 import static android.app.slice.Slice.HINT_LIST_ITEM; 22 import static android.app.slice.Slice.HINT_NO_TINT; 23 import static android.app.slice.Slice.HINT_PARTIAL [all...] |
/frameworks/support/slices/view/src/androidTest/java/androidx/slice/render/ |
SliceRenderActivity.java | 17 package androidx.slice.render; 25 public static final String ACTION_RENDER_DONE = "androidx.slice.render.RENDER_DONE";
|
/prebuilts/go/darwin-x86/src/crypto/rand/ |
example_test.go | 14 // rand.Reader and writes them to a byte slice. 23 // The slice should now contain random bytes instead of only zeroes.
|
/prebuilts/go/darwin-x86/src/os/ |
dir.go | 8 // returns a slice of up to n FileInfo values, as would be returned 13 // Readdir returns an empty slice, it will return a non-nil error 17 // a single slice. In this case, if Readdir succeeds (reads all 18 // the way to the end of the directory), it returns the slice and a 29 // Readdirnames reads and returns a slice of names from the directory f. 32 // Readdirnames returns an empty slice, it will return a non-nil error 36 // a single slice. In this case, if Readdirnames succeeds (reads all 37 // the way to the end of the directory), it returns the slice and a
|
/prebuilts/go/darwin-x86/test/fixedbugs/ |
issue18906.go | 20 slice = array[1:] 33 if slice[y] != 255 { 19 slice = array[1:] var
|
/prebuilts/go/linux-x86/src/crypto/rand/ |
example_test.go | 14 // rand.Reader and writes them to a byte slice. 23 // The slice should now contain random bytes instead of only zeroes.
|
/prebuilts/go/linux-x86/src/os/ |
dir.go | 8 // returns a slice of up to n FileInfo values, as would be returned 13 // Readdir returns an empty slice, it will return a non-nil error 17 // a single slice. In this case, if Readdir succeeds (reads all 18 // the way to the end of the directory), it returns the slice and a 29 // Readdirnames reads and returns a slice of names from the directory f. 32 // Readdirnames returns an empty slice, it will return a non-nil error 36 // a single slice. In this case, if Readdirnames succeeds (reads all 37 // the way to the end of the directory), it returns the slice and a
|
/prebuilts/go/linux-x86/test/fixedbugs/ |
issue18906.go | 20 slice = array[1:] 33 if slice[y] != 255 { 19 slice = array[1:] var
|
/tools/apksig/src/main/java/com/android/apksig/util/ |
DataSource.java | 109 DataSource slice(long offset, long size); method in interface:DataSource
|
/external/Microsoft-GSL/tests/ |
bounds_tests.cpp | 46 const auto a = b.slice(); 49 x.slice().slice();
|
/external/perfetto/src/tracing/core/ |
trace_packet.cc | 40 void TracePacket::AddSlice(Slice slice) { 41 size_ += slice.size; 42 slices_.push_back(std::move(slice));
|
/external/tensorflow/tensorflow/core/kernels/ |
split_lib_cpu.cc | 34 output = input.slice(slice_indices, slice_sizes); 36 output.device(d) = input.slice(slice_indices, slice_sizes); 52 output.device(d) = input.slice(slice_indices, slice_sizes);
|
/prebuilts/go/darwin-x86/test/ |
sliceopt.go | 1 // errorcheck -0 -d=append,slice,ssa/prove/debug=1 12 x = append(x, y) // ERROR "append: len-only update \(in local slice\)$" 45 z = (**x)[0:] // ERROR "slice: omit slice operation$" 63 zs = (**xs)[0:] // ERROR "slice: omit slice operation$"
|
/prebuilts/go/linux-x86/test/ |
sliceopt.go | 1 // errorcheck -0 -d=append,slice,ssa/prove/debug=1 12 x = append(x, y) // ERROR "append: len-only update \(in local slice\)$" 45 z = (**x)[0:] // ERROR "slice: omit slice operation$" 63 zs = (**xs)[0:] // ERROR "slice: omit slice operation$"
|
/external/brotli/java/org/brotli/wrapper/dec/ |
Decoder.java | 101 ByteBuffer slice = buffer.slice(); local 102 int limit = Math.min(slice.remaining(), dst.remaining()); 103 slice.limit(limit); 104 dst.put(slice);
|
/frameworks/support/slices/view/src/main/java/androidx/slice/widget/ |
SliceLiveData.java | 16 package androidx.slice.widget; 29 import androidx.slice.Slice; 30 import androidx.slice.SliceManager; 31 import androidx.slice.SliceSpec; 32 import androidx.slice.SliceSpecs; 49 public static final SliceSpec OLD_BASIC = new SliceSpec("androidx.app.slice.BASIC", 1); 55 public static final SliceSpec OLD_LIST = new SliceSpec("androidx.app.slice.LIST", 1); 65 * Produces an {@link LiveData} that tracks a Slice for a given Uri. To use 66 * this method your app must have the permission to the slice Uri [all...] |
/external/flatbuffers/include/flatbuffers/ |
grpc.h | 38 Message(grpc_slice slice, bool add_ref) 39 : slice_(add_ref ? grpc_slice_ref(slice) : slice) {} 172 // Get the slice we are working with (no refcount change) 173 grpc_slice slice = slice_allocator_.get_slice(buf_data, buf_size); local 174 // Extract a subslice of the existing slice (increment refcount) 175 grpc_slice subslice = grpc_slice_sub(slice, begin, end); 206 grpc_slice *slice = const_cast<grpc_slice *>(&msg.BorrowSlice()); local 207 // Now use `grpc_raw_byte_buffer_create` to package the single slice into a 209 *buffer = grpc_raw_byte_buffer_create(slice, 1) 225 grpc_slice slice = buffer->data.raw.slice_buffer.slices[0]; local 234 grpc_slice slice = grpc_byte_buffer_reader_readall(&reader); local [all...] |
/external/opencv/cv/src/ |
cvapprox.cpp | 523 CvSlice slice = {0, 0}, right_slice = {0, 0}; local 557 slice.start_index = 0; 558 slice.end_index = count - 1; 559 cvSeqPush( stack, &slice ); 602 slice.start_index = cvGetSeqReaderPos( &reader ); 603 slice.end_index = right_slice.start_index += slice.start_index; 606 right_slice.end_index = slice.start_index; 611 cvSeqPush( stack, &slice ); 620 cvSeqPop( stack, &slice ); 727 CvSlice slice = {0, 0}, right_slice = {0, 0}; local [all...] |
/external/tensorflow/tensorflow/contrib/rnn/kernels/ |
gru_ops.h | 84 x_h_prev.slice(x_offsets(), x_extends()).device(d) = x; 85 x_h_prev.slice(h_offsets(), h_extends()).device(d) = h_prev; 98 // Slice r_u_bar into r, u and apply the sigmoid. 99 r.device(d) = (r_u_bar.slice(ru_r_offset(), cell_extents())).sigmoid(); 100 u.device(d) = (r_u_bar.slice(ru_u_offset(), cell_extents())).sigmoid(); 103 x_h_prevr.slice(x_offsets(), x_extends()).device(d) = x; 104 x_h_prevr.slice(h_offsets(), h_extends()).device(d) = h_prev * r; 155 d_hr.device(d) = d_x_comp2_and_h_prevr.slice(h_offsets(), h_extends()); 159 d_r_bar_u_bar.slice(ru_r_offset(), cell_extents()).device(d) = d_r_bar; 160 d_r_bar_u_bar.slice(ru_u_offset(), cell_extents()).device(d) = d_u_bar [all...] |
/external/tensorflow/tensorflow/core/util/ |
tensor_slice_reader.h | 56 // Abstract interface for reading data out of a tensor slice checkpoint file 80 // Checks if the reader contains any slice of a tensor. In case the reader 86 // Checks if the reader contains all the data about a tensor slice, and if 87 // yes, copies the data of the slice to "data". The caller needs to make sure 91 bool CopySliceData(const string& name, const TensorSlice& slice, 99 // Returns value for one tensor. Only single slice checkpoints are supported 123 const string& name, const TensorSlice& slice, 146 const TensorSlice& slice, T* data) const { 151 tss = FindTensorSlice(name, slice, &details); 153 VLOG(1) << "Did not find slice in preferred shard, loading all shards. [all...] |
/frameworks/support/slices/builders/src/main/java/androidx/slice/builders/ |
GridRowBuilder.java | 17 package androidx.slice.builders; 29 import androidx.slice.builders.impl.TemplateBuilderImpl; 48 * If the first row of your slice was created with {@link GridRowBuilder} then there are a couple 49 * of extra considerations you should take for when the slice is displayed in different modes, 52 * <li>{@link androidx.slice.widget.SliceView#MODE_SHORTCUT} - ensure you use 56 * <li>{@link androidx.slice.widget.SliceView#MODE_SMALL} - in small format there might not 71 private androidx.slice.builders.impl.GridRowBuilder mImpl; 75 * Create a builder which will construct a slice displayed in a grid format. 76 * @param parent The builder constructing the parent slice. 84 mImpl = (androidx.slice.builders.impl.GridRowBuilder) impl [all...] |
/packages/apps/Settings/tests/robotests/src/com/android/settings/bluetooth/ |
BluetoothSliceBuilderTest.java | 49 import androidx.slice.Slice; 50 import androidx.slice.SliceItem; 51 import androidx.slice.SliceMetadata; 52 import androidx.slice.SliceProvider; 53 import androidx.slice.core.SliceAction; 54 import androidx.slice.widget.SliceLiveData; 78 final Slice BluetoothSlice = BluetoothSliceBuilder.getSlice(mContext); 98 intent.putExtra(android.app.slice.Slice.EXTRA_TOGGLE_STATE, true) [all...] |
/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/ |
ZenModeSliceBuilderTest.java | 19 import static android.app.slice.Slice.EXTRA_TOGGLE_STATE; 47 import androidx.slice.Slice; 48 import androidx.slice.SliceItem; 49 import androidx.slice.SliceMetadata; 50 import androidx.slice.SliceProvider; 51 import androidx.slice.core.SliceAction; 52 import androidx.slice.widget.SliceLiveData; 75 final Slice dndSlice = ZenModeSliceBuilder.getSlice(mContext) [all...] |