/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/ |
BaseViewRule.java | 6 * You may obtain a copy of the License at 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 75 /** List of recently edited properties */ 78 /** Maximum number of recent properties to track and list */ 90 // Cache of attributes. Key is FQCN of a node mixed with its view hierarchy 123 * - List of all other simple toggle attributes. 244 // case of toggle 253 // case of a flag 284 // case of an enu [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gre/ |
ViewMetadataRepository.java | 6 * You may obtain a copy of the License at 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 92 * List of categories (which contain views); constructed lazily so use 126 * views. The FQN of each view can be obtained via the 155 * @return the fqcn of the view the element represents a preview for 201 /** Returns an ordered list of categories and views, parsed from a metadata file */ 318 * @return a list of pairs where each pair contains of the category label and an 319 * ordered list of elements to be included in that category 331 // First record map of FQCN to ViewElementDescriptor such that we can quickl [all...] |
/prebuilts/tools/common/m2/repository/com/google/truth/truth/0.28/ |
truth-0.28.jar | |
/external/dagger2/compiler/src/main/java/dagger/internal/codegen/ |
AbstractComponentWriter.java | 6 * You may obtain a copy of the License at 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 145 private ImmutableMap<TypeElement, FieldWriter> builderFields = ImmutableMap.of(); 151 * any requirement that is reused from a subcomponent of this component. 179 * Returns an expression snippet that evaluates to an instance of the contribution, looking for 215 return Optional.of(fieldSelect.getSnippetFor(name)); 231 * Returns the initialization state of the factory field for a binding key in this component. 288 builderName = Optional.of(builderWriter.name()); 307 * Adds fields for each of the {@linkplain BindingGraph#componentRequirements component 308 * requirements}. Regardless of builder spec, there is always one field per requirement [all...] |
/external/guava/guava-gwt/test-super/com/google/common/collect/super/com/google/common/collect/ |
MapsTest.java | 6 * You may obtain a copy of the License at 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 317 Map<Integer, String> left = ImmutableMap.of( 319 Map<Integer, String> right = ImmutableMap.of( 324 assertEquals(ImmutableMap.of(2, "b", 4, "d"), diff1.entriesOnlyOnLeft()); 325 assertEquals(ImmutableMap.of(6, "z"), diff1.entriesOnlyOnRight()); 326 assertEquals(ImmutableMap.of(1, "a"), diff1.entriesInCommon()); 327 assertEquals(ImmutableMap.of(3, 336 assertEquals(ImmutableMap.of(6, "z"), diff2.entriesOnlyOnLeft()); 337 assertEquals(ImmutableMap.of(2, "b", 4, "d"), diff2.entriesOnlyOnRight()) [all...] |
MultimapsTest.java | 6 * You may obtain a copy of the License at 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 84 ImmutableListMultimap.of("a", 1, "b", 2, "a", 3); 97 ImmutableSetMultimap.of("a", 1, "b", 2, "a", 3); 109 ImmutableMultimap<String, Integer> immutable = ImmutableMultimap.of("a", 1, "b", 2, "a", 3); 216 * of the map. 263 ImmutableMultimap<Integer, String> empty = ImmutableMultimap.of(); 712 multimap, Predicates.in(ImmutableSet.of("foo", "bar"))); 715 ImmutableSet.of(), 716 filtered.replaceValues("baz", ImmutableSet.<Integer>of())); [all...] |
/external/guava/guava-tests/test/com/google/common/collect/ |
FluentIterableTest.java | 6 * You may obtain a copy of the License at 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 62 assertEquals(ImmutableList.of(1, 2, 3, 4), 63 Lists.newArrayList(FluentIterable.from(ImmutableList.of(1, 2, 3, 4)))); 66 @SuppressWarnings("deprecation") // test of deprecated method 73 assertEquals(ImmutableList.of("1", "2", "3", "4"), 74 Lists.newArrayList(FluentIterable.of(new Object[] {"1", "2", "3", "4"}))); 107 Iterable<String> set = ImmutableSortedSet.of("a", "b"); 253 assertEquals(Optional.of("cool"), iterable.firstMatch(Predicates.equalTo("cool"))); 254 assertEquals(Optional.of("pants"), iterable.firstMatch(Predicates.equalTo("pants"))) [all...] |
ImmutableSortedSetTest.java | 6 * You may obtain a copy of the License at 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 162 @Override protected SortedSet<String> of() { method in class:ImmutableSortedSetTest 163 return ImmutableSortedSet.of(); 166 @Override protected SortedSet<String> of(String e) { method in class:ImmutableSortedSetTest 167 return ImmutableSortedSet.of(e); 170 @Override protected SortedSet<String> of(String e1, String e2) { method in class:ImmutableSortedSetTest 171 return ImmutableSortedSet.of(e1, e2); 174 @Override protected SortedSet<String> of(String e1, String e2, String e3) { method in class:ImmutableSortedSetTest 175 return ImmutableSortedSet.of(e1, e2, e3) 178 @Override protected SortedSet<String> of( method in class:ImmutableSortedSetTest 183 @Override protected SortedSet<String> of( method in class:ImmutableSortedSetTest 188 @Override protected SortedSet<String> of(String e1, String e2, String e3, method in class:ImmutableSortedSetTest 268 assertSame(of(), set.headSet("c")); method 269 assertSame(of(), set.headSet("e")); method 277 assertSame(of(), set.tailSet("g")); method 285 assertSame(of(), set.subSet("f", "g")); method 286 assertSame(of(), set.subSet("c", "e")); method 287 assertSame(of(), set.subSet("c", "d")); method 371 assertSame(of(), set.headSet("a")); method 372 assertSame(of(), set.headSet("b")); method 380 assertSame(of(), set.tailSet("g")); method 388 assertSame(of(), set.subSet("a", "b")); method 389 assertSame(of(), set.subSet("g", "h")); method 390 assertSame(of(), set.subSet("c", "c")); method [all...] |
MultimapsTest.java | 6 * You may obtain a copy of the License at 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 88 ImmutableListMultimap.of("a", 1, "b", 2, "a", 3); 101 ImmutableSetMultimap.of("a", 1, "b", 2, "a", 3); 113 ImmutableMultimap<String, Integer> immutable = ImmutableMultimap.of("a", 1, "b", 2, "a", 3); 308 * of the map. 355 ImmutableMultimap<Integer, String> empty = ImmutableMultimap.of(); 833 ImmutableSetMultimap.of("a", 2, "b", -3, "b", 3, "a", 4, "c", 6); [all...] |
/external/guice/extensions/multibindings/test/com/google/inject/multibindings/ |
MapBinderTest.java | 6 * You may obtain a copy of the License at 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 85 private static final Set<Key<?>> FRAMEWORK_KEYS = ImmutableSet.of( 618 .addBinding("null").toProvider(Providers.<String>of(null)); 684 assertEquals(ImmutableSet.<Dependency<?>>of(Dependency.get(setKey)), method 688 assertEquals(ImmutableSet.of("A", "B"), elements); 720 assertEquals(ImmutableSet.<Dependency<?>>of(Dependency.get(setKey)), method 761 * With overrides, we should get the union of all map bindings. [all...] |
/external/guice/extensions/throwingproviders/test/com/google/inject/throwingproviders/ |
CheckedProviderTest.java | 6 * You may obtain a copy of the License at 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 573 assertEquals(ImmutableSet.<Key<?>>of(Key.get(String.class), Key.get(Integer.class), method 605 assertEquals(ImmutableSet.<Key<?>>of(Key.get(String.class), Key.get(Integer.class), method 644 assertEquals(ImmutableSet.<Key<?>>of(Key.get(String.class), Key.get(Integer.class), method [all...] |
/external/icu/android_icu4j/src/main/java/android/icu/util/ |
MeasureUnit.java | 122 * Get all of the available units' types. Returned set is unmodifiable. 142 * Get all of the available units. Returned set is unmodifiable. 196 return unitPerUnitToSingleUnit.get(Pair.of(unit, perUnit)); 237 // load all of the units for English, since we know that that is a superset. 320 * Constant for unit of acceleration: g-force 325 * Constant for unit of acceleration: meter-per-second-squared 330 * Constant for unit of angle: arc-minute 335 * Constant for unit of angle: arc-second 340 * Constant for unit of angle: degree 345 * Constant for unit of angle: radia 976 unitPerUnitToSingleUnit.put(Pair.<MeasureUnit, MeasureUnit>of(MeasureUnit.KILOMETER, MeasureUnit.HOUR), MeasureUnit.KILOMETER_PER_HOUR); method 977 unitPerUnitToSingleUnit.put(Pair.<MeasureUnit, MeasureUnit>of(MeasureUnit.MILE, MeasureUnit.GALLON), MeasureUnit.MILE_PER_GALLON); method 978 unitPerUnitToSingleUnit.put(Pair.<MeasureUnit, MeasureUnit>of(MeasureUnit.MILE, MeasureUnit.HOUR), MeasureUnit.MILE_PER_HOUR); method 979 unitPerUnitToSingleUnit.put(Pair.<MeasureUnit, MeasureUnit>of(MeasureUnit.METER, MeasureUnit.SECOND), MeasureUnit.METER_PER_SECOND); method 980 unitPerUnitToSingleUnit.put(Pair.<MeasureUnit, MeasureUnit>of(MeasureUnit.LITER, MeasureUnit.KILOMETER), MeasureUnit.LITER_PER_KILOMETER); method 981 unitPerUnitToSingleUnit.put(Pair.<MeasureUnit, MeasureUnit>of(MeasureUnit.POUND, MeasureUnit.SQUARE_INCH), MeasureUnit.POUND_PER_SQUARE_INCH); method [all...] |
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/ |
MeasureUnit.java | 129 * Get all of the available units' types. Returned set is unmodifiable. 152 * Get all of the available units. Returned set is unmodifiable. 206 return unitPerUnitToSingleUnit.get(Pair.of(unit, perUnit)); 245 // load all of the units for English, since we know that that is a superset. 327 * Constant for unit of acceleration: g-force 333 * Constant for unit of acceleration: meter-per-second-squared 339 * Constant for unit of angle: arc-minute 345 * Constant for unit of angle: arc-second 351 * Constant for unit of angle: degree 357 * Constant for unit of angle: radia 1112 unitPerUnitToSingleUnit.put(Pair.<MeasureUnit, MeasureUnit>of(MeasureUnit.KILOMETER, MeasureUnit.HOUR), MeasureUnit.KILOMETER_PER_HOUR); method 1113 unitPerUnitToSingleUnit.put(Pair.<MeasureUnit, MeasureUnit>of(MeasureUnit.MILE, MeasureUnit.GALLON), MeasureUnit.MILE_PER_GALLON); method 1114 unitPerUnitToSingleUnit.put(Pair.<MeasureUnit, MeasureUnit>of(MeasureUnit.MILE, MeasureUnit.HOUR), MeasureUnit.MILE_PER_HOUR); method 1115 unitPerUnitToSingleUnit.put(Pair.<MeasureUnit, MeasureUnit>of(MeasureUnit.METER, MeasureUnit.SECOND), MeasureUnit.METER_PER_SECOND); method 1116 unitPerUnitToSingleUnit.put(Pair.<MeasureUnit, MeasureUnit>of(MeasureUnit.LITER, MeasureUnit.KILOMETER), MeasureUnit.LITER_PER_KILOMETER); method 1117 unitPerUnitToSingleUnit.put(Pair.<MeasureUnit, MeasureUnit>of(MeasureUnit.POUND, MeasureUnit.SQUARE_INCH), MeasureUnit.POUND_PER_SQUARE_INCH); method [all...] |
/external/javassist/src/main/javassist/ |
CtBehavior.java | 5 * The contents of this file are subject to the Mozilla Public License Version 7 * the License. Alternatively, the contents of this file may be used under 8 * the terms of the GNU Lesser General Public License Version 2.1 or later. 11 * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License 26 * It is the abstract super class of 124 * Obtains the modifiers of the method/constructor. 135 * Sets the encoded modifiers of the method/constructor. 145 methodInfo.setAccessFlags(AccessFlag.of(mod)); 192 * @return an array of annotation-type objects. 205 * @return an array of annotation-type objects [all...] |
/external/valgrind/VEX/priv/ |
guest_x86_helpers.c | 7 This file is part of Valgrind, a dynamic binary instrumentation 14 modify it under the terms of the GNU General Public License as 15 published by the Free Software Foundation; either version 2 of the 19 WITHOUT ANY WARRANTY; without even the implied warranty of 23 You should have received a copy of the GNU General Public License 30 Neither the names of the U.S. Department of Energy nor the 31 University of California nor the names of its contributors may be 51 These calls are of course in the host machine code and 647 UInt of,sf,zf,cf,pf; local 1969 UInt tempCOUNT = rot_amt & 0x1F, cf=0, of=0, tempcf; local 2024 UInt tempCOUNT = rot_amt & 0x1F, cf=0, of=0, tempcf; local [all...] |
/frameworks/base/core/java/android/os/ |
UserManager.java | 6 * You may obtain a copy of the License at 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 53 * Manages users and user details on a multi-user system. There are two major categories of 58 * {@link AccountManager}. Each user can have their own set of accounts. 174 * "Unknown Sources" setting, that allows installation of apps from unknown sources. 282 * primary user can reset the network settings of the device. 465 * created. This will block the creation of the following types of windows. 485 * Specifies if what is copied in the clipboard of this profile can 486 * be pasted in related profiles. Does not restrict if the clipboard of related profiles can b [all...] |
/frameworks/base/core/java/com/android/internal/widget/ |
LockPatternView.java | 6 * You may obtain a copy of the License at 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 60 * Displays and detects the user's unlock attempt, which is a drag of a finger 61 * across 9 regions of the screen. 63 * Is also capable of displaying a static pattern in "in progress", "wrong" or 68 private static final int ASPECT_SQUARE = 0; // View will be the minimum of width/height 69 private static final int ASPECT_LOCK_WIDTH = 1; // Fixed width; height will be minimum of (w,h) 70 private static final int ASPECT_LOCK_HEIGHT = 2; // Fixed height; width will be minimum of (w,h) 85 * How many milliseconds we spend animating each circle of a lock pattern 87 * constant * the length of the pattern to complete 184 public static Cell of(int row, int column) { method in class:LockPatternView.Cell [all...] |
/frameworks/base/services/core/java/com/android/server/hdmi/ |
HdmiCecLocalDevice.java | 6 * You may obtain a copy of the License at 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 49 // Normal actions timeout is 2s but some of them would have several sequence of timeout. 74 public static ActiveSource of(ActiveSource source) { method in class:HdmiCecLocalDevice.ActiveSource 77 public static ActiveSource of(int logical, int physical) { method in class:HdmiCecLocalDevice.ActiveSource 115 // Logical address of the active source. 119 // Active routing path. Physical address of the active source but not all the time, such as 128 // A collection of FeatureAction. 163 // Factory method that returns HdmiCecLocalDevice of corresponding type [all...] |
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/ |
BridgeContext.java | 6 * You may obtain a copy of the License at 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 109 * Custom implementation of Context/Activity to handle non compiled resources. 111 @SuppressWarnings("deprecation") // For use of Pair. 185 * @param targetSdkVersion the targetSdkVersion of the application. 299 * Removes the parser at the top of the stack 309 * Returns the current parser at the top the of the stack. 416 return Pair.of( 454 return Pair.of( 479 return Pair.of(null, Boolean.FALSE) [all...] |
/packages/apps/Camera2/src/com/android/camera/one/v2/ |
OneCameraImpl.java | 6 * You may obtain a copy of the License at 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 84 * {@link OneCamera} implementation directly on top of the Camera2 API for 155 /** Request that is part of a pre shot trigger. */ 215 // onCaptureCompleted(), so we take advantage of that. 262 /** Handler of the {@link #mCameraThread}. */ 264 /** The characteristics of this camera. */ 272 * The aspect ratio (width/height) of the full resolution for this camera. 273 * Usually the native aspect ratio of this camera. 281 * A queue of capture requests that have been requested but are not don [all...] |
OneCameraZslImpl.java | 5 * in compliance with the License. You may obtain a copy of the License at 10 * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express 87 * {@link OneCamera} implementation directly on top of the Camera2 API with zero 89 * TODO: Determine what the maximum number of full YUV capture frames is. 100 * The maximum number of images to store in the full-size ZSL ring buffer. 103 * size of frames. 146 /** Handler of the {@link #mCameraThread}. */ 153 /** The characteristics of this camera. */ 162 * The aspect ratio (width/height) of the full resolution for this camera. 163 * Usually the native aspect ratio of this camera [all...] |
/packages/apps/TV/src/com/android/tv/ui/ |
TvViewUiManager.java | 6 * You may obtain a copy of the License at 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 53 * The TvViewUiManager is responsible for handling UI layouting and animation of main and PIP 169 * Initializes animator in advance of using the animator to improve animation performance. 311 * Returns the current PIP layout. The layout should be one of 321 * Sets the PIP layout. The layout should be one of 394 * Returns the size of the PIP view. 403 * @param pipSize PIP size. The value should be one of {@link TvSettings#PIP_SIZE_BIG} 463 // In the 'else' case (TV activity is getting out of the shrunken tv view mode and will 537 * The redlines assume that the ratio of the TV screen is 16:9. If the radio is not 16:9, th [all...] |
/prebuilts/tools/common/api-generator/ |
api-generator-22.9.4.jar | |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/build/builders/ |
PreCompilerBuilder.java | 6 * You may obtain a copy of the License at 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 138 /** cache of the java package defined in the manifest */ 147 * Progress monitor used at the end of every build to refresh the content of the 'gen' folder 156 * Progress monitor waiting the end of the process to set a persistent value 243 // build() returns a list of project from which this project depends for future compilation. 327 // list of aidl files to compile/remove. 385 // one of the library projects this project depends on has changed 462 // lets check the XML of the manifest first, if that hasn't been done by th [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/refactoring/ |
RelativeLayoutConversionHelper.java | 6 * You may obtain a copy of the License at 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 92 * Helper class which performs the bulk of the layout conversion to relative layout 147 * Analyzes the given view hierarchy and produces a list of {@link View} objects which 175 // Create a complete list of view objects 201 /** Produces a list of {@link View} objects from an {@link EdgeList} */ 279 * Creates refactoring edits which adds or updates constraints for the given list of 303 // List of parent layout elements we've already processed. We iterate through all 337 * Returns the layout weight of of the given child of a LinearLayout, or 0.0 if i [all...] |