/packages/apps/DocumentsUI/src/com/android/documentsui/files/ |
H A D | Config.java | 29 public boolean managedModeEnabled(DocumentStack stack) { argument 34 final RootInfo root = stack.getRoot(); 37 && stack.size() == 1;
|
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/testing/ |
H A D | DocumentStackAsserts.java | 18 public static void assertEqualsTo(DocumentStack stack, RootInfo root, List<DocumentInfo> docs) { argument 19 assertEquals(root, stack.getRoot()); 20 assertEquals(docs.size(), stack.size()); 22 assertEquals(docs.get(i), stack.get(i));
|
H A D | TestSearchViewManager.java | 56 public void showMenu(DocumentStack stack) { argument
|
H A D | TestActivityConfig.java | 42 public boolean managedModeEnabled(DocumentStack stack) { argument
|
H A D | TestLastAccessedStorage.java | 46 public void setLastAccessed(Activity activity, DocumentStack stack) { argument 47 mLastAccessedStack = stack;
|
/packages/apps/DocumentsUI/src/com/android/documentsui/ |
H A D | ActivityConfig.java | 43 public boolean managedModeEnabled(DocumentStack stack) { argument
|
H A D | LoadDocStackTask.java | 83 Log.e(TAG, "Failed to build document stack for uri: " + docUri, e); 91 public void finish(@Nullable DocumentStack stack){ argument 92 mCallback.onDocumentStackLoaded(stack); 114 void onDocumentStackLoaded(@Nullable DocumentStack stack); argument
|
H A D | AbstractActionHandler.java | 327 (@Nullable DocumentStack stack) -> openFolderInSearchResult(stack, doc)); 333 private void openFolderInSearchResult(@Nullable DocumentStack stack, DocumentInfo doc) { argument 334 if (stack == null) { 335 mState.stack.popToRootDocument(); 338 // doesn't update its content if the size of document stack doesn't change. 342 mState.stack.push(doc); 344 if (!Objects.equals(mState.stack.getRoot(), stack.getRoot())) { 345 Log.w(TAG, "Provider returns " + stack 483 onStackLoaded(@ullable DocumentStack stack) argument [all...] |
/packages/apps/DocumentsUI/src/com/android/documentsui/picker/ |
H A D | LastAccessedStorage.java | 38 * An interface that stores the last accessed stack of the caller 45 void setLastAccessed(Activity activity, DocumentStack stack); argument 79 public void setLastAccessed(Activity activity, DocumentStack stack) { argument 81 LastAccessedProvider.setLastAccessed(activity.getContentResolver(), packageName, stack);
|
H A D | SetLastAccessedStackTask.java | 33 DocumentStack stack, 38 mStack = stack; 30 SetLastAccessedStackTask( Activity activity, LastAccessedStorage lastAccessed, DocumentStack stack, Runnable callback) argument
|
H A D | LoadLastAccessedStackTask.java | 32 * Loads the last used path (stack) from Recents (history). 64 protected void finish(@Nullable DocumentStack stack) { argument 65 mCallback.accept(stack);
|
H A D | CreatePickedDocumentTask.java | 54 DocumentStack stack, 62 mStack = stack; 50 CreatePickedDocumentTask( Activity activity, DocumentsAccess docs, LastAccessedStorage lastAccessed, DocumentStack stack, String mimeType, String displayName, BooleanConsumer inProgressStateListener, Consumer<Uri> callback) argument
|
H A D | ActionHandler.java | 100 // stack is initialized if it's restored from bundle, which means we're restoring a 102 if (mState.stack.isInitialized()) { 121 if (DEBUG) Log.d(TAG, "Load last accessed stack."); 131 // As a matter of policy we don't load the last used stack for the copy 135 // we restore the stack as last used from that app. 154 if (DEBUG) Log.d(TAG, "Attempting to load last used stack for calling package."); 160 private void onLastAccessedStackLoaded(@Nullable DocumentStack stack) { argument 161 if (stack == null) { 164 mState.stack.reset(stack); [all...] |
H A D | LastAccessedProvider.java | 71 public static final String STACK = "stack"; 124 ContentResolver resolver, String packageName, DocumentStack stack) { 126 final byte[] rawStack = DurableUtils.writeToArrayOrNull(stack); 242 final DocumentStack stack = new DocumentStack(); 250 DurableUtils.readFromArray(rawStack, stack); 252 if (stack.getRoot() != null && predicate.test(stack.getRoot().authority)) { 123 setLastAccessed( ContentResolver resolver, String packageName, DocumentStack stack) argument
|
/packages/services/Car/libvehiclemonitor/native/ |
H A D | HandlerThread.cpp | 38 status_t HandlerThread::start(const char* name, int32_t priority, size_t stack) { argument 39 return run(name, priority, stack);
|
/packages/apps/DocumentsUI/src/com/android/documentsui/services/ |
H A D | DeleteJob.java | 54 DeleteJob(Context service, Listener listener, String id, DocumentStack stack, argument 56 super(service, listener, id, OPERATION_DELETE, stack, srcs, features); 141 .append(", location=" + stack)
|
H A D | Job.java | 94 final DocumentStack stack; field in class:Job 115 * @param stack The documents stack context relating to this request. This is the 121 @OpType int opType, DocumentStack stack, UrisSupplier srcs, Features features) { 131 this.stack = stack; 338 intent.putExtra(Shared.EXTRA_STACK, (Parcelable) stack); 120 Job(Context service, Listener listener, String id, @OpType int opType, DocumentStack stack, UrisSupplier srcs, Features features) argument
|
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/services/ |
H A D | TestJob.java | 42 TestJob(Context service, Listener listener, String id, @OpType int opType, DocumentStack stack, argument 44 super(service, listener, id, opType, stack, srcs, features);
|
/packages/apps/DocumentsUI/src/com/android/documentsui/base/ |
H A D | State.java | 101 /** Current user navigation stack; empty implies recents. */ 102 public final DocumentStack stack = new DocumentStack(); field in class:State 131 DurableUtils.writeToParcel(out, stack); 153 DurableUtils.readFromParcel(in, state.stack);
|
H A D | DocumentStack.java | 43 * Representation of a stack of {@link DocumentInfo}, usually the result of a 64 * parameters, i.e. the last document will be at the top of the stack. 86 * passed as parameters, i.e. the last document will be at the top of the stack. 119 * Returns {@link DocumentInfo} at index counted from the bottom of this stack. 129 if (DEBUG) Log.d(TAG, "Adding doc to stack: " + info); 136 if (DEBUG) Log.d(TAG, "Popping doc off stack."); 179 * Resets this stack to the given stack. It takes the reference of {@link #mList} and 182 public void reset(DocumentStack stack) { argument 183 if (DEBUG) Log.d(TAG, "Resetting the whole darn stack t [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/util/ |
H A D | ProfileData.java | 74 public void addSample(String[] stack) { argument 75 int[] ids = new int[stack.length]; 76 for (int i = 0; i < stack.length; i++) { 77 ids[i] = nameToId(stack[i]); 81 for (int i = stack.length - 1; i >= 0; i--) { 127 // Writes out one stack, consisting of N+2 words: 129 // second word: depth of the stack (N) 130 // N words: each word is the id of one address in the stack
|
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/message/ |
H A D | Message.java | 100 private Stack<Object> stack = new Stack<Object>(); field in class:Message.MessageBuilder 106 if (!c.isInstance(stack.peek())) { 107 throw new IllegalStateException("Internal stack error: " 109 + stack.peek().getClass().getName() + "'"); 117 if (stack.isEmpty()) { 118 stack.push(Message.this); 122 ((Entity) stack.peek()).setBody(m); 123 stack.push(m); 132 stack.pop(); 139 stack [all...] |
/packages/apps/DocumentsUI/src/com/android/documentsui/queries/ |
H A D | SearchViewManager.java | 107 * @param stack New stack. 109 public void update(DocumentStack stack) { argument 133 showMenu(stack); 136 public void showMenu(@Nullable DocumentStack stack) { argument 137 final DocumentInfo cwd = stack != null ? stack.peek() : null; 147 final RootInfo root = stack != null ? stack.getRoot() : null;
|
/packages/apps/UnifiedEmail/src/com/google/android/mail/common/html/parser/ |
H A D | HtmlTreeBuilder.java | 39 private final List<HTML.Element> stack = new ArrayList<HTML.Element>(); field in class:HtmlTreeBuilder 59 while (stack.size() > 0) { 103 while (pos < stack.size() - 1) { 128 /** Finds the start tag from the stack, returns -1 if not found */ 130 for (int i = stack.size() - 1; i >= 0; i--) { 131 HTML.Element e = stack.get(i); 140 * Adds a close tag corresponding to a tag on the stack, if 151 /** Pushes a tag onto the stack */ 153 stack.add(element); 156 /** Pops an elemnt from the stack */ [all...] |
/packages/apps/Dialer/java/com/android/voicemail/impl/mail/internet/ |
H A D | MimeMessage.java | 526 private final Stack<Object> stack = new Stack<Object>(); field in class:MimeMessage.MimeMessageBuilder 531 if (!c.isInstance(stack.peek())) { 533 "Internal stack error: " 537 + stack.peek().getClass().getName() 544 if (stack.isEmpty()) { 545 stack.push(MimeMessage.this); 550 ((Part) stack.peek()).setBody(m); 551 stack.push(m); 561 stack.pop(); 574 ((Part) stack [all...] |