/frameworks/compile/slang/ |
H A D | RSSpec.mk | 17 RS_SPEC_GEN := $(BUILD_OUT_EXECUTABLES)/rs-spec-gen$(BUILD_EXECUTABLE_SUFFIX) 19 define generate-rs-spec-inc 32 $(call generate-rs-spec-inc,clang-builtin-enums) 38 $(call generate-rs-spec-inc,rs-data-type-enums) 44 $(call generate-rs-spec-inc,rs-matrix-type-enums) 50 $(call generate-rs-spec-inc,rs-object-type-enums) 56 $(call generate-rs-spec-inc,rs-data-element-enums)
|
/frameworks/base/keystore/java/android/security/ |
H A D | AndroidKeyPairGenerator.java | 36 import java.security.spec.AlgorithmParameterSpec; 37 import java.security.spec.DSAParameterSpec; 38 import java.security.spec.ECParameterSpec; 39 import java.security.spec.InvalidKeySpecException; 40 import java.security.spec.RSAKeyGenParameterSpec; 41 import java.security.spec.X509EncodedKeySpec; 169 private static byte[][] getArgsForKeyType(int keyType, AlgorithmParameterSpec spec) { argument 172 if (spec instanceof RSAKeyGenParameterSpec) { 173 RSAKeyGenParameterSpec rsaSpec = (RSAKeyGenParameterSpec) spec; 178 if (spec instanceo [all...] |
H A D | KeyPairGeneratorSpec.java | 28 import java.security.spec.AlgorithmParameterSpec; 29 import java.security.spec.DSAParameterSpec; 30 import java.security.spec.RSAKeyGenParameterSpec; 119 * @param spec the underlying key type parameters 130 AlgorithmParameterSpec spec, X500Principal subjectDN, BigInteger serialNumber, 152 checkCorrectParametersSpec(keyTypeInt, keySize, spec); 159 mSpec = spec; 200 AlgorithmParameterSpec spec) { 201 if (keyType == NativeCrypto.EVP_PKEY_DSA && spec != null) { 202 if (!(spec instanceo 129 KeyPairGeneratorSpec(Context context, String keyStoreAlias, String keyType, int keySize, AlgorithmParameterSpec spec, X500Principal subjectDN, BigInteger serialNumber, Date startDate, Date endDate, int flags) argument 199 checkCorrectParametersSpec(int keyType, int keySize, AlgorithmParameterSpec spec) argument 408 setAlgorithmParameterSpec(AlgorithmParameterSpec spec) argument [all...] |
/frameworks/ex/common/java/com/android/common/ |
H A D | OperationScheduler.java | 101 * @param spec describing some or all scheduler options. 106 public static Options parseOptions(String spec, Options options) argument 108 for (String param : spec.split(" +")) { 113 throw new IllegalArgumentException("bad value for backoff: [" + spec + "]");
|
/frameworks/av/media/libstagefright/codecs/aacenc/src/ |
H A D | quantize.c | 327 Word32 calcSfbDist(const Word32 *spec, argument 348 if (spec[line]) { 353 sa = L_abs(spec[line]); 398 if (spec[line]) { 403 sa = L_abs(spec[line]);
|
H A D | sf_estim.c | 116 /* calc sum of sqrt(spec) */ 144 static Word16 improveScf(Word32 *spec, argument 160 sfbDist = calcSfbDist(spec, sfbWidth, scf); 175 sfbDist = calcSfbDist(spec, sfbWidth, scf); 189 sfbDist = calcSfbDist(spec, sfbWidth, scf); 212 sfbDist = calcSfbDist(spec, sfbWidth, scf);
|
/frameworks/av/media/libstagefright/wifi-display/ |
H A D | VideoFormats.cpp | 306 bool VideoFormats::parseH264Codec(const char *spec) { argument 310 spec, 379 bool VideoFormats::parseFormatSpec(const char *spec) { argument 386 size_t size = strlen(spec); 389 if (sscanf(spec, "%02x %02x ", &native, &dummy) != 2) { 396 parseH264Codec(spec + offset); 457 // Support for the native format is a great idea, the spec includes
|
/frameworks/base/keystore/tests/src/android/security/ |
H A D | AndroidKeyPairGeneratorTest.java | 34 import java.security.spec.AlgorithmParameterSpec; 35 import java.security.spec.DSAParameterSpec; 36 import java.security.spec.RSAKeyGenParameterSpec; 300 AlgorithmParameterSpec spec = new DSAParameterSpec(p, q, g); 305 .setAlgorithmParameterSpec(spec) 315 assertKeyPairCorrect(pair, TEST_ALIAS_1, "DSA", 2048, spec, TEST_DN_1, TEST_SERIAL_1, NOW, 372 AlgorithmParameterSpec spec = new RSAKeyGenParameterSpec(1024, BigInteger.valueOf(3L)); 376 .setAlgorithmParameterSpec(spec) 386 assertKeyPairCorrect(pair, TEST_ALIAS_1, "RSA", 1024, spec, TEST_DN_1, TEST_SERIAL_1, NOW, 466 AlgorithmParameterSpec spec, X500Principa 465 assertKeyPairCorrect(KeyPair pair, String alias, String keyType, int keySize, AlgorithmParameterSpec spec, X500Principal dn, BigInteger serial, Date start, Date end) argument [all...] |
/frameworks/base/cmds/bootanimation/ |
H A D | BootAnimation.cpp | 546 struct timespec spec; local 547 spec.tv_sec = (now + delay) / 1000000000; 548 spec.tv_nsec = (now + delay) % 1000000000; 551 err = clock_nanosleep(CLOCK_MONOTONIC, TIMER_ABSTIME, &spec, NULL);
|
/frameworks/base/core/java/android/view/ |
H A D | AccessibilityInteractionController.java | 95 long interrogatingTid, MagnificationSpec spec) { 105 args.arg2 = spec; 129 final MagnificationSpec spec = (MagnificationSpec) args.arg2; 152 applyAppScaleAndMagnificationSpecIfNeeded(infos, spec); 153 if (spec != null) { 154 spec.recycle(); 166 int flags, int interrogatingPid, long interrogatingTid, MagnificationSpec spec) { 175 args.arg2 = spec; 200 final MagnificationSpec spec = (MagnificationSpec) args.arg2; 234 applyAppScaleAndMagnificationSpecIfNeeded(infos, spec); 92 findAccessibilityNodeInfoByAccessibilityIdClientThread( long accessibilityNodeId, int interactionId, IAccessibilityInteractionConnectionCallback callback, int flags, int interrogatingPid, long interrogatingTid, MagnificationSpec spec) argument 164 findAccessibilityNodeInfosByViewIdClientThread(long accessibilityNodeId, String viewId, int interactionId, IAccessibilityInteractionConnectionCallback callback, int flags, int interrogatingPid, long interrogatingTid, MagnificationSpec spec) argument 245 findAccessibilityNodeInfosByTextClientThread(long accessibilityNodeId, String text, int interactionId, IAccessibilityInteractionConnectionCallback callback, int flags, int interrogatingPid, long interrogatingTid, MagnificationSpec spec) argument 346 findFocusClientThread(long accessibilityNodeId, int focusType, int interactionId, IAccessibilityInteractionConnectionCallback callback, int flags, int interogatingPid, long interrogatingTid, MagnificationSpec spec) argument 456 focusSearchClientThread(long accessibilityNodeId, int direction, int interactionId, IAccessibilityInteractionConnectionCallback callback, int flags, int interogatingPid, long interrogatingTid, MagnificationSpec spec) argument 616 applyAppScaleAndMagnificationSpecIfNeeded(List<AccessibilityNodeInfo> infos, MagnificationSpec spec) argument 631 applyAppScaleAndMagnificationSpecIfNeeded(AccessibilityNodeInfo info, MagnificationSpec spec) argument 690 shouldApplyAppScaleAndMagnificationSpec(float appScale, MagnificationSpec spec) argument [all...] |
H A D | ViewGroup.java | 5140 * @param spec The requirements for this view 5147 public static int getChildMeasureSpec(int spec, int padding, int childDimension) { argument 5148 int specMode = MeasureSpec.getMode(spec); 5149 int specSize = MeasureSpec.getSize(spec);
|
H A D | ViewRootImpl.java | 2124 * Figures out the measure spec for the root view in a window based on it's 2134 * @return The measure spec to use to measure the root view. 6544 int interrogatingPid, long interrogatingTid, MagnificationSpec spec) { 6550 spec); 6585 int interrogatingPid, long interrogatingTid, MagnificationSpec spec) { 6591 interrogatingTid, spec); 6605 int interrogatingPid, long interrogatingTid, MagnificationSpec spec) { 6611 spec); 6625 int interrogatingPid, long interrogatingTid, MagnificationSpec spec) { 6630 flags, interrogatingPid, interrogatingTid, spec); 6542 findAccessibilityNodeInfoByAccessibilityId(long accessibilityNodeId, int interactionId, IAccessibilityInteractionConnectionCallback callback, int flags, int interrogatingPid, long interrogatingTid, MagnificationSpec spec) argument 6582 findAccessibilityNodeInfosByViewId(long accessibilityNodeId, String viewId, int interactionId, IAccessibilityInteractionConnectionCallback callback, int flags, int interrogatingPid, long interrogatingTid, MagnificationSpec spec) argument 6603 findAccessibilityNodeInfosByText(long accessibilityNodeId, String text, int interactionId, IAccessibilityInteractionConnectionCallback callback, int flags, int interrogatingPid, long interrogatingTid, MagnificationSpec spec) argument 6623 findFocus(long accessibilityNodeId, int focusType, int interactionId, IAccessibilityInteractionConnectionCallback callback, int flags, int interrogatingPid, long interrogatingTid, MagnificationSpec spec) argument 6642 focusSearch(long accessibilityNodeId, int direction, int interactionId, IAccessibilityInteractionConnectionCallback callback, int flags, int interrogatingPid, long interrogatingTid, MagnificationSpec spec) argument [all...] |
/frameworks/base/services/java/com/android/server/wm/ |
H A D | DisplayMagnifier.java | 96 public void setMagnificationSpecLocked(MagnificationSpec spec) { argument 97 mMagnifedViewport.updateMagnificationSpecLocked(spec); 217 MagnificationSpec spec = mMagnifedViewport.getMagnificationSpecLocked(); 218 if (spec != null && !spec.isNop()) { 229 return spec; 280 public void updateMagnificationSpecLocked(MagnificationSpec spec) { argument 281 if (spec != null) { 282 mMagnificationSpec.initialize(spec.scale, spec [all...] |
H A D | WindowManagerService.java | 3121 public void setMagnificationSpec(MagnificationSpec spec) { argument 3128 mDisplayMagnifier.setMagnificationSpecLocked(spec); 3134 spec.recycle(); 3149 MagnificationSpec spec = null; 3151 spec = mDisplayMagnifier.getMagnificationSpecForWindowLocked(windowState); 3153 if ((spec == null || spec.isNop()) && windowState.mGlobalScale == 1.0f) { 3156 spec = (spec == null) ? MagnificationSpec.obtain() : MagnificationSpec.obtain(spec); [all...] |
/frameworks/base/tools/layoutlib/bridge/src/android/view/ |
H A D | IWindowManagerImpl.java | 482 public void setMagnificationSpec(MagnificationSpec spec) { argument
|
/frameworks/base/libs/androidfw/ |
H A D | AssetManager.cpp | 465 char spec[9]; local 466 spec[0] = config.language[0]; 467 spec[1] = config.language[1]; 469 spec[2] = '_'; 470 spec[3] = config.country[0]; 471 spec[4] = config.country[1]; 472 spec[5] = 0; 474 spec[3] = 0; 476 setLocaleLocked(spec);
|
/frameworks/base/services/java/com/android/server/accessibility/ |
H A D | ScreenMagnifier.java | 235 MagnificationSpec spec = mMagnificationController.getMagnificationSpec(); 238 final float scale = spec.scale; 239 final float centerX = (-spec.offsetX + magnifiedFrame.width() / 2) / scale; 240 final float centerY = (-spec.offsetY + magnifiedFrame.height() / 2) / scale; 317 MagnificationSpec spec = mMagnificationController.getMagnificationSpec(); 319 rect.offset((int) -spec.offsetX, (int) -spec.offsetY); 320 rect.scale(1.0f / spec.scale); 1026 MagnificationSpec spec = mCurrentMagnificationSpec; 1027 final float oldScale = spec 1119 setMagnificationSpec(MagnificationSpec spec) argument [all...] |
/frameworks/base/services/java/com/android/server/pm/ |
H A D | Settings.java | 2861 static final void printFlags(PrintWriter pw, int val, Object[] spec) { argument 2863 for (int i=0; i<spec.length; i+=2) { 2864 int mask = (Integer)spec[i]; 2866 pw.print(spec[i+1]);
|
/frameworks/base/core/java/android/widget/ |
H A D | GridLayout.java | 68 * Each spec defines the set of rows or columns that are to be 661 Spec spec = horizontal ? p.columnSpec : p.rowSpec; 663 Interval span = spec.span; 685 Spec spec = horizontal ? lp.columnSpec : lp.rowSpec; 686 int index = leading ? spec.span.min : spec.span.max; 824 Spec spec = horizontal ? lp.columnSpec : lp.rowSpec; 825 Interval span = spec.span; 1013 Spec spec = horizontal ? lp.columnSpec : lp.rowSpec; 1014 if (spec 2266 include(GridLayout gl, View c, Spec spec, Axis axis) argument 2479 public static Spec spec(int start, int size, Alignment alignment) { method in class:GridLayout 2497 public static Spec spec(int start, Alignment alignment) { method in class:GridLayout 2514 public static Spec spec(int start, int size) { method in class:GridLayout 2530 public static Spec spec(int start) { method in class:GridLayout [all...] |
/frameworks/support/v7/gridlayout/src/android/support/v7/widget/ |
H A D | GridLayout.java | 69 * Each spec defines the set of rows or columns that are to be 657 Spec spec = horizontal ? p.columnSpec : p.rowSpec; 659 Interval span = spec.span; 685 Spec spec = horizontal ? lp.columnSpec : lp.rowSpec; 686 int index = leading ? spec.span.min : spec.span.max; 812 Spec spec = horizontal ? lp.columnSpec : lp.rowSpec; 813 Interval span = spec.span; 914 Spec spec = horizontal ? lp.columnSpec : lp.rowSpec; 915 if (spec 2149 include(GridLayout gl, View c, Spec spec, Axis axis) argument 2362 public static Spec spec(int start, int size, Alignment alignment) { method in class:GridLayout 2380 public static Spec spec(int start, Alignment alignment) { method in class:GridLayout 2397 public static Spec spec(int start, int size) { method in class:GridLayout 2413 public static Spec spec(int start) { method in class:GridLayout [all...] |